Fix linux personality syscall wrapper
[glibc.git] / ChangeLog
blob51a055c825f967dbbbd3feff32eafd2425de9e25
1 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
3         [BZ #19408]
4         * sysdeps/unix/sysv/linux/personality.c: New file.
5         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
7         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8         (sysdep_routines): Add personality.
9         (tests): Add tst-personality.
10         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
11         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
15         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
16         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17         Likewise.
18         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19         Likewise.
20         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
21         Likewise.
22         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
24         Likewise.
26 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
28         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
29         (PATH_ARM_SYSTYPE): Remove.
30         (PATH_CPUINFO): Likewise.
31         (IO_BASE_FOOTBRIDGE): Likewise.
32         (IO_SHIFT_FOOTBRIDGE): Likewise.
33         (struct platform): Likewise.
34         (init_iosys): Remove compatibility code for 2.4 kernels.
35         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
37 2015-12-29  Florian Weimer  <fweimer@redhat.com>
39         * malloc/tst-malloc-thread-fail.c: New file.
40         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
41         (tst-malloc-thread-fail): Link against libpthread.
43 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
45         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
46         (get_parser): New function.
47         (main): New function.
49 2015-12-29  Rob Wu  <rob@robwu.nl>
51         [BZ #19369]
52         * resolv/res_init.c (__res_vinit): Reset defdname before use.
54 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
56         [BZ #19270]
57         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
59 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
61         [BZ #15421]
62         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
64 2015-12-23  Torvald Riegel  <triegel@redhat.com>
66         [BZ #13690]
67         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
68         after releasing it.
69         (__lll_robust_unlock): Likewise.
70         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
71         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
72         (lll_robust_unlock): Likewise.
73         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
74         Prevent warnings in callers.
76 2015-12-23  Florian Weimer  <fweimer@redhat.com>
78         * malloc/arena.c (list_lock): Update comment.
80 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
82         * sysdeps/powerpc/hwcapinfo.c: Export symbol
83         __parse_hwcap_and_convert_at_platform to libc.a.
85 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
87         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
88         platform and feature support for POWER9.
89         * sysdeps/powerpc/dl-procinfo.h: Likewise.
90         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
91         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
92         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
93         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
94         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
95         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
96         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
98 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
100         Harmonize generic stdio-lock support with nptl
102         This fixes build when _IO_funlockfile is a macro, fixes build where
103         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
104         stack unwind.
106         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
107         _IO_release_lock ): Use cleanup attribute on new
108         _IO_acquire_lock_file variable instead of assuming that
109         _IO_release_lock will be called.
110         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
111         _IO_acquire_lock_needs_exceptions_enabled.
112         (_IO_acquire_lock_clear_flags2): New macro.
114 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
116         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
118 2015-12-21  Florian Weimer  <fweimer@redhat.com>
120         [BZ #19182]
121         * malloc/arena.c (list_lock): Document lock ordering requirements.
122         (free_list_lock): New lock.
123         (ptmalloc_lock_all): Comment on free_list_lock.
124         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
125         (detach_arena): Update comment.  free_list_lock is now needed.
126         (_int_new_arena): Use free_list_lock around detach_arena call.
127         Acquire arena lock after list_lock.  Add comment, including FIXME
128         about incorrect synchronization.
129         (get_free_list): Switch to free_list_lock.
130         (reused_arena): Acquire free_list_lock around detach_arena call
131         and attached threads counter update.  Add two FIXMEs about
132         incorrect synchronization.
133         (arena_thread_freeres): Switch to free_list_lock.
134         * malloc/malloc.c (struct malloc_state): Update comments to
135         mention free_list_lock.
137 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
139         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
140         Remove functions.
141         (sloww, sloww1): Accept argument to offset quadrant.
142         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
143         quadrant.
144         (__sin, __cos): Consolidate common code into new functions.
145         (reduce_sincos_1, do_sincos_1): New functions.
146         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
148         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
149         code to new functions.
150         (reduce_sincos_2, do_sincos_2): New functions.
151         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
153         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
154         common code for sincos.
155         (__cos) [!IN_SINCOS]: Likewise.
156         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
157         New function.
158         (__sincos): Use it.
160 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
162         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
163         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
164         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
166 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
168         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
171         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
172         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
173         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
174         index_Prefer_No_VZEROUPPER): New feature.
175         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
176         Prefer_No_VZEROUPPER for Knights Landing.
178 015-12-18  Torvald Riegel  <triegel@redhat.com>
180         * math/atest-exp2.c (mp_exp_m1): Remove.
182 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
184         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
185         syscalls.
186         (__SYSCALL0): New macro.
187         (__SYSCALL1): Likewise.
188         (__SYSCALL2): Likewise.
189         (__SYSCALL3): Likewise.
190         (__SYSCALL4): Likewise.
191         (__SYSCALL5): Likewise.
192         (__SYSCALL6): Likewise.
193         (__SYSCALL_CONCAT_X): Likewise.
194         (__SYSCALL_CONCAT): Likewise.
195         (__SYSCALL_DIST): Likewise.
196         (__SYSCALL_CALL): Likewise.
198 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
200         [BZ #19363]
201         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
203 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
205         [BZ #19375]
206         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
207         negative subnormals.
209 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
212         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
213         (INTERNAL_SYSCALL_NCS): Use it.
214         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
216 2015-12-16  Florian Weimer  <fweimer@redhat.com>
218         [BZ #19243]
219         * malloc/arena.c (get_free_list): Remove assert and adjust
220         reference count handling.  Add comment about reused_arena
221         interaction.
222         (reused_arena): Add comments abount get_free_list interaction.
223         * malloc/tst-malloc-thread-exit.c: New file.
224         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
225         (tst-malloc-thread-exit): Link against libpthread.
227 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
229         [BZ #19367]
230         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
231         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
232         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
233         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
234         (index_Prefer_MAP_32BIT_EXEC): Likewise.
236 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
238         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
239         Silvermont optimizations for Knights Landing.
241 2015-12-15  Andreas Schwab  <schwab@suse.de>
243         [BZ #17197]
244         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
245         immediately after emitting SI.
246         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
247         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
248         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
249         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
250         * iconvdata/bug-iconv10.c: New file.
251         * iconvdata/Makefile (tests): Add bug-iconv10.
252         ($(objpfx)bug-iconv10.out): New rule.
254 2015-12-15  Florian Weimer  <fweimer@redhat.com>
256         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
257         aliasing violation.
259 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
261         [BZ #18472]
262         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
263         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
264         conditionals for them.
265         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
266         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
267         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
268         sys/kdaemon.h.
269         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
270         compat-only syscall, obsoleted in glibc 2.23.
271         (create_module): Likewise.
272         (get_kernel_syms): Likewise.
273         (query_module): Likewise.
274         (uselib): Likewise.
275         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
277 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
279         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
280         <linux/version.h>.
281         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
282         conditional code.
283         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
284         and ioshift_name initialization.
286 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
288         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
289         Fix indentation.
291 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
293         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
295 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
297         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
299 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
300             Jakub Wilk  <jwilk@debian.org>
302         [BZ #19347]
303         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
304         to change the group of the device to the tty group.
306 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
308         Split large string section; add truncation advice
309         * manual/examples/strncat.c: Remove.
310         This example was misleading, as the code would have undefined
311         behavior if "hello" was longer than SIZE.  Anyway, the manual
312         shouldn't encourage strncpy+strncat for this sort of thing.
313         * manual/string.texi (Copying Strings and Arrays): Split into
314         three sections Copying Strings and Arrays, Concatenating Strings,
315         and Truncating Strings, as this section was way too long.  All
316         cross-referenced changed.  Add advice about string-truncation
317         functions.  Remove misleading strncat example.
319 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
321         * manual/nss.texi (NSS Modules Interface): Document
322         NSS_STATUS_NOTFOUND and SUCCESS.
324 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
326         [BZ 18568]
327         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
328         201505L, for Unicode 8.
330 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
332         * locale/C-translit.h: Regenerate.
334 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
336         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
337         and U+0153.
339 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
341         [BZ #19351]
342         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
343         expanding log(1+z), compare z rather than its square with epsilon
344         to determine when to avoid evaluating the expansion.
346         [BZ #19350]
347         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
348         Increase overflow threshold.
350         [BZ #19349]
351         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
352         when small.
354         * sysdeps/unix/sysv/linux/i386/kernel-features.h
355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
356         New macro.
357         [__LINUX_KERNEL_VERSION >= 0x040300]
358         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
360         Likewise.
361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
362         Likewise.
363         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
364         Likewise.
365         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
366         Likewise.
367         [__LINUX_KERNEL_VERSION >= 0x040300]
368         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
369         [__LINUX_KERNEL_VERSION >= 0x040300]
370         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
371         [__LINUX_KERNEL_VERSION >= 0x040300]
372         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
373         [__LINUX_KERNEL_VERSION >= 0x040300]
374         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
375         [__LINUX_KERNEL_VERSION >= 0x040300]
376         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
378         Likewise.
379         [__LINUX_KERNEL_VERSION >= 0x040300]
380         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
382         Likewise.
383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
384         Likewise.
385         [__LINUX_KERNEL_VERSION >= 0x040300]
386         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
387         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
388         Likewise.
389         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
390         Likewise.
391         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
393         Likewise.
394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
395         Likewise.
396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
397         Likewise.
398         [__LINUX_KERNEL_VERSION >= 0x040300]
399         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
400         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
401         Likewise.
402         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
403         Likewise.
404         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
405         Likewise.
406         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
407         Likewise.
408         [__LINUX_KERNEL_VERSION >= 0x040300]
409         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
410         [__LINUX_KERNEL_VERSION >= 0x040300]
411         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
412         [__LINUX_KERNEL_VERSION >= 0x040300]
413         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
414         [__LINUX_KERNEL_VERSION >= 0x040300]
415         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
416         [__LINUX_KERNEL_VERSION >= 0x040300]
417         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
418         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
419         Likewise.
420         [__LINUX_KERNEL_VERSION >= 0x040300]
421         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
422         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
423         Likewise.
424         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
425         Likewise.
426         [__LINUX_KERNEL_VERSION >= 0x040300]
427         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
428         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
429         Likewise.
430         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
431         Likewise.
432         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
433         (__ASSUME_SOCKET_SYSCALL): Likewise.
434         (__ASSUME_BIND_SYSCALL): Likewise.
435         (__ASSUME_CONNECT_SYSCALL): Likewise.
436         (__ASSUME_LISTEN_SYSCALL): Likewise.
437         (__ASSUME_ACCEPT_SYSCALL): Likewise.
438         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
439         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
440         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
441         (__ASSUME_SEND_SYSCALL): Likewise.
442         (__ASSUME_SENDTO_SYSCALL): Likewise.
443         (__ASSUME_RECV_SYSCALL): Likewise.
444         (__ASSUME_RECVFROM_SYSCALL): Likewise.
445         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
446         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
447         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
448         (__ASSUME_SENDMSG_SYSCALL): Likewise.
449         (__ASSUME_RECVMSG_SYSCALL): Likewise.
450         * sysdeps/unix/sysv/linux/sh/kernel-features.h
451         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
452         Likewise.
453         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
454         Likewise.
455         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
456         Likewise.
457         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
458         Likewise.
459         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
460         Likewise.
461         [__LINUX_KERNEL_VERSION >= 0x020625]
462         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
463         [__LINUX_KERNEL_VERSION >= 0x020625]
464         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
465         [__LINUX_KERNEL_VERSION >= 0x020625]
466         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
467         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
468         Likewise.
469         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
470         Likewise.
471         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
472         Likewise.
473         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
474         Likewise.
475         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
476         Likewise.
477         [__LINUX_KERNEL_VERSION >= 0x020625]
478         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
479         [__LINUX_KERNEL_VERSION >= 0x020625]
480         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
481         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
482         Likewise.
483         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
484         Likewise.
486 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
488         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
489         record the current if the current ABI and CPU support the FP64
490         extension.
491         (has-modd-spreg): Define to record the current if the current ABI and
492         CPU support 32-bit floating point values in odd FPU registers.
493         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
494         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
495         $(has-modd-spreg) equals yes.
496         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
497         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
498         $(has-modd-spreg) equal yes.
500 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
502         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
503         basename.
505 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
507         * benchtests/Makefile (bench-math): Move ffs and ffsll...
508         (bench-string): ... here.
509         (bench): Add bench-string.
510         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
511         to *-benchset to reflect what they are.
512         (benchset): Adjust.
514         * benchtests/sincos-inputs: Add inputs from sin-inputs and
515         cos-inputs.
517 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
519         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
520         __attribute__ ((__simd__)) for vector math function declarations.
522 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
524         Fix typo in strncat, wcsncat manual entries
525         * manual/string.texi (Copying and Concatenation): Fix typos in
526         sample implementations of strncat and wcsncat, by having them use
527         the old value of the destination length, not the new one.
529 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
531         [BZ #16961]
532         [BZ #16962]
533         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
534         string on the stack for strtod.
535         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
536         a string on the stack for strtof.
537         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
538         constructing a string on the stack for strtold.
539         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
540         __strtold_nan to GLIBC_PRIVATE.
541         * math/test-nan-overflow.c: New file.
542         * math/test-nan-payload.c: Likewise.
543         * math/Makefile (tests): Add test-nan-overflow and
544         test-nan-payload.
546 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
548         Consistency about byte vs character in string.texi
549         * manual/string.texi (String and Array Utilities):
550         Distinguish more carefully among bytes, multibyte characters,
551         and wide characters.  Use "byte" when talking about C 'char',
552         to distinguish it more clearly from multibyte characters.
553         Say "wide character" or "multibyte character" instead of
554         "character", when a wide or multibyte character is intended.
555         Similarly for "multibyte string" versus "string".
556         Define these terms more carefully.
558 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
560         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
561         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
562         Likewise.
563         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
564         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
565         * sysdeps/sh/math_private.h: New file.
566         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
567         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
568         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
569         long double function name.
570         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
571         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
572         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
573         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
574         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
576         Remove __finitel, __isinfl, and __isnanl.
577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
578         Likewise.
579         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
581         Remove __finitel.
582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
583         Likewise.
584         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
586 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
588         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
589         installed libmvec_nonshared.a.
591 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
593         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
594         (sysdep_routines): Likewise.
595         (sysdep-rtld-routines): Likewise.
596         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
597         [$(subdir) = nptl](tests-static): test-get_hwcap-static
598         * sysdeps/powerpc/Versions: Added new
599         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
600         * sysdeps/powerpc/hwcapinfo.c: New file.
601         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
602         and parse hwcap, hwcap2 and platform number information.
603         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
604         to store HWCAP+HWCAP2 and platform number.
605         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
606         for HWCAP+HWCAP2 and platform number in the TCB.
607         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
608         the HWCAP, HWCAP2 and platform number in the TCB.
609         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
610         (TLS_INIT_TP): Included calls to add the hwcap and
611         at_platform values in the TCB in TP initialization.
612         (TLS_DEFINE_INIT_TP): Likewise.
613         (THREAD_GET_HWCAP): New macro.
614         (THREAD_SET_HWCAP): Likewise.
615         (THREAD_GET_AT_PLATFORM): Likewise.
616         (THREAD_SET_AT_PLATFORM): Likewise.
617         * sysdeps/powerpc/powerpc32/dl-machine.h:
618         (dl_platform_init): New function that calls
619         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
620         powerpc32.
621         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
622         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
623         this functionality, static linking case.
624         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
625         linking case.
626         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
627         __parse_hwcap_and_convert_at_platform for the static linking case.
628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
629         Included the new __parse_hwcap_and_convert_at_platform symbol in the
630         ABI list for GLIBC 2.23.
631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
632         Likewise.
633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
634         Likewise.
636 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
638         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
639         * configure: Regenerate.
640         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
641         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
643 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
645         * iconvdata/ibm930.c: Add comment explaining encoding uses.
646         * iconvdata/ibm933.c: Likewise.
647         * iconvdata/ibm935.c: Likewise.
648         * iconvdata/ibm937.c: Likewise.
649         * iconvdata/ibm939.c: Likewise.
651 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
653         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
654         pthread_join.
655         * nptl/tst-cancel21.c (tf): Likewise.
657 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
659         [BZ #19313]
660         * bits/typesizes.h (__CPU_MASK_TYPE): New.
661         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
662         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
663         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
664         Likewise.
665         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
666         Likewise.
667         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
668         Likewise.
669         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
670         Likewise.
671         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
672         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
673         unsigned long int with __CPU_MASK_TYPE.
675 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
677         * sysdeps/aarch64/libm-test-ulps: Regenerated.
679 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
681         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
682         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
683         t512.x.
684         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
686 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
688         [BZ #19214]
689         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
690         argument to return extended model.  Update family and model
691         with extended family and model when family == 0x0f.
692         (init_cpu_features): Updated.
694 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
696         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
697         signed off_t, so 32bit bigger than 2GiB values are fine actually.
699         * sysdeps/mach/hurd/mmap64.c: New file.
701 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
703         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
704         rights for its main user thread in NEWTASK.
706 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
708         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
709         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
711 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
713         [BZ #14259]
714         * Makeconfig: Rename localedir to complocaledir.
715         Rename inst_localedir to inst_complocaledir.
716         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
717         * config.make.in: Use complocaledir and libc_cv_complocaledir.
718         * configure.ac: Use libc_cv_complocaledir.
719         * configure: Regenerate.
720         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
721         -DCOMPLOCALEDIR.
722         * locale/findlocale.c: Use COMPLOCALEDIR.
723         * locale/loadarchive.c: Likewise.
724         * locale/programs/locale.c: Likewise.
725         * locale/programs/localedef.c: Likewise.
726         * locale/programs/locarchive.c: Likewise.
727         * localedata/Makefile: Use inst_complocaledir.
728         * sysdeps/gnu/configure: Regenerate.
729         * sysdeps/hppa/configure: Regenerate.
730         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
731         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
733         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
734         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
735         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
736         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
738 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
740         [BZ #19058]
741         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
742         AS_NEEDED.
743         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
744         workaround.
745         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
746         libmvec-static-only-routines): Added new file.
747         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
749 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
751         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
752         of interrupted RPC instead of restoring it.
754         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
755         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
756         libc_hidden_def.
757         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
758         into initialized data instead of common. Define rtld_hidden_data_def.
759         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
760         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
761         libc_hidden_def.
762         (if_freenameindex): Add libc_hidden_weak.
763         (if_nameindex): Add libc_hidden_weak.
764         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
765         __open64.
766         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
767         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
768         * sysdeps/mach/nanosleep.c: Include <time.h>
769         (__nanosleep): Rename to __libc_nanosleep.
770         (__nanosleep): Add weak_alias.
771         (nanosleep): Update alias.
773 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
775         * stdlib/strtod_nan.c: New file.
776         * stdlib/strtod_nan_double.h: Likewise.
777         * stdlib/strtod_nan_float.h: Likewise.
778         * stdlib/strtod_nan_main.c: Likewise.
779         * stdlib/strtod_nan_narrow.h: Likewise.
780         * stdlib/strtod_nan_wide.h: Likewise.
781         * stdlib/strtof_nan.c: Likewise.
782         * stdlib/strtold_nan.c: Likewise.
783         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
784         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
785         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
786         * wcsmbs/wcstod_nan.c: Likewise.
787         * wcsmbs/wcstof_nan.c: Likewise.
788         * wcsmbs/wcstold_nan.c: Likewise.
789         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
790         strtold_nan.
791         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
792         wcstof_nan.
793         * include/stdlib.h (__strtof_nan): Declare and use
794         libc_hidden_proto.
795         (__strtod_nan): Likewise.
796         (__strtold_nan): Likewise.
797         (__wcstof_nan): Likewise.
798         (__wcstod_nan): Likewise.
799         (__wcstold_nan): Likewise.
800         * include/wchar.h (____wcstoull_l_internal): Declare.
801         * stdlib/strtod_l.c: Do not include <ieee754.h>.
802         (____strtoull_l_internal): Remove declaration.
803         (STRTOF_NAN): Define macro.
804         (SET_MANTISSA): Remove macro.
805         (STRTOULL): Likewise.
806         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
807         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
808         (STRTOF_NAN): Define macro.
809         (SET_MANTISSA): Remove macro.
810         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
811         (SET_MANTISSA): Remove macro.
812         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
813         macro.
814         (SET_MANTISSA): Remove macro.
815         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
816         macro.
817         (SET_MANTISSA): Remove macro.
818         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
819         (SET_MANTISSA): Remove macro.
820         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
821         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
822         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
824         [BZ #19266]
825         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
826         upper case and lower case letters inside NAN(), not using TOLOWER.
827         * stdlib/tst-strtod-nan-locale-main.c: New file.
828         * stdlib/tst-strtod-nan-locale.c: Likewise.
829         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
830         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
831         Depend on $(gen-locales).
832         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
833         * wcsmbs/tst-wcstod-nan-locale.c: New file.
834         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
835         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
836         Depend on $(gen-locales).
837         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
839 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
841         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
843         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
845         __finitel, __isinfl, and __isnanl.
846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
847         Likewise.
848         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
850         __finitel.
851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
852         Likewise.
853         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
855 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
857         * malloc/memusage.c (me): Remove redundant getenv call.
859 2015-10-24  Florian Weimer  <fweimer@redhat.com>
861         [BZ #19143]
862         [BZ #19164]
863         * nptl/check-cpuset.h: Remove.
864         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
865         Remove CPU set size check.
866         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
867         Likewise.
868         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
869         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
870         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
871         (__pthread_setaffinity_new): Remove CPU set size check.
872         * sysdeps/unix/sysv/linux/sched_setaffinity.c
873         (__kernel_cpumask_size): Remove.
874         (__sched_setaffinity_new): Remove CPU set size check.
875         * manual/threads.texi (Default Thread Attributes): Remove stale
876         reference to check_cpuset_attr, determine_cpumask_size in comment.
877         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
878         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
879         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
880         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
881         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
882         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
883         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
884         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
885         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
886         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
887         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
888         skeleton test file.
889         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
890         tst-affinity-pid.
892 2015-11-24  Florian Weimer  <fweimer@redhat.com>
894         * scripts/update-abilist.sh: New file.
895         * Makefile (+subdir_targets): Add subdir_update-all-abi.
896         * Makerules (update-all-abi-%, update-all-abi)
897         (subdir_update-all-abi): New targets.
898         * elf/Makefile (update-all-abi): New target.
900 2015-11-24  Florian Weimer  <fweimer@redhat.com>
902         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
903         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
904         (__libc_lock_define_initialized): Use it.
905         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
906         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
907         * malloc/malloc.c (main_arena): Likewise.
908         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
909         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
911 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
913         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
914         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
915         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
916         (PTRACE_O_MASK): Update value.
917         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
918         New value in enum __ptrace_setoptions.
919         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
920         (PTRACE_O_MASK): Update value.
921         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
922         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
923         (PTRACE_O_MASK): Update value.
924         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
925         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
926         (PTRACE_O_MASK): Update value.
927         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
928         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
929         (PTRACE_O_MASK): Update value.
930         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
931         New value in enum __ptrace_setoptions.
932         (PTRACE_O_MASK): Update value.
933         * sysdeps/unix/sysv/linux/tile/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.
938         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
939         New macro.
940         (PACKET_AUXDATA): Likewise.
941         (PACKET_ORIGDEV): Likewise.
942         (PACKET_VERSION): Likewise.
943         (PACKET_HDRLEN): Likewise.
944         (PACKET_RESERVE): Likewise.
945         (PACKET_TX_RING): Likewise.
946         (PACKET_LOSS): Likewise.
947         (PACKET_VNET_HDR): Likewise.
948         (PACKET_TX_TIMESTAMP): Likewise.
949         (PACKET_TIMESTAMP): Likewise.
950         (PACKET_FANOUT): Likewise.
951         (PACKET_TX_HAS_OFF): Likewise.
952         (PACKET_QDISC_BYPASS): Likewise.
953         (PACKET_ROLLOVER_STATS): Likewise.
954         (PACKET_FANOUT_DATA): Likewise.
955         (PACKET_MR_UNICAST): Likewise.
957         [BZ #19242]
958         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
959         (TOUPPER): Likewise.
960         * stdlib/tst-strtol-locale-main.c: New file.
961         * stdlib/tst-strtol-locale.c: Likewise.
962         * stdlib/Makefile (tests): Add tst-strtol-locale.
963         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
964         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
965         Depend on $(gen-locales).
966         * wcsmbs/tst-wcstol-locale.c: New file.
967         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
968         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
969         tr_TR.ISO-8859-9.
970         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
971         Depend on $(gen-locales).
973 2015-11-20  Roland McGrath  <roland@hack.frob.com>
975         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
976         __glibc_likely instead of __builtin_expect.  After falling back to
977         dyncode_create in a non-ET_DYN case, use the allocate_code_data
978         system interface to register the code pages as occupied.
980 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
982         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
983         [!ARM_MATH_PRIVATE_H].
984         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
985         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
986         [!HPPA_MATH_PRIVATE_H].
987         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
988         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
989         to [!I386_MATH_PRIVATE_H].
990         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
991         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
992         Change guard to [!M68K_MATH_PRIVATE_H].
993         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
994         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
995         guard to [!MICROBLAZE_MATH_PRIVATE_H].
996         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
997         macro.
998         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
999         [!MIPS_MATH_PRIVATE_H].
1000         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1001         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1002         [!NIO2_MATH_PRIVATE_H].
1003         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1004         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1005         [!TILE_MATH_PRIVATE_H].
1006         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1008         [BZ #15421]
1009         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1010         initialize with 0 and define as weak alias of __signgam.
1011         * include/math.h [!_ISOMAC] (__signgam): Declare.
1012         * math/Makefile (libm-calls): Add w_lgamma_compat.
1013         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1014         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1015         test-signgam-ullong-init.
1016         (tests-static): Add test-signgam-uchar-static,
1017         test-signgam-uchar-init-static, test-signgam-uint-static,
1018         test-signgam-uint-init-static, test-signgam-ullong-static and
1019         test-signgam-ullong-init-static.
1020         (CFLAGS-test-signgam-uchar.c): New variable.
1021         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1022         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1023         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1024         (CFLAGS-test-signgam-uint.c): Likewise.
1025         (CFLAGS-test-signgam-uint-init.c): Likewise.
1026         (CFLAGS-test-signgam-uint-static.c): Likewise.
1027         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1028         (CFLAGS-test-signgam-ullong.c): Likewise.
1029         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1030         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1031         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1032         * math/Versions (libm): Add GLIBC_2.23.
1033         * math/lgamma-compat.h: New file.
1034         * math/test-signgam-main.c: Likewise.
1035         * math/test-signgam-uchar-init-static.c: Likewise.
1036         * math/test-signgam-uchar-init.c: Likewise.
1037         * math/test-signgam-uchar-static.c: Likewise.
1038         * math/test-signgam-uchar.c: Likewise.
1039         * math/test-signgam-uint-init-static.c: Likewise.
1040         * math/test-signgam-uint-init.c: Likewise.
1041         * math/test-signgam-uint-static.c: Likewise.
1042         * math/test-signgam-uint.c: Likewise.
1043         * math/test-signgam-ullong-init-static.c: Likewise.
1044         * math/test-signgam-ullong-init.c: Likewise.
1045         * math/test-signgam-ullong-static.c: Likewise.
1046         * math/test-signgam-ullong.c: Likewise.
1047         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1048         wrapper of w_lgamma_main.c.
1049         * math/w_lgamma_compat.c: New file.
1050         * math/w_lgamma_compatf.c: Likewise.
1051         * math/w_lgamma_compatl.c: Likewise.
1052         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1053         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1054         defining compatibility symbols.
1055         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1056         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1057         wrapper of w_lgammaf_main.c.
1058         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1059         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1060         defining compatibility symbols.
1061         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1062         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1063         wrapper of w_lgammal_main.c.
1064         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1065         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1066         defining compatibility symbols.
1067         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1068         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1069         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1070         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1071         <lgamma-compat.h>.
1072         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1073         (__ieee754_gamma): Define as alias.
1074         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1075         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1076         <lgamma-compat.h>.
1077         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1078         (__ieee754_gammaf): Define as alias.
1079         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1080         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1081         <lgamma-compat.h>.
1082         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1083         (__ieee754_gammal): Define as alias.
1084         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1085         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1086         <math/w_lgamma_compat.c>.
1087         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1088         Define as alias of __lgamma_compat and use in defining lgammal.
1089         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1090         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1091         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1092         (USE_AS_COMPAT): New macro.
1093         (LGAMMA_OLD_VER): Undefine and redefine.
1094         (lgammal): Do not define here.
1095         (gammal): Only define here if [GAMMA_ALIAS].
1096         * conform/linknamespace.pl (@whitelist): Remove signgam.
1097         * sysdeps/nacl/libm.abilist: Update.
1098         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1099         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1100         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1101         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1102         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1103         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1104         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1105         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1106         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1107         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1108         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1109         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1111         Likewise.
1112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1113         Likewise.
1114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1115         Likewise.
1116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1117         Likewise.
1118         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1119         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1120         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1121         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1122         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1124         Likewise.
1125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1126         Likewise.
1127         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1128         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1129         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1131 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1133         [BZ #16364]
1134         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1135         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1137 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1139         * sysdeps/s390/fpu/bits/mathinline.h:
1140         Use __asm__ [__volatile__] instead of asm [volatile].
1141         * sysdeps/s390/abort-instr.h: Likewise.
1142         * sysdeps/s390/atomic-machine.h: Likewise.
1143         * sysdeps/s390/bits/string.h: Likewise.
1144         * sysdeps/s390/dl-tls.h: Likewise.
1145         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1146         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1147         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1148         * sysdeps/s390/fpu/fesetround.c: Likewise.
1149         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1150         * sysdeps/s390/fpu/s_fma.c: Likewise.
1151         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1152         * sysdeps/s390/memusage.h: Likewise.
1153         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1154         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1155         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1156         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1157         * sysdeps/s390/nptl/tls.h: Likewise.
1158         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1159         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1160         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1161         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1162         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1163         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1164         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1165         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1166         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1167         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1168         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1169         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1170         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1171         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1172         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1173         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1174         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1175         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1176         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1178         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1179         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1180         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1182 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1183             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1185         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1186         Add lwarx hint, and use macro for acquire instruction.
1187         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1188         Likewise.
1189         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1190         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1191         update to use new atomic macros.
1193 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1195         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1196         (__lll_trylock_elision): Fix setting of adapt_count.
1197         * sysdeps/unix/sysv/linux/powerpc/htm.h
1198         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1199         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1200         (_ABORT_SYSCALL): Renumber, and clarify definition.
1201         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1203 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1205         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1206         after system headers to prevent MIN/MAX redefinition.  Define
1207         HAVE_ALLOCA to preserve builtin alloca usage.
1209 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1211         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1212         static and don't set or restore rounding.
1213         (__cos)[IN_SINCOS]: Likewise.
1214         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1215         (__sincos): Set and restore rounding mode.  Remove check for infinite
1216         or NaN input.
1218         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1220         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1221         as used.
1223 2015-11-16  Florian Weimer  <fweimer@redhat.com>
1225         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1227 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1229         * config.make.in (have-glob-dat-reloc): New.
1230         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
1231         target supports GLOB_DAT relocaton. AC_SUBST.
1232         * configure: Regenerated.
1233         * elf/Makefile (tests): Add tst-prelink.
1234         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1235         (tst-prelink-ENV): New.
1236         ($(objpfx)tst-prelink-conflict.out): Likewise.
1237         ($(objpfx)tst-prelink-cmp.out): Likewise.
1238         * sysdeps/x86/tst-prelink.c: Moved to ...
1239         * elf/tst-prelink.c: Here.
1240         * sysdeps/x86/tst-prelink.exp: Moved to ...
1241         * elf/tst-prelink.exp: Here.
1242         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1243         (tst-prelink-ENV): Removed.
1244         ($(objpfx)tst-prelink-conflict.out): Likewise.
1245         ($(objpfx)tst-prelink-cmp.out): Likewise.
1246         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1248 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
1250         [BZ #14551]
1251         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1252         (__mpn_construct_long_double): If high part overflows to infinity,
1253         set errno and recompute overflowed result of the correct sign.
1254         * sysdeps/ieee754/ldbl-128ibm/Makefile
1255         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1256         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1257         $(libm).
1258         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1260 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
1262         [BZ #15479]
1263         [BZ #19238]
1264         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1265         floating-point state after first operation on input.  Restore full
1266         state rather than just rounding mode.
1267         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1268         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1269         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1271         [BZ #19235]
1272         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1273         add 0.5 to integer arguments.
1274         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1275         Likewise.
1276         (.LC2): New object.
1278 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
1280         * scripts/pylintrc (reports): Set to no.
1282 2015-11-10  Roland McGrath  <roland@hack.frob.com>
1284         * elf/dl-load.c (open_verify): Take new argument FD.
1285         Skip __open call if passed FD is not -1.
1286         (_dl_map_object, open_path): Update callers.
1287         * elf/dl-sysdep-open.h: New file.
1288         * elf/dl-load.c: Include it.
1289         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1290         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1291         * sysdeps/nacl/dl-sysdep-open.h: New file.
1292         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1293         from libc to rtld.
1295 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1297         [BZ #19228]
1298         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1299         and restore full floating-point state.
1300         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1301         Likewise.
1302         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1303         Likewise.
1304         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1305         Likewise.
1306         * math/test-nearbyint-except-2.c: New file.
1307         * math/Makefile (tests): Add test-nearbyint-except-2.
1309 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
1311         [BZ #19178]
1312         * sysdeps/x86/Makefile (tests): Add tst-prelink.
1313         (tst-prelink-ENV): New.
1314         ($(objpfx)tst-prelink-conflict.out): Likewise.
1315         ($(objpfx)tst-prelink-cmp.out): Likewise.
1316         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1317         * sysdeps/x86/tst-prelink.c: New file.
1318         * sysdeps/x86/tst-prelink.exp: Likewise.
1320 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1322         * math/auto-libm-test-in: Add another test of pow.
1323         * math/auto-libm-test-out: Regenerated.
1324         * math/libm-test.inc (pow_test_data): Add another test.
1326 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1328         [BZ #19219]
1329         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1330         weak_alias to nearbyintl.
1332 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1334         * sysdeps/aarch64/bits/string.h: New file.
1335         (_STRING_ARCH_unaligned): Define.
1337 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1339         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1340         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1341         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1342         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1345 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
1347         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1348         for original name of the DSO.  Add it to the name list of the DSO
1349         if it is actually given.
1350         (_dl_map_object): Keep track of whether an audit module rewrote
1351         the file name.  If yes, pass the original name to
1352         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
1353         debugging is enabled, log the change of the file name.
1354         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1355         _dl_map_object_from_fd.
1356         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1357         * elf/tst-audit11.c: New file
1358         * elf/tst-auditmod11.c: New file.
1359         * elf/tst-audit11mod1.c: New file.
1360         * elf/tst-audit11mod2.c: New file.
1361         * elf/tst-audit11mod2.map: New file.
1362         * elf/tst-audit12.c: New file
1363         * elf/tst-auditmod12.c: New file.
1364         * elf/tst-audit12mod1.c: New file.
1365         * elf/tst-audit12mod2.c: New file.
1366         * elf/tst-audit12mod2.map: New file.
1367         * elf/tst-audit12mod3.c: New file.
1369 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1371         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1372         Don't create weak aliases,
1373         because versioned symbols are created later.
1374         * sysdeps/s390/s390-32/setjmp.S
1375         (setjmp, _setjmp): Remove weak and rename to an unique name
1376         in SHARED case due to existing versioned symbols.
1377         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1378         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1379         (getcontext): Create weak alias only in non SHARED case.
1380         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1382 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1384         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1385         (__ASSUME_*_SYSCALL) Define new macros.
1386         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1387         Remove socketcall syscalls.
1388         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1389         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1390         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1391         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1392         * sysdeps/unix/sysv/linux/send.c (__libc_send):
1393         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1395 2015-11-09  Florian Weimer  <fweimer@redhat.com>
1397         [BZ #12926]
1398         Terminate process on invalid netlink response.
1399         * sysdeps/unix/sysv/linux/netlinkaccess.h
1400         (__netlink_assert_response): Declare.
1401         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1402         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1403         (sysdep_routines): Add netlink_assert_response.
1404         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1405         __netlink_assert_response.
1406         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1407         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1408         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1409         __netlink_assert_response.
1411 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1413         [BZ #19178]
1414         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1415         (RTYPE_CLASS_PLT): Likewise.
1416         (RTYPE_CLASS_COPY): Likewise.
1417         (RTYPE_CLASS_TLS): Likewise.
1418         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1419         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
1420         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1421         DL_DEBUG_PRELINK.
1423 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
1425         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1426         calls with argument -0.5.
1427         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1429         * configure.ac (libc_cv_z_nodelete): Remove configure test.
1430         (libc_cv_z_nodlopen): Likewise.
1431         (libc_cv_z_initfirst): Likewise.
1432         * configure: Regenerated.
1434 2015-11-06  Florian Weimer  <fweimer@redhat.com>
1436         Simplify abilist format to be line-based.
1437         * scripts/abilist.awk: Collect descriptors in the descs variable.
1438         (emit): Write descs variable and sort it
1439         externally, with sort.
1440         * sysdeps/**/*.abilist: Convert to new format.
1442 2015-11-06  Mark Wielaard  <mjw@redhat.com>
1444         [BZ #11460]
1445         * io/Makefile (routines): Add fts64.
1446         (tests): Add tst-fts and tst-fts-lfs.
1447         (CFLAGS-fts64.c): New.
1448         * io/Versions (GLIBC_2.23): New.
1449         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1450         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1451         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1452         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1453         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1454         (FTSENT64): Likewise.
1455         (fts64_children): Likewise.
1456         (fts64_close): Likewise.
1457         (fts64_open): Likewise.
1458         (fts64_read): Likewise.
1459         (fts64_set): Likewise.
1460         * io/fts64.c: New file.
1461         * io/tst-fts.c: New test.
1462         * io/tst-fts-lfs.c: Likewise.
1463         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1464         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1465         fts64_set.
1466         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1467         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1468         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1469         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1470         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1471         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1472         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1473         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1474         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1475         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1476         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1477         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1478         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1480         Likewise.
1481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1482         Likewise.
1483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1489         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1492         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1493         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1494         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1495         * sysdeps/wordsize-64/fts.c: New file.
1496         * sysdeps/wordsize-64/fts64.c: Likewise.
1497         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1498         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1499         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1500         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1502 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1504         * math/libm-test.inc (NON_FINITE): New macro.
1505         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1506         * math/gen-libm-test.pl (show_exceptions): Add argument
1507         $non_finite.
1508         (parse_args): Update call to show_exceptions.
1509         * math/test-math-finite.h: New file.
1510         * math/test-math-no-finite.h: Likewise.
1511         * math/test-double-finite.c: Likewise.
1512         * math/test-float-finite.c: Likewise.
1513         * math/test-ldouble-finite.c: Likewise.
1514         * math/test-double.c: Include "test-math-no-finite.h".
1515         * math/test-float.c: Include "test-math-no-finite.h".
1516         * math/test-ldouble.c: Include "test-math-no-finite.h".
1517         * math/test-math-inline.h (TEST_FINITE): New macro.
1518         * math/test-math-vector.h (TEST_FINITE): Likewise.
1519         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
1520         (libm-tests): Add test-float-finite and test-double-finite.
1521         ($(objpfx)test-float-finite.o): New dependency on
1522         $(objpfx)libm-test.stmp.
1523         ($(objpfx)test-double-finite.o): Likewise.
1524         ($(objpfx)test-ldouble-finite.o): Likewise.
1525         (libm-test-no-inline-cflags): New variable.
1526         (libm-test-finite-cflags): Likewise.
1527         (CFLAGS-test-float-finite.c): Likewise.
1528         (CFLAGS-test-double-finite.c): Likewise.
1529         (CFLAGS-test-ldouble-finite.c): Likewise.
1530         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
1531         (CFLAGS-test-double.c): Likewise.
1532         (CFLAGS-test-ldouble.c): Likewise.
1534 2015-11-05  Roland McGrath  <roland@hack.frob.com>
1536         * io/fcntl.c (__fcntl): Add ... to prototype.
1537         * misc/ioctl.c (__ioctl): Likewise.
1538         * misc/syscall.c (syscall): Likewise.
1540 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1542         * scripts/list-fixed-bugs.py: New file.
1544         [BZ #19213]
1545         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
1546         returned for argument 1.
1547         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
1548         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
1549         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
1550         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
1551         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
1552         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
1554         [BZ #19211]
1555         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
1556         __USE_XOPEN], not if [!__USE_ISOC99].
1557         (lgammaf): Likewise.
1558         (lgammal): Likewise.
1559         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
1560         (gammaf): Likewise.
1561         (gammal): Likewise.
1562         * math/test-signgam-finite-c11.c: New file.
1563         * math/test-signgam-finite-c99.c: Likewise.
1564         * math/test-signgam-finite.c: Likewise.
1565         * math/Makefile (tests): Add test-signgam-finite,
1566         test-signgam-finite-c99 and test-signgam-finite-c11.
1567         (CFLAGS-test-signgam-finite.c): New variable.
1568         (CFLAGS-test-signgam-finite-c99.c): Likewise.
1569         (CFLAGS-test-signgam-finite-c11.c): Likewise.
1571         [BZ #19212]
1572         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
1573         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
1574         500].
1575         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
1576         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
1577         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
1578         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
1579         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
1580         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
1581         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
1582         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
1583         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
1584         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1586         [BZ #19209]
1587         * math/bits/math-finite.h (ldexp): Remove declaration.
1588         (ldexpf): Likewise.
1589         (ldexpl): Likewise.
1591         [BZ #19205]
1592         * math/bits/math-finite.h (acosf): Condition declaration on
1593         [__USE_ISOC99].
1594         (acosl): Likewise.
1595         (acoshf): Likewise.
1596         (acoshl): Likewise.
1597         (asinf): Likewise.
1598         (asinl): Likewise.
1599         (atan2f): Likewise.
1600         (atan2l): Likewise.
1601         (atanhf): Likewise.
1602         (atanhl): Likewise.
1603         (coshf): Likewise.
1604         (coshl): Likewise.
1605         (expf): Likewise.
1606         (expl): Likewise.
1607         (fmodf): Likewise.
1608         (fmodl): Likewise.
1609         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1610         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1611         (j0l): Likewise.
1612         (y0f): Likewise.
1613         (y0l): Likewise.
1614         (j1f): Likewise.
1615         (j1l): Likewise.
1616         (y1f): Likewise.
1617         (y1l): Likewise.
1618         (jnf): Likewise.
1619         (jnl): Likewise.
1620         (ynf): Likewise.
1621         (ynl): Likewise.
1622         (lgammaf_r): Condition declaration on [__USE_ISOC99].
1623         (lgammal_r): Likewise.
1624         (__lgamma_r_finite): New declaration.
1625         (__lgammaf_r_finite): Likewise.
1626         (__lgammal_r_finite): Likewise.
1627         (lgamma): Use __lgamma_r_finite.
1628         (lgammaf): Condition definition on [__USE_ISOC99].  Use
1629         __lgammaf_r_finite.
1630         (lgammal): Condition definition on [__USE_ISOC99].  Use
1631         __lgammal_r_finite.
1632         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
1633         __lgamma_r_finite.
1634         (gammaf): Condition definition on [__USE_ISOC99].  Use
1635         __lgammaf_r_finite.
1636         (gammal): Condition definition on [__USE_ISOC99].  Use
1637         __lgammal_r_finite.
1638         (logf): Condition declaration on [__USE_ISOC99].
1639         (logl): Likewise.
1640         (log10f): Likewise.
1641         (log10l): Likewise.
1642         (ldexpf): Likewise.
1643         (ldexpl): Likewise.
1644         (powf): Likewise.
1645         (powl): Likewise.
1646         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
1647         __USE_ISOC99].
1648         (remainderf): Condition declaration on [__USE_ISOC99].
1649         (remainderl): Likewise.
1650         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
1651         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
1652         (scalbl): Likewise.
1653         (sinhf): Condition declaration on [__USE_ISOC99].
1654         (sinhl): Likewise.
1655         (sqrtf): Likewise.
1656         (sqrtl): Likewise.
1658 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1660         * sysdeps/arm/atomic-machine.h
1661         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1662         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1663         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
1664         Remove conditional code.
1665         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1666         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1667         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
1668         Change conditional to [__ASSEMBLER__].
1669         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1670         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
1671         [!__ASSEMBLER__].
1672         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
1673         code.
1674         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
1675         conditional macro definitions.
1676         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
1677         (__arch_compare_and_exchange_val_16_acq): Likewise.
1678         (__arch_compare_and_exchange_val_32_acq): Likewise.
1679         (atomic_exchange_and_add): Likewise.
1680         (atomic_add): Likewise.
1681         (atomic_add_negative): Likewise.
1682         (atomic_add_zero): Likewise.
1683         (atomic_bit_set): Likewise.
1684         (atomic_bit_test_set): Likewise.
1685         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
1686         code unconditional.
1687         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1689         * math/test-math-errno.h: New file.
1690         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
1691         empty.
1692         (TEST_ERRNO): New macro.
1693         (TEST_EXCEPTIONS): Likewise.
1694         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
1695         (TEST_EXCEPTIONS): Likewise.
1696         * math/test-math-vector.h (TEST_ERRNO): Likewise.
1697         * math/test-double.c: Include "test-math-errno.h".
1698         * math/test-float.c: Likewise.
1699         * math/test-ldouble.c: Likewise.
1700         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1701         code unconditional.
1702         (test_exceptions): Only run code if TEST_EXCEPTIONS.
1703         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1704         unconditional.
1705         (test_errno): Only run code if TEST_ERRNO.
1706         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1708 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1710         * nptl/tst-once5.cc: Remove attribution.
1712 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1714         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1715         sqrt, tan, tanh, y0, y1 and yn.
1716         * math/auto-libm-test-out: Regenerated.
1717         * math/libm-test.inc (scalb_test_data): Add more tests.
1718         (scalbn_test_data): Likewise.
1719         (scalbln_test_data): Likewise.
1720         (signbit_test_data): Likewise.
1721         (sin_test_data): Likewise.
1722         (sincos_test_data): Likewise.
1723         (sinh_test_data): Likewise.
1724         (sqrt_test_data): Likewise.
1725         (tan_test_data): Likewise.
1726         (tanh_test_data): Likewise.
1727         (tgamma_test_data): Likewise.
1728         (y0_test_data): Likewise.
1729         (y1_test_data): Likewise.
1730         (yn_test_data): Likewise.
1731         (significand_test_data): Likewise.
1732         * sysdeps/i386/fpu/libm-test-ulps: Update.
1734 2015-11-03  David Kastrup  <dak@gnu.org>
1736         [BZ #18604]
1737         * assert/assert.h (assert): Don't macro-expand failed assertion
1738         expression in error message.
1739         * malloc/malloc.c (assert): Likewise.
1741 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1743         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1744         test.
1745         * configure: Regenerated.
1747 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1749         * math/libm-test.inc (modf_test_data): Add more tests.
1750         (nearbyint_test_data): Likewise.
1751         (nextafter_test_data): Likewise.
1752         (nexttoward_test_data): Likewise.
1753         (pow_test_data): Likewise.
1754         (remainder_test_data): Likewise.
1755         (remquo_test_data): Likewise.
1756         (rint_test_data): Likewise.
1758         [BZ #19201]
1759         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1760         Check for zero remainder in case of large exponents and ensure
1761         correct sign of result in that case.
1762         * math/libm-test.inc (remainder_test_data): Add more tests.
1764         [BZ #6799]
1765         * math/s_nextafter.c: Include <errno.h>.
1766         (__nextafter): Set errno on overflow and underflow.
1767         * math/s_nexttowardf.c: Include <errno.h>.
1768         (__nexttowardf): Set errno on overflow and underflow.
1769         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1770         (__nextafterl): Set errno on overflow and underflow.
1771         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1772         (__nexttoward): Set errno on overflow and underflow.
1773         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1774         (__nexttowardf): Set errno on overflow and underflow.
1775         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1776         (__nextafterf): Set errno on overflow and underflow.
1777         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1778         (__nextafterl): Set errno on overflow and underflow.
1779         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1780         (__nexttoward): Set errno on overflow and underflow.
1781         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1782         (__nexttowardf): Set errno on overflow and underflow.
1783         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1784         (__nextafterl): Set errno on overflow and underflow.
1785         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1786         (__nexttoward): Set errno on overflow and underflow.
1787         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1788         (__nexttowardf): Set errno on overflow and underflow.
1789         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1790         (__nexttoward): Set errno on overflow and underflow.
1791         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1792         (__nexttowardf): Set errno on overflow and underflow.
1793         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1794         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1795         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1796         (__nextafterl): Set errno on overflow and underflow.
1797         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1798         setting to be missing on overflow.  Add more tests.
1799         (nexttoward_test_data): Likewise.
1801         * configure.ac (libc_cv_initfini_array): Remove configure test.
1802         * configure: Regenerated.
1804 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1806         [BZ #19189]
1807         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1808         non-finite argument handle arguments with negative sign.
1810         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1811         result from infinite argument.
1812         (j1_test_data): Likewise.
1813         (jn_test_data): Likewise.
1814         (y0_test_data): Likewise.
1815         (y1_test_data): Likewise.
1816         (yn_test_data): Likewise.
1818         [BZ #16171]
1819         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1820         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1821         * math/w_remainderf.c (dremf): Define as weak alias of
1822         __remainderf.
1823         * math/w_remainderl.c (dreml): Define as weak alias of
1824         __remainderl.
1825         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1826         __remainder.
1827         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1828         __remainderf.
1829         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1830         __remainderl.
1831         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1832         weak alias of remainderl.
1833         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1834         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1835         alias of __remainder.
1836         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1837         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1838         strong alias of __remainderl.
1839         (dreml): Use long_double_symbol.
1840         * math/Makefile (libm-calls): Remove w_drem.
1841         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1842         (CFLAGS-nldbl-drem.c): Remove variable.
1843         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1844         * math/w_drem.c: Remove file.
1845         * math/w_dremf.c: Likewise.
1846         * math/w_dreml.c: Likewise.
1847         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1848         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1849         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1851         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1852         * sysdeps/i386/configure: Regenerated.
1853         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1854         * sysdeps/x86_64/configure: Regenerated.
1856         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1857         test.
1858         (libc_cv_visibility_attribute): Likewise.
1859         (libc_cv_protected_data): Test unconditionally.
1860         (libc_cv_broken_visibility_attribute): Remove configure test.
1861         (libc_cv_have_sdata_section): Test unconditionally.
1862         * configure: Regenerated.
1864         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1865         * include/scratch_buffer.h: Include <stddef.h> instead of
1866         <libc-internal.h>.
1867         (struct scratch_buffer): Use max_align_t instead of
1868         libc_max_align_t.
1870 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1872         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1873         instead of extend_alloca.  Change control flow to avoid a goto.
1874         Remove assert which is trivially always true.
1876 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1878         [BZ #16068]
1879         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1880         (FE_ALL_EXCEPT_X86): New macro.
1881         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1882         FE_ALL_EXCEPT.  Ensure precision control is included in
1883         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1884         handle "denormal operand exception" and clear FZ and DAZ bits.
1885         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1886         (FE_ALL_EXCEPT_X86): New macro.
1887         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1888         FE_ALL_EXCEPT.  Ensure precision control is included in
1889         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1890         handle "denormal operand exception" and clear FZ and DAZ bits.
1891         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1892         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1893         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1894         test-fenv-x87 and test-fenv-sse-2.
1895         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1897         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1898         * math/test-double.h (BUILD_COMPLEX): New macro.
1899         * math/test-float.h (BUILD_COMPLEX): Likewise.
1900         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1902         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1903         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1904         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1905         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1906         instead of DBL_DENORM_MIN in comment.
1907         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1908         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1909         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1910         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1911         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1912         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1914 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1916         [BZ# 19048]
1917         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1918         attached_threads member.
1919         (main_arena): Initialize attached_threads.
1920         * malloc/arena.c (list_lock): Update comment.
1921         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1922         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1923         (deattach_arena): New function.
1924         (_int_new_arena): Initialize arena reference count and deattach
1925         replaced arena.
1926         (get_free_list, reused_arena): Update reference count and deattach
1927         replaced arena.
1928         (arena_thread_freeres): Update arena reference count and only put
1929         unreferenced arenas on the free list.
1931 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1933         [BZ #19181]
1934         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1935         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1936         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1937         * math/test-fenv-clear-main.c: New file.
1938         * math/test-fenv-clear.c: Likewise.
1939         * math/Makefile (tests): Add test-fenv-clear.
1940         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1941         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1942         test-fenv-clear-sse.
1943         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1945         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1946         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1947         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1949 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1951         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1952         static libc.
1954 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1956         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1957         test.
1958         * sysdeps/i386/configure: Regenerated.
1959         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1960         test.
1961         * sysdeps/x86_64/configure: Regenerated.
1962         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1964         memset-avx2 unconditionally instead of conditionally on
1965         [$(config-cflags-avx2) = yes].
1966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1967         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1968         unconditional.
1969         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1970         * sysdeps/x86_64/multiarch/memset_chk.S
1971         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1972         to [IS_IN (libc) && SHARED].
1974 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1976         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1977         configure test.
1978         * sysdeps/arm/configure: Regenerated.
1979         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1980         Define variable if not already defined.
1982         [BZ #17404]
1983         * sysdeps/mips/atomic-machine.h
1984         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1985         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1986         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1988         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1989         unconditional.
1990         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1991         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1992         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1993         unconditional.
1994         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1995         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1996         unconditional.
1997         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1998         * stdlib/setenv.c
1999         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2000         code unconditional.
2001         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2002         Remove conditional code.
2003         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2004         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2005         unconditional.
2006         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2007         code.
2008         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2009         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2010         unconditional.
2011         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2012         code.
2013         * sysdeps/ieee754/ldbl-128/k_tanl.c
2014         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2015         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2016         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2017         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2018         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2019         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2020         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2021         unconditional.
2022         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2023         code.
2024         * sysdeps/ieee754/ldbl-96/k_tanl.c
2025         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2026         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2028         * nptl/tst-initializers1-c11.c: New file.
2029         * nptl/tst-initializers1-gnu11.c: Likewise.
2030         * nptl/Makefile (tests): Add these new tests.
2031         (CFLAGS-tst-initializers1-c11.c): New variable.
2032         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2034         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2035         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2036         instead of -std=gnu99.
2037         * configure.ac (systemtap): Test with -std=gnu11 instead of
2038         -std=gnu99.
2039         * configure: Regenerated.
2040         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2041         in compilation command in comment.
2043         * sysdeps/nptl/configure.ac: Remove file.
2044         * sysdeps/nptl/configure: Remove generated file.
2045         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2046         * configure: Regenerated.
2047         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2048         * config.make.in (have-forced-unwind): Remove variable.
2049         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2050         unconditional.
2051         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2052         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2053         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2054         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2055         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2056         unconditional.
2058 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2060         [BZ #19174]
2061         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2062         .skip_lock_out_of_tbegin_retries.
2063         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2064         (__lll_lock_elision): Likewise, and respect a value of
2065         try_tbegin <= 0.
2067 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2069         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2070         statement.
2072 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2074         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2075         variable.
2076         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2077         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2079         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2080         of -std=c1x -D_ISOC11_SOURCE.
2082         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2083         * configure: Regenerated.
2084         * manual/install.texi (Tools for Compilation): Document
2085         requirement for GCC 4.7 or later.
2086         * INSTALL: Regenerated.
2088 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2090         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2091         on CNT to a conditional jump to 'puntdata'.
2093 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2095         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2096         (libc_cv_gcc_tls_model_attr): Likewise.
2097         * configure: Regenerated.
2099         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2100         * configure: Regenerated.
2101         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2103 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2105         * configure.ac (old_glibc_headers): Remove configure test.
2106         * configure: Regenerated.
2107         * config.make.in (old-glibc-headers): Remove variable.
2108         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2109         (install): Remove dependency on remove-old-headers.
2110         (headers2_0): Remove variable.
2111         (remove-old-headers): Remove rule.
2113         * configure.ac (libc_cv_dot_text): Remove configure test.
2114         (libc_cv_asm_set_directive): Use .text instead of
2115         ${libc_cv_dot_text} in configure test.
2116         * configure: Regenerated.
2118 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2120         [BZ #19168]
2121         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2123 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2125         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2126         not support static linking.
2127         * configure: Regenerate.
2129 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2131         * math/libm-test.inc (check_float_internal): Do not special-case
2132         errors up to 0.5 ulp.
2134         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2135         log2.
2136         * math/auto-libm-test-out: Regenerated.
2137         * math/libm-test.inc (MAX_EXP): New macro.
2138         (ilogb_test_data): Add more tests.
2139         (isfinite_test_data): Likewise.
2140         (isgreater_test_data): Likewise.
2141         (isgreaterequal_test_data): Likewise.
2142         (isinf_test_data): Likewise.
2143         (isless_test_data): Likewise.
2144         (islessequal_test_data): Likewise.
2145         (islessgreater_test_data): Likewise.
2146         (isnan_test_data): Likewise.
2147         (isnormal_test_data): Likewise.
2148         (issignaling_test_data): Likewise.
2149         (isunordered_test_data): Likewise.
2150         (j0_test_data): Likewise.
2151         (j1_test_data): Likewise.
2152         (jn_test_data): Likewise.
2153         (lgamma_test_data): Likewise.
2154         (log_test_data): Likewise.
2155         (log10_test_data): Likewise.
2156         (log1p_test_data): Likewise.
2157         (log2_test_data): Likewise.
2158         (logb_test_data): Likewise.
2159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2161         [BZ #18611]
2162         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2163         avoid excess range and precision on underflow.
2164         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2165         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2166         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2167         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2168         underflow.
2169         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2170         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2171         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2172         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2173         * math/auto-libm-test-in: Do not allow missing errno setting for
2174         tests of j1 and jn.
2175         * math/auto-libm-test-out: Regenerated.
2177 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2179         [BZ #15491]
2180         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2181         floating-point environment instead of clearing all exceptions.
2182         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2183         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2184         merging in "invalid" exceptions from frndint.
2185         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2186         * math/test-nearbyint-except.c: New file.
2187         * math/Makefile (tests): Add test-nearbyint-except.
2189 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2191         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2193         * sysdeps/tile/libm-test-ulps: Regenerated.
2195 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2198         (__NR_sync_file_range2): Assume it is always defined.
2199         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2200         (__NR_sync_file_range): Assume it is always defined.
2202 2015-10-22  Andreas Schwab  <schwab@suse.de>
2204         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2205         INTERNAL_SYSCALL_ERRNO.
2206         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2207         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2208         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2209         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2210         Likewise.
2211         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2213 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2215         * io/tst-fcntl.c (fd): New static variable.
2216         (do_prepare): Open temporary file here....
2217         (do_test): ...not here.
2219         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2221 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2223         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2224         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2225         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2226         Moved before "#ifdef __ASSEMBLER__".
2228 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2230         [BZ #19156]
2231         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2232         arguments very close to 0.
2234 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
2236         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2237         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2239 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2241         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2242         New.  Defined for GCC 5 and above when not compiling for
2243         profiling.
2244         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2246         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2247         Renamed to ...
2248         (CFLAGS-epoll_pwait.o): This.
2249         (CFLAGS-mmap.c): Renamed to ...
2250         (CFLAGS-mmap.o): This.
2251         (CFLAGS-mmap64.c): Renamed to ...
2252         (CFLAGS-mmap64.o): This.
2253         (CFLAGS-epoll_pwait.os): New.
2254         (CFLAGS-mmap.os): Likewise.
2255         (CFLAGS-mmap64.os): Likewise.
2256         (CFLAGS-semtimedop.os): Likewise.
2257         (CFLAGS-semtimedop.c): Renamed to ...
2258         (CFLAGS-semtimedop.o): This.
2260 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2262         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2263         warning message.
2265 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2267         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2268         * Makefile ($(objpfx)c++-types-check.out): Filter out
2269         $(+gccwarn-c) instead of -Wstrict-prototypes.
2271         * io/fts.c (fts_open): Convert to prototype-style function
2272         definition.
2273         * malloc/mcheck.c (mcheck): Likewise.
2274         (mcheck_pedantic): Likewise.
2275         * posix/regexec.c (re_search_2_stub): Likewise.  Use
2276         internal_function.
2277         (re_search_internal): Likewise.
2278         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2279         prototype-style function definition.
2280         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2281         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2282         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2283         (xdr_utmpptr): Likewise.
2284         (xdr_utmparr): Likewise.
2285         (xdr_utmpidle): Likewise.
2286         (xdr_utmpidleptr): Likewise.
2287         (xdr_utmpidlearr): Likewise.
2289         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2290         log, log10 and log2.
2291         * math/auto-libm-test-out: Regenerated.
2292         * math/libm-test.inc (fmod_test_data): Add more tests.
2293         (fpclassify_test_data): Likewise.
2294         (frexp_test_data): Likewise.
2295         (hypot_test_data): Likewise.
2296         (ilogb_test_data): Likewise.
2298 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
2300         * debug/fortify_fail.c (__fortify_fail): Convert to
2301         prototype-style function definition.  Use internal_function.
2302         * libio/genops.c (save_for_backup): Convert to prototype-style
2303         function definition.
2304         * libio/wgenops.c (save_for_wbackup): Likewise.
2305         * login/grantpt.c (grantpt): Likewise.
2306         * login/ptsname.c (ptsname): Likewise.
2307         (__ptsname_r): Likewise.
2308         * login/unlockpt.c (unlockpt): Likewise.
2309         * mach/msgserver.c (__mach_msg_server): Likewise.
2310         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2311         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2312         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2313         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2314         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2315         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2316         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2317         Likewise.
2318         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
2319         internal_function.
2320         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2321         prototype-style function definition.
2322         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2323         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2324         (__pthread_create_2_0): Likewise.
2325         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2326         * nptl/register-atfork.c (__register_atfork): Likewise.
2327         * posix/glob.c (glob): Likewise.
2328         * posix/regcomp.c (re_comp): Likewise.
2329         * posix/regexec.c (re_exec): Likewise.
2330         * stdlib/add_n.c [__STDC__]: Make code unconditional.
2331         [!__STDC__]: Remove conditional code.
2332         * stdlib/cmp.c [__STDC__]: Make code unconditional.
2333         [!__STDC__]: Remove conditional code.
2334         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2335         [!__STDC__]: Remove conditional code.
2336         * stdlib/divrem.c [__STDC__]: Make code unconditional.
2337         [!__STDC__]: Remove conditional code.
2338         * stdlib/lshift.c [__STDC__]: Make code unconditional.
2339         [!__STDC__]: Remove conditional code.
2340         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2341         [!__STDC__]: Remove conditional code.
2342         * stdlib/mul.c [__STDC__]: Make code unconditional.
2343         [!__STDC__]: Remove conditional code.
2344         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2345         [!__STDC__]: Remove conditional code.
2346         * stdlib/rshift.c [__STDC__]: Make code unconditional.
2347         [!__STDC__]: Remove conditional code.
2348         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2349         function definition.
2350         (STRTOF): Likewise.
2351         * stdlib/strtod_l.c (__STRTOF): Likewise.
2352         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2353         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2354         (__strtol_l): Likewise.
2355         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2356         [!__STDC__]: Remove conditional code.
2357         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2358         definition.
2359         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2360         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2361         type.
2362         (__strcasecmp): Convert to prototype-style function definition.
2363         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2364         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2365         type.
2366         (__strncasecmp): Convert to prototype-style function definition.
2367         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2368         * sunrpc/xdr.c (xdr_union): Likewise.
2369         * sunrpc/xdr_array.c (xdr_array): Likewise.
2370         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2371         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2372         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2373         Likewise.
2374         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2375         Likewise.
2376         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2377         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2378         Likewise.
2379         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2380         (LOCALE_PARAM_PROTO): Likewise.
2381         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2382         argument type.
2383         (ut_argument_spec): Remove macro.
2384         (ut_argument_spec_iso): Rename to ut_argument_spec.
2385         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
2386         prototype-style function definition.
2387         (memcpy_uppcase): Likewise.
2388         (__strftime_internal): Likewise.
2389         (my_strftime): Likewise.
2390         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2391         (LOCALE_PARAM_DECL): Likewise.
2392         [_LIBC] (LOCALE_PARAM): Include argument type.
2393         (__strptime_internal): Convert to prototype-style function
2394         definition.
2395         (strptime): Likewise.
2396         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2397         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2398         type.
2399         (__wcscasecmp): Convert to prototype-style function definition.
2400         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2401         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2402         type.
2403         (__wcsncasecmp): Convert to prototype-style function definition.
2405         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2406         function definition.
2407         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2408         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2409         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2410         * elf/dl-minimal.c (_itoa): Likewise.
2411         * hurd/hurdmalloc.c (malloc): Likewise.
2412         (free): Likewise.
2413         (realloc): Likewise.
2414         * inet/inet6_option.c (inet6_option_space): Likewise.
2415         (inet6_option_init): Likewise.
2416         (inet6_option_append): Likewise.
2417         (inet6_option_alloc): Likewise.
2418         (inet6_option_next): Likewise.
2419         (inet6_option_find): Likewise.
2420         * io/ftw.c (FTW_NAME): Likewise.
2421         (NFTW_NAME): Likewise.
2422         (NFTW_NEW_NAME): Likewise.
2423         (NFTW_OLD_NAME): Likewise.
2424         * libio/iofwide.c (_IO_fwide): Likewise.
2425         * libio/strops.c (_IO_str_init_static_internal): Likewise.
2426         (_IO_str_init_static): Likewise.
2427         (_IO_str_init_readonly): Likewise.
2428         (_IO_str_overflow): Likewise.
2429         (_IO_str_underflow): Likewise.
2430         (_IO_str_count): Likewise.
2431         (_IO_str_seekoff): Likewise.
2432         (_IO_str_pbackfail): Likewise.
2433         (_IO_str_finish): Likewise.
2434         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2435         (_IO_wstr_overflow): Likewise.
2436         (_IO_wstr_underflow): Likewise.
2437         (_IO_wstr_count): Likewise.
2438         (_IO_wstr_seekoff): Likewise.
2439         (_IO_wstr_pbackfail): Likewise.
2440         (_IO_wstr_finish): Likewise.
2441         * locale/programs/localedef.c (normalize_codeset): Likewise.
2442         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2443         (add_locales_to_archive): Likewise.
2444         (delete_locales_from_archive): Likewise.
2445         * malloc/malloc.c (__libc_mallinfo): Likewise.
2446         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2447         * misc/tsearch.c (__tfind): Likewise.
2448         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2449         * nptl/pthread_attr_getdetachstate.c
2450         (__pthread_attr_getdetachstate): Likewise.
2451         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2452         Likewise.
2453         * nptl/pthread_attr_getinheritsched.c
2454         (__pthread_attr_getinheritsched): Likewise.
2455         * nptl/pthread_attr_getschedparam.c
2456         (__pthread_attr_getschedparam): Likewise.
2457         * nptl/pthread_attr_getschedpolicy.c
2458         (__pthread_attr_getschedpolicy): Likewise.
2459         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2460         Likewise.
2461         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2462         Likewise.
2463         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2464         Likewise.
2465         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2466         Likewise.
2467         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2468         (__pthread_attr_init_2_0): Likewise.
2469         * nptl/pthread_attr_setdetachstate.c
2470         (__pthread_attr_setdetachstate): Likewise.
2471         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2472         Likewise.
2473         * nptl/pthread_attr_setinheritsched.c
2474         (__pthread_attr_setinheritsched): Likewise.
2475         * nptl/pthread_attr_setschedparam.c
2476         (__pthread_attr_setschedparam): Likewise.
2477         * nptl/pthread_attr_setschedpolicy.c
2478         (__pthread_attr_setschedpolicy): Likewise.
2479         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2480         Likewise.
2481         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2482         Likewise.
2483         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2484         Likewise.
2485         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2486         Likewise.
2487         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2488         Likewise.
2489         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2490         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2491         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2492         use internal_function.
2493         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2494         prototype-style function definition.
2495         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2496         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
2497         internal_function.
2498         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2499         Convert to prototype-style function definition.
2500         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2501         Likewise.
2502         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2503         Likewise.
2504         (__pthread_mutex_unlock): Likewise.
2505         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2506         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2507         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2508         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2509         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2510         * nss/makedb.c (process_input): Likewise.
2511         * posix/fnmatch.c (__strchrnul): Likewise.
2512         (__wcschrnul): Likewise.
2513         (fnmatch): Likewise.
2514         * posix/fnmatch_loop.c (FCT): Likewise.
2515         * posix/glob.c (globfree): Likewise.
2516         (__glob_pattern_type): Likewise.
2517         (__glob_pattern_p): Likewise.
2518         * posix/regcomp.c (re_compile_pattern): Likewise.
2519         (re_set_syntax): Likewise.
2520         (re_compile_fastmap): Likewise.
2521         (regcomp): Likewise.
2522         (regerror): Likewise.
2523         (regfree): Likewise.
2524         * posix/regexec.c (regexec): Likewise.
2525         (re_match): Likewise.
2526         (re_search): Likewise.
2527         (re_match_2): Likewise.
2528         (re_search_2): Likewise.
2529         (re_search_stub): Likewise.  Use internal_function
2530         (re_copy_regs): Likewise.
2531         (re_set_registers): Convert to prototype-style function
2532         definition.
2533         (prune_impossible_nodes): Likewise.  Use internal_function.
2534         * resolv/inet_net_pton.c (inet_net_pton): Convert to
2535         prototype-style function definition.
2536         (inet_net_pton_ipv4): Likewise.
2537         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2538         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
2539         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2540         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
2541         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2542         Make variadic.
2543         * time/strptime_l.c (localtime_r): Convert to prototype-style
2544         function definition.
2545         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2546         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2547         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2548         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2550         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
2551         definition.
2552         (_ufc_doit_r): Likewise.
2553         * crypt/crypt_util.c (_ufc_copymem): Likewise.
2554         (_ufc_output_conversion_r): Likewise.
2555         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
2556         * inet/rcmd.c (rcmd_af): Likewise.
2557         (rcmd): Likewise.
2558         (ruserok_af): Likewise.
2559         (ruserok): Likewise.
2560         (ruserok2_sa): Likewise.
2561         (ruserok_sa): Likewise.
2562         (iruserok_af): Likewise.
2563         (iruserok): Likewise.
2564         (__ivaliduser): Likewise.
2565         (__validuser2_sa): Likewise.
2566         * inet/rexec.c (rexec_af): Likewise.
2567         (rexec): Likewise.
2568         * inet/ruserpass.c (ruserpass): Likewise.
2569         * locale/programs/xmalloc.c (xcalloc): Likewise.
2570         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
2571         * math/w_drem.c (__drem): Likewise.
2572         * math/w_dremf.c (__dremf): Likewise.
2573         * math/w_dreml.c (__dreml): Likewise.
2574         * misc/daemon.c (daemon): Likewise.
2575         * resolv/res_debug.c (p_fqnname): Likewise.
2576         * stdlib/div.c (div): Likewise.
2577         * string/memcmp.c (memcmp_bytes): Likewise.
2578         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2579         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2581         * crypt/cert.c (main): Convert to prototype-style function
2582         definition.
2583         * io/pipe.c (__pipe): Likewise.
2584         * io/pipe2.c (__pipe2): Likewise.
2585         * misc/futimesat.c (futimesat): Likewise.
2586         * misc/utimes.c (__utimes): Likewise.
2587         * posix/execve.c (__execve): Likewise.
2588         * posix/execvp.c (execvp): Likewise.
2589         * posix/execvpe.c (__execvpe): Likewise.
2590         * posix/fexecve.c (fexecve): Likewise.
2591         * socket/socketpair.c (socketpair): Likewise.
2592         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2593         * stdlib/erand48.c (erand48): Likewise.
2594         * stdlib/erand48_r.c (__erand48_r): Likewise.
2595         * stdlib/jrand48.c (jrand48): Likewise.
2596         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2597         * stdlib/lcong48.c (lcong48): Likewise.
2598         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2599         * stdlib/nrand48.c (nrand48): Likewise.
2600         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2601         * stdlib/seed48.c (seed48): Likewise.
2602         * stdlib/seed48_r.c (__seed48_r): Likewise.
2603         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2604         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2605         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2607 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2609         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2610         * configure: Regenerated.
2611         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2612         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2613         unconditional.
2614         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2615         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2616         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2617         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2618         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2619         unconditional.
2620         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2622         * posix/Makefile (CFLAGS-regex.c): Remove variable.
2623         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2625         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2626         function definition.
2627         * crypt/crypt_util.c (__encrypt_r): Likewise.
2628         * libio/genops.c (_IO_no_init): Likewise.
2629         * libio/iofopncook.c (_IO_fopencookie): Likewise.
2630         (_IO_old_fopencookie): Likewise.
2631         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2632         * libio/iogetline.c (_IO_getline): Likewise.
2633         (_IO_getline_info): Likewise.
2634         * libio/iogetwline.c (_IO_getwline): Likewise.
2635         (_IO_getwline_info): Likewise.
2636         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2637         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2638         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2639         (find_entry): Likewise.
2640         (iterate_table): Likewise.
2641         (lookup): Likewise.
2642         * login/forkpty.c (forkpty): Likewise.
2643         * misc/hsearch_r.c (__hsearch_r): Likewise.
2644         * misc/select.c (__select): Likewise.
2645         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
2646         Likewise.
2647         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
2648         Likewise.
2649         * nptl/old_pthread_cond_timedwait.c
2650         (__pthread_cond_timedwait_2_0): Likewise.
2651         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
2652         * nptl/pthread_barrierattr_getpshared.c
2653         (pthread_barrierattr_getpshared): Likewise.
2654         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2655         Likewise.
2656         * nptl/pthread_mutex_setprioceiling.c
2657         (pthread_mutex_setprioceiling): Likewise.
2658         * nptl/pthread_mutexattr_getprioceiling.c
2659         (pthread_mutexattr_getprioceiling): Likewise.
2660         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
2661         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2662         Likewise.
2663         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2664         Likewise.
2665         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
2666         Likewise.
2667         * socket/recvfrom.c (__recvfrom): Likewise.
2668         * socket/sendto.c (__sendto): Likewise.
2669         * socket/setsockopt.c (__setsockopt): Likewise.
2670         * stdio-common/_itoa.c (_itoa): Likewise.
2671         * stdio-common/_itowa.c (_itowa): Likewise.
2672         * stdio-common/reg-printf.c (__register_printf_specifier):
2673         Likewise.
2674         (__register_printf_function): Likewise.
2675         * stdio-common/tempname.c (__path_search): Likewise.
2676         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
2677         * stdlib/mul_1.c (mpn_mul_1): Likewise.
2678         * stdlib/random_r.c (__initstate_r): Likewise.
2679         * stdlib/setenv.c (__add_to_environ): Likewise.
2680         * stdlib/submul_1.c (mpn_submul_1): Likewise.
2681         * streams/getpmsg.c (getpmsg): Likewise.
2682         * streams/putmsg.c (putmsg): Likewise.
2683         * streams/putpmsg.c (putpmsg): Likewise.
2684         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
2685         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2686         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
2687         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2688         * sunrpc/pm_getport.c (pmap_getport): Likewise.
2689         * sunrpc/svc_udp.c (cache_get): Likewise.
2690         * sunrpc/xdr_array.c (xdr_vector): Likewise.
2691         * sysdeps/mach/hurd/getcwd.c
2692         (__canonicalize_directory_name_internal): Likewise.
2693         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
2694         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
2695         * sysdeps/mach/hurd/select.c (__select): Likewise.
2696         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2697         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2698         * sysdeps/sparc/nptl/pthread_barrier_init.c
2699         (__pthread_barrier_init): Likewise.
2700         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2701         (__pthread_cond_timedwait): Likewise.
2702         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2703         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2704         Likewise.
2705         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2706         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2707         Likewise.
2708         * sysvipc/semtimedop.c (semtimedop): Likewise.
2709         * time/setitimer.c (__setitimer): Likewise.
2710         * time/strftime_l.c (emacs_strftime): Likewise.
2712 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2714         * config.make.in (have-ssp): Delete.
2715         (stack-protector): New variable.
2716         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2717         cache test for -fstack-protector-strong.  Export stack_protector to
2718         the best ssp flag.
2719         * configure: Regenerated.
2720         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2721         * nscd/Makefile (CFLAGS-nscd): Likewise.
2722         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2724 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2726         [BZ #19122]
2727         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2728         attribute_hidden.
2730 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2732         [BZ #18743]
2733         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2734         code to...
2735         (ELIDE_LOCK): ...here.
2736         (__get_new_count): New function with part of the code from
2737         __elide_lock that updates the value of adapt_count after a
2738         transaction abort.
2739         (__elided_trylock): Moved this code to...
2740         (ELIDE_TRYLOCK): ...here.
2742 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2744         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2745         * configure: Regenerate.
2746         * INSTALL: Regenerate.
2747         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2748         and tweak grammar.
2750 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2752         * login/programs/pt_chown.c: Include signal.h
2753         (main): Clear any signal mask from the parent process.
2755 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2757         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2758         * configure: Regenerated.
2759         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2760         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2761         $(gnu89-inline-CFLAGS).
2763         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2764         test.
2765         (libc_cv_asm_weakext_directive): Likewise.
2766         * configure: Regenerated.
2767         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2768         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2769         * include/libc-symbols.h
2770         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2771         #error.
2772         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2773         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2775         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2776         prototype-style function definition.
2777         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2778         * sysdeps/i386/ffs.c (__ffs): Likewise.
2779         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2780         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2781         Likewise.
2782         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2783         Likewise.
2784         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2785         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2786         Likewise.
2787         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2788         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2789         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2790         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2791         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2792         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2793         * sysdeps/mach/hurd/access.c (__access): Likewise.
2794         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2795         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2796         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2797         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2798         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2799         (cthread_getspecific): Likewise.
2800         (cthread_setspecific): Likewise.
2801         (__libc_getspecific): Likewise.
2802         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2803         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2804         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2805         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2806         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2807         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2808         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2809         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2810         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2811         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2812         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2813         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2814         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2815         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2816         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2817         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2818         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2819         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2820         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2821         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2822         * sysdeps/mach/hurd/link.c (__link): Likewise.
2823         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2824         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2825         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2826         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2827         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2828         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2829         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2830         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2831         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2832         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2833         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2834         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2835         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2836         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2837         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2838         * sysdeps/mach/hurd/send.c (__send): Likewise.
2839         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2840         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2841         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2842         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2843         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2844         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2845         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2846         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2847         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2848         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2849         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2850         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2851         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2852         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2853         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2854         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2855         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2856         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2857         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2858         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2859         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2860         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2861         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2862         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2863         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2864         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2865         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2866         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2867         * sysdeps/posix/alarm.c (alarm): Likewise.
2868         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2869         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2870         * sysdeps/posix/dup.c (__dup): Likewise.
2871         * sysdeps/posix/dup2.c (__dup2): Likewise.
2872         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2873         (main): Likewise.
2874         * sysdeps/posix/flock.c (__flock): Likewise.
2875         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2876         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2877         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2878         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2879         * sysdeps/posix/isatty.c (__isatty): Likewise.
2880         * sysdeps/posix/killpg.c (killpg): Likewise.
2881         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2882         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2883         * sysdeps/posix/raise.c (raise): Likewise.
2884         * sysdeps/posix/remove.c (remove): Likewise.
2885         * sysdeps/posix/rename.c (rename): Likewise.
2886         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2887         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2888         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2889         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2890         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2891         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2892         * sysdeps/posix/sigset.c (sigset): Likewise.
2893         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2894         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2895         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2896         * sysdeps/posix/time.c (time): Likewise.
2897         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2898         (ttyname): Likewise.
2899         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2900         * sysdeps/posix/utime.c (utime): Likewise.
2901         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2902         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2903         Likewise.
2904         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2905         (pthread_spin_trylock): Likewise.
2906         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2907         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2908         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2909         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2910         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2911         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2912         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2913         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2914         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2915         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2916         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2917         * sysdeps/s390/ffs.c (__ffs): Likewise.
2918         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2919         Likewise.
2920         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2921         Likewise.
2922         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2923         Likewise.
2924         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2925         (pthread_barrier_destroy): Likewise.
2926         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2927         (__pthread_barrier_wait): Likewise.
2928         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2929         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2930         (__pthread_barrier_wait): Likewise.
2931         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2932         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2933         (memcmp_not_common_alignment): Likewise.
2934         (MEMCMP): Likewise.
2935         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2936         (_wordcopy_fwd_dest_aligned): Likewise.
2937         (_wordcopy_bwd_aligned): Likewise.
2938         (_wordcopy_bwd_dest_aligned): Likewise.
2939         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2940         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2941         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2942         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2943         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2944         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2945         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2946         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2947         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2948         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2949         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2950         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2951         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2952         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2953         * sysdeps/unix/stime.c (stime): Likewise.
2954         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2955         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2956         Likewise.  Use internal_function.
2957         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2958         Convert to prototype-style function definition.
2959         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2960         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2961         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2962         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2963         Likewise.  Use internal_function.
2964         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2965         prototype-style function definition
2966         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2967         Likewise.
2968         (__getlogin_r): Likewise.
2969         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2970         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2971         (__pthread_cond_broadcast): Likewise.
2972         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2973         (__pthread_cond_destroy): Likewise.
2974         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2975         (__pthread_cond_init): Likewise.
2976         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2977         (__pthread_cond_signal): Likewise.
2978         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2979         (__pthread_cond_wait): Likewise.
2980         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2981         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2982         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2983         Likewise.
2984         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2985         Likewise.
2986         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2987         Likewise.
2988         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2989         Likewise.
2990         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2992         (__ftruncate64): Likewise.
2993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2994         (truncate64): Likewise.
2995         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2996         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2997         (pthread_getcpuclockid): Likewise.
2998         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2999         Likewise.
3000         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3001         Likewise.
3002         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3003         Likewise.
3004         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3005         Likewise.
3006         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3007         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3008         (__libc_sigaction): Likewise.
3009         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3010         Likewise.
3011         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3012         (__sigprocmask): Likewise.
3013         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3014         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3015         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3016         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3017         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3018         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3019         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3020         Likewise.
3021         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3022         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3023         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3024         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3025         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3026         Likewise.
3027         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3028         (__sigprocmask): Likewise.
3029         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3030         (cfgetispeed): Likewise.
3031         (cfsetospeed): Likewise.
3032         (cfsetispeed): Likewise.
3033         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3034         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3035         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3036         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3037         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3038         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3039         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3040         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3041         Likewise.
3042         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3043         Likewise.
3044         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3045         Likewise.
3046         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3047         Likewise.
3048         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3050 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3052         sunrpc: Rewrite with explicit TLS access using __thread.
3053         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3054         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3055         directly.
3056         (__rpc_thread_variables): Access thread_rpc_vars directly.
3057         Eliminate redundant assignment of the tvp variable.
3059 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3061         malloc: Rewrite with explicit TLS access using __thread.
3062         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3063         (tsd_setspecific, tsd_getspecific): Remove.
3064         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3065         (tsd_setspecific, tsd_getspecific): Likewise.
3066         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3067         (tsd_setspecific, tsd_getspecific): Likewise.
3068         * malloc/arena.c (thread_arena): New TLS variable.
3069         (arena_key): Remove variable.
3070         (arena_get): Use thread_arena.
3071         (arena_lookup): Remove macro.
3072         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3073         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3074         (_int_new_arena, get_free_list, reused_arena)
3075         (arena_thread_freeres): Use thread_arena.
3076         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3077         tsd_getspecific, tsd_setspecific from safety annotations.
3078         (Allocating Cleared Space): Remove arena_lookup from safety
3079         annotations.
3081 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3083         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3084         struct scratch_buffer instead of extend_alloca.
3086 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3088         * sysdeps/unix/sysv/linux/kernel-features.h
3089         (__ASSUME_SOCK_CLOEXEC): Remove.
3090         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3091         (__have_paccept): Remove unused macro.
3092         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3093         * misc/syslog.c (openlog_internal): Remove fallback code for
3094         !__ASSUME_SOCK_CLOEXEC.
3095         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3096         missing SOCK_CLOEXEC.
3097         * nscd/connections.c (have_sock_cloexec): Remove definition.
3098         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3099         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3100         !__ASSUME_SOCK_CLOEXEC.
3101         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3102         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3103         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3104         definition.
3105         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3106         code for !__ASSUME_SOCK_CLOEXEC.
3108 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3110         [BZ #18982]
3111         * manual/stdio.texi (Variable Arguments Output): Add portability
3112         note, explaining that vfprintf clobbers the va_list pointer.
3114 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3116         * math/libm-test.inc (fabs_test_data): Add more tests.
3117         (fdim_test_data): Likewise.
3118         (fma_test_data): Likewise.
3119         (fmax_test_data): Likewise.
3120         (fmin_test_data): Likewise.
3121         (fmod_test_data): Likewise.
3123 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3125         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3126         data.
3128 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3130         * math/libm-test.inc (ceil_test_data): Add more tests and more
3131         expectations for "inexact".
3132         (floor_test_data): Add more tests.
3133         (round_test_data): Likewise.
3134         (trunc_test_data): Likewise.
3136         * crypt/cert.c (good_bye): Convert to prototype-style function
3137         definition.
3138         (get8): Likewise.
3139         (put8): Likewise.
3140         * crypt/crypt-entry.c (crypt): Likewise.
3141         (__fcrypt): Likewise.
3142         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3143         (_ufc_set_bits): Likewise.
3144         (_ufc_clearmem): Likewise.
3145         (__init_des_r): Likewise.
3146         (shuffle_sb): Likewise.
3147         (shuffle_sb): Likewise.
3148         (_ufc_setup_salt_r): Likewise.
3149         (_ufc_mk_keytab_r): Likewise.
3150         (_ufc_dofinalperm_r): Likewise.
3151         (encrypt): Likewise.
3152         (__setkey_r): Likewise.
3153         (setkey): Likewise.
3154         * crypt/md5.c (md5_init_ctx): Likewise.
3155         (md5_read_ctx): Likewise.
3156         (md5_finish_ctx): Likewise.
3157         (md5_stream): Likewise.
3158         (md5_buffer): Likewise.
3159         (md5_process_bytes): Likewise.
3160         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3161         (__sha256_finish_ctx): Likewise.
3162         (__sha256_process_bytes): Likewise.
3163         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3164         (__sha512_finish_ctx): Likewise.
3165         (__sha512_process_bytes): Likewise.
3166         * ctype/isctype.c (__isctype): Likewise.
3167         * debug/backtrace.c (__backtrace): Likewise.
3168         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3169         * debug/fgets_chk.c (__fgets_chk): Likewise.
3170         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3171         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3172         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3173         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3174         * debug/memset_chk.c (__memset_chk): Likewise.
3175         * debug/strcat_chk.c (__strcat_chk): Likewise.
3176         * debug/strncat_chk.c (__strncat_chk): Likewise.
3177         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3178         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3179         * dirent/dirfd.c (dirfd): Likewise.
3180         * dirent/getdents.c (__getdirentries): Likewise.
3181         * dirent/getdents64.c (getdirentries64): Likewise.
3182         * dirent/rewinddir.c (__rewinddir): Likewise.
3183         * dirent/seekdir.c (seekdir): Likewise.
3184         * dirent/telldir.c (telldir): Likewise.
3185         * elf/sln.c (makesymlinks): Likewise.
3186         (makesymlink): Likewise.
3187         * gmon/gmon.c (__moncontrol): Likewise.
3188         (__monstartup): Likewise.
3189         (write_hist): Likewise.
3190         (write_call_graph): Likewise.
3191         (write_bb_counts): Likewise.
3192         * grp/setgroups.c (setgroups): Likewise.
3193         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3194         * inet/inet_net.c (inet_network): Likewise.
3195         * inet/inet_netof.c (inet_netof): Likewise.
3196         * inet/rcmd.c (rresvport_af): Likewise.
3197         (rresvport): Likewise.
3198         * io/access.c (__access): Likewise.
3199         * io/chdir.c (__chdir): Likewise.
3200         * io/chmod.c (__chmod): Likewise.
3201         * io/chown.c (__chown): Likewise.
3202         * io/close.c (__close): Likewise.
3203         * io/creat.c (creat): Likewise.
3204         * io/creat64.c (creat64): Likewise.
3205         * io/dup.c (__dup): Likewise.
3206         * io/dup2.c (__dup2): Likewise.
3207         * io/dup3.c (__dup3): Likewise.
3208         * io/euidaccess.c (__euidaccess): Likewise.
3209         * io/faccessat.c (faccessat): Likewise.
3210         * io/fchmod.c (__fchmod): Likewise.
3211         * io/fchmodat.c (fchmodat): Likewise.
3212         * io/fchown.c (__fchown): Likewise.
3213         * io/fchownat.c (fchownat): Likewise.
3214         * io/fcntl.c (__fcntl): Likewise.
3215         * io/flock.c (__flock): Likewise.
3216         * io/fts.c (fts_load): Likewise.
3217         (fts_close): Likewise.
3218         (fts_read): Likewise.
3219         (fts_set): Likewise.
3220         (fts_children): Likewise.
3221         (fts_build): Likewise.
3222         (fts_stat): Likewise.
3223         (fts_sort): Likewise.
3224         (fts_alloc): Likewise.
3225         (fts_lfree): Likewise.
3226         (fts_palloc): Likewise.
3227         (fts_padjust): Likewise.
3228         (fts_maxarglen): Likewise.
3229         (fts_safe_changedir): Likewise.
3230         * io/getwd.c (getwd): Likewise.
3231         * io/isatty.c (__isatty): Likewise.
3232         * io/lchown.c (__lchown): Likewise.
3233         * io/link.c (__link): Likewise.
3234         * io/linkat.c (linkat): Likewise.
3235         * io/lseek.c (__libc_lseek): Likewise.
3236         * io/mkdir.c (__mkdir): Likewise.
3237         * io/mkdirat.c (mkdirat): Likewise.
3238         * io/mkfifo.c (mkfifo): Likewise.
3239         * io/mkfifoat.c (mkfifoat): Likewise.
3240         * io/open.c (__libc_open): Likewise.
3241         * io/open64.c (__libc_open64): Likewise.
3242         * io/readlink.c (__readlink): Likewise.
3243         * io/readlinkat.c (readlinkat): Likewise.
3244         * io/rmdir.c (__rmdir): Likewise.
3245         * io/symlink.c (__symlink): Likewise.
3246         * io/symlinkat.c (symlinkat): Likewise.
3247         * io/ttyname.c (ttyname): Likewise.
3248         * io/ttyname_r.c (__ttyname_r): Likewise.
3249         * io/umask.c (__umask): Likewise.
3250         * io/unlink.c (__unlink): Likewise.
3251         * io/unlinkat.c (unlinkat): Likewise.
3252         * io/utime.c (utime): Likewise.
3253         * libio/clearerr.c (clearerr): Likewise.
3254         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3255         * libio/feof.c (_IO_feof): Likewise.
3256         * libio/feof_u.c (feof_unlocked): Likewise.
3257         * libio/ferror.c (_IO_ferror): Likewise.
3258         * libio/ferror_u.c (ferror_unlocked): Likewise.
3259         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3260         * libio/fileno.c (__fileno): Likewise.
3261         * libio/fputc.c (fputc): Likewise.
3262         * libio/fputc_u.c (fputc_unlocked): Likewise.
3263         * libio/fputwc.c (fputwc): Likewise.
3264         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3265         * libio/freopen.c (freopen): Likewise.
3266         * libio/freopen64.c (freopen64): Likewise.
3267         * libio/fseek.c (fseek): Likewise.
3268         * libio/fseeko.c (fseeko): Likewise.
3269         * libio/fseeko64.c (fseeko64): Likewise.
3270         * libio/ftello.c (__ftello): Likewise.
3271         * libio/ftello64.c (ftello64): Likewise.
3272         * libio/fwide.c (fwide): Likewise.
3273         * libio/genops.c (_IO_un_link): Likewise.
3274         (_IO_link_in): Likewise.
3275         (_IO_least_marker): Likewise.
3276         (_IO_switch_to_main_get_area): Likewise.
3277         (_IO_switch_to_backup_area): Likewise.
3278         (_IO_switch_to_get_mode): Likewise.
3279         (_IO_free_backup_area): Likewise.
3280         (_IO_switch_to_put_mode): Likewise.
3281         (__overflow): Likewise.
3282         (__underflow): Likewise.
3283         (__uflow): Likewise.
3284         (_IO_setb): Likewise.
3285         (_IO_doallocbuf): Likewise.
3286         (_IO_default_underflow): Likewise.
3287         (_IO_default_uflow): Likewise.
3288         (_IO_default_xsputn): Likewise.
3289         (_IO_sgetn): Likewise.
3290         (_IO_default_xsgetn): Likewise.
3291         (_IO_sync): Likewise.
3292         (_IO_default_setbuf): Likewise.
3293         (_IO_default_seekpos): Likewise.
3294         (_IO_default_doallocate): Likewise.
3295         (_IO_init): Likewise.
3296         (_IO_old_init): Likewise.
3297         (_IO_default_sync): Likewise.
3298         (_IO_default_finish): Likewise.
3299         (_IO_default_seekoff): Likewise.
3300         (_IO_sputbackc): Likewise.
3301         (_IO_sungetc): Likewise.
3302         (_IO_set_column): Likewise.
3303         (_IO_set_column): Likewise.
3304         (_IO_adjust_column): Likewise.
3305         (_IO_get_column): Likewise.
3306         (_IO_init_marker): Likewise.
3307         (_IO_remove_marker): Likewise.
3308         (_IO_marker_difference): Likewise.
3309         (_IO_marker_delta): Likewise.
3310         (_IO_seekmark): Likewise.
3311         (_IO_unsave_markers): Likewise.
3312         (_IO_nobackup_pbackfail): Likewise.
3313         (_IO_default_pbackfail): Likewise.
3314         (_IO_default_seek): Likewise.
3315         (_IO_default_stat): Likewise.
3316         (_IO_default_read): Likewise.
3317         (_IO_default_write): Likewise.
3318         (_IO_default_showmanyc): Likewise.
3319         (_IO_default_imbue): Likewise.
3320         (_IO_iter_next): Likewise.
3321         (_IO_iter_file): Likewise.
3322         * libio/getc.c (_IO_getc): Likewise.
3323         * libio/getwc.c (_IO_getwc): Likewise.
3324         * libio/iofclose.c (_IO_new_fclose): Likewise.
3325         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3326         * libio/iofflush.c (_IO_fflush): Likewise.
3327         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3328         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3329         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3330         * libio/iofgets.c (_IO_fgets): Likewise.
3331         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3332         * libio/iofgetws.c (fgetws): Likewise.
3333         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3334         * libio/iofopen64.c (_IO_fopen64): Likewise.
3335         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3336         (_IO_cookie_write): Likewise.
3337         (_IO_cookie_seek): Likewise.
3338         (_IO_cookie_close): Likewise.
3339         (_IO_cookie_seekoff): Likewise.
3340         (_IO_old_cookie_seek): Likewise.
3341         * libio/iofputs.c (_IO_fputs): Likewise.
3342         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3343         * libio/iofputws.c (fputws): Likewise.
3344         * libio/iofputws_u.c (fputws_unlocked): Likewise.
3345         * libio/iofread.c (_IO_fread): Likewise.
3346         * libio/iofread_u.c (__fread_unlocked): Likewise.
3347         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3348         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3349         * libio/ioftell.c (_IO_ftell): Likewise.
3350         * libio/iofwrite.c (_IO_fwrite): Likewise.
3351         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3352         * libio/iogets.c (_IO_gets): Likewise.
3353         * libio/iopadn.c (_IO_padn): Likewise.
3354         * libio/iopopen.c (_IO_new_proc_open): Likewise.
3355         (_IO_new_popen): Likewise.
3356         (_IO_new_proc_close): Likewise.
3357         * libio/ioputs.c (_IO_puts): Likewise.
3358         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3359         (_IO_seekoff): Likewise.
3360         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3361         (_IO_seekpos): Likewise.
3362         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3363         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3364         * libio/ioungetc.c (_IO_ungetc): Likewise.
3365         * libio/ioungetwc.c (ungetwc): Likewise.
3366         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3367         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3368         * libio/iowpadn.c (_IO_wpadn): Likewise.
3369         * libio/libc_fatal.c (__libc_fatal): Likewise.
3370         * libio/memstream.c (__open_memstream): Likewise.
3371         (_IO_mem_sync): Likewise.
3372         (_IO_mem_finish): Likewise.
3373         * libio/oldfileops.c (_IO_old_file_init): Likewise.
3374         (_IO_old_file_close_it): Likewise.
3375         (_IO_old_file_finish): Likewise.
3376         (_IO_old_file_fopen): Likewise.
3377         (_IO_old_file_attach): Likewise.
3378         (_IO_old_file_setbuf): Likewise.
3379         (_IO_old_do_write): Likewise.
3380         (old_do_write): Likewise.
3381         (_IO_old_file_underflow): Likewise.
3382         (_IO_old_file_overflow): Likewise.
3383         (_IO_old_file_sync): Likewise.
3384         (_IO_old_file_seekoff): Likewise.
3385         (_IO_old_file_write): Likewise.
3386         (_IO_old_file_xsputn): Likewise.
3387         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3388         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3389         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3390         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3391         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3392         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3393         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3394         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3395         (_IO_old_popen): Likewise.
3396         (_IO_old_proc_close): Likewise.
3397         * libio/oldpclose.c (__old_pclose): Likewise.
3398         * libio/pclose.c (__new_pclose): Likewise.
3399         * libio/peekc.c (_IO_peekc_locked): Likewise.
3400         * libio/putc.c (_IO_putc): Likewise.
3401         * libio/putc_u.c (putc_unlocked): Likewise.
3402         * libio/putchar.c (putchar): Likewise.
3403         * libio/putchar_u.c (putchar_unlocked): Likewise.
3404         * libio/putwc.c (putwc): Likewise.
3405         * libio/putwc_u.c (putwc_unlocked): Likewise.
3406         * libio/putwchar.c (putwchar): Likewise.
3407         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3408         * libio/rewind.c (rewind): Likewise.
3409         * libio/setbuf.c (setbuf): Likewise.
3410         * libio/setlinebuf.c (setlinebuf): Likewise.
3411         * libio/vasprintf.c (_IO_vasprintf): Likewise.
3412         * libio/vscanf.c (_IO_vscanf): Likewise.
3413         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3414         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3415         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3416         * libio/wgenops.c (_IO_least_wmarker): Likewise.
3417         (_IO_switch_to_main_wget_area): Likewise.
3418         (_IO_switch_to_wbackup_area): Likewise.
3419         (_IO_wsetb): Likewise.
3420         (_IO_wdefault_pbackfail): Likewise.
3421         (_IO_wdefault_finish): Likewise.
3422         (_IO_wdefault_uflow): Likewise.
3423         (__woverflow): Likewise.
3424         (__wuflow): Likewise.
3425         (__wunderflow): Likewise.
3426         (_IO_wdefault_xsputn): Likewise.
3427         (_IO_wdefault_xsgetn): Likewise.
3428         (_IO_wdoallocbuf): Likewise.
3429         (_IO_wdefault_doallocate): Likewise.
3430         (_IO_switch_to_wget_mode): Likewise.
3431         (_IO_free_wbackup_area): Likewise.
3432         (_IO_switch_to_wput_mode): Likewise.
3433         (_IO_sputbackwc): Likewise.
3434         (_IO_sungetwc): Likewise.
3435         (_IO_adjust_wcolumn): Likewise.
3436         (_IO_init_wmarker): Likewise.
3437         (_IO_wmarker_delta): Likewise.
3438         (_IO_seekwmark): Likewise.
3439         (_IO_unsave_wmarkers): Likewise.
3440         * libio/wmemstream.c (open_wmemstream): Likewise.
3441         (_IO_wmem_sync): Likewise.
3442         (_IO_wmem_finish): Likewise.
3443         * locale/nl_langinfo.c (nl_langinfo): Likewise.
3444         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3445         * locale/programs/simple-hash.c (init_hash): Likewise.
3446         (delete_hash): Likewise.
3447         (insert_entry): Likewise.
3448         (set_entry): Likewise.
3449         (next_prime): Likewise.
3450         (is_prime): Likewise.
3451         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3452         (xmalloc): Likewise.
3453         (xrealloc): Likewise.
3454         * locale/programs/xstrdup.c (xstrdup): Likewise.
3455         * localedata/collate-test.c (xstrcoll): Likewise.
3456         * localedata/xfrm-test.c (xstrcmp): Likewise.
3457         * login/getlogin_r.c (__getlogin_r): Likewise.
3458         * login/getpt.c (__posix_openpt): Likewise.
3459         * login/login_tty.c (login_tty): Likewise.
3460         * login/setlogin.c (setlogin): Likewise.
3461         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3462         (mach_msg_destroy_port): Likewise.
3463         (mach_msg_destroy_memory): Likewise.
3464         * malloc/mcheck.c (flood): Likewise.
3465         * misc/acct.c (acct): Likewise.
3466         * misc/brk.c (__brk): Likewise.
3467         * misc/chflags.c (chflags): Likewise.
3468         * misc/chroot.c (chroot): Likewise.
3469         * misc/fchflags.c (fchflags): Likewise.
3470         * misc/fstab.c (getfsspec): Likewise.
3471         (getfsfile): Likewise.
3472         * misc/fsync.c (fsync): Likewise.
3473         * misc/ftruncate.c (__ftruncate): Likewise.
3474         * misc/ftruncate64.c (__ftruncate64): Likewise.
3475         * misc/getdomain.c (getdomainname): Likewise.
3476         (getdomainname): Likewise.
3477         * misc/gethostname.c (__gethostname): Likewise.
3478         * misc/getpass.c (getpass): Likewise.
3479         * misc/getttyent.c (skip): Likewise.
3480         (value): Likewise.
3481         * misc/gtty.c (gtty): Likewise.
3482         * misc/hsearch.c (hsearch): Likewise.
3483         (hcreate): Likewise.
3484         * misc/hsearch_r.c (__hcreate_r): Likewise.
3485         (__hdestroy_r): Likewise.
3486         * misc/ioctl.c (__ioctl): Likewise.
3487         * misc/mkdtemp.c (mkdtemp): Likewise.
3488         * misc/mkostemp.c (mkostemp): Likewise.
3489         * misc/mkostemp64.c (mkostemp64): Likewise.
3490         * misc/mkostemps.c (mkostemps): Likewise.
3491         * misc/mkostemps64.c (mkostemps64): Likewise.
3492         * misc/mkstemp.c (mkstemp): Likewise.
3493         * misc/mkstemp64.c (mkstemp64): Likewise.
3494         * misc/mkstemps.c (mkstemps): Likewise.
3495         * misc/mkstemps64.c (mkstemps64): Likewise.
3496         * misc/mktemp.c (__mktemp): Likewise.
3497         * misc/preadv.c (preadv): Likewise.
3498         * misc/preadv64.c (preadv64): Likewise.
3499         * misc/pwritev.c (pwritev): Likewise.
3500         * misc/pwritev64.c (pwritev64): Likewise.
3501         * misc/readv.c (__readv): Likewise.
3502         * misc/revoke.c (revoke): Likewise.
3503         * misc/setdomain.c (setdomainname): Likewise.
3504         * misc/setegid.c (setegid): Likewise.
3505         * misc/seteuid.c (seteuid): Likewise.
3506         * misc/sethostid.c (sethostid): Likewise.
3507         * misc/sethostname.c (sethostname): Likewise.
3508         * misc/setregid.c (__setregid): Likewise.
3509         * misc/setreuid.c (__setreuid): Likewise.
3510         * misc/sstk.c (sstk): Likewise.
3511         * misc/stty.c (stty): Likewise.
3512         * misc/syscall.c (syscall): Likewise.
3513         * misc/syslog.c (setlogmask): Likewise.
3514         * misc/truncate.c (__truncate): Likewise.
3515         * misc/truncate64.c (truncate64): Likewise.
3516         * misc/ualarm.c (ualarm): Likewise.
3517         * misc/usleep.c (usleep): Likewise.
3518         * misc/ustat.c (ustat): Likewise.
3519         * misc/writev.c (__writev): Likewise.
3520         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
3521         * nptl/old_pthread_cond_broadcast.c
3522         (__pthread_cond_broadcast_2_0): Likewise.
3523         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
3524         Likewise.
3525         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
3526         Likewise.
3527         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
3528         Likewise.
3529         * nptl/pt-raise.c (raise): Likewise.
3530         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
3531         Likewise.
3532         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
3533         * nptl/pthread_barrierattr_destroy.c
3534         (pthread_barrierattr_destroy): Likewise.
3535         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3536         Likewise.
3537         * nptl/pthread_barrierattr_setpshared.c
3538         (pthread_barrierattr_setpshared): Likewise.
3539         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3540         Likewise.
3541         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3542         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3543         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3544         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
3545         Likewise.
3546         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
3547         Likewise.
3548         * nptl/pthread_condattr_getpshared.c
3549         (pthread_condattr_getpshared): Likewise.
3550         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
3551         Likewise.
3552         * nptl/pthread_condattr_setpshared.c
3553         (pthread_condattr_setpshared): Likewise.
3554         * nptl/pthread_detach.c (pthread_detach): Likewise.
3555         * nptl/pthread_equal.c (__pthread_equal): Likewise.
3556         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
3557         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
3558         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
3559         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
3560         Likewise.
3561         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3562         Likewise.
3563         * nptl/pthread_mutex_getprioceiling.c
3564         (pthread_mutex_getprioceiling): Likewise.
3565         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
3566         Likewise.
3567         * nptl/pthread_mutexattr_getprotocol.c
3568         (pthread_mutexattr_getprotocol): Likewise.
3569         * nptl/pthread_mutexattr_getpshared.c
3570         (pthread_mutexattr_getpshared): Likewise.
3571         * nptl/pthread_mutexattr_getrobust.c
3572         (pthread_mutexattr_getrobust): Likewise.
3573         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3574         Likewise.
3575         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
3576         Likewise.
3577         * nptl/pthread_mutexattr_setprioceiling.c
3578         (pthread_mutexattr_setprioceiling): Likewise.
3579         * nptl/pthread_mutexattr_setprotocol.c
3580         (pthread_mutexattr_setprotocol): Likewise.
3581         * nptl/pthread_mutexattr_setpshared.c
3582         (pthread_mutexattr_setpshared): Likewise.
3583         * nptl/pthread_mutexattr_setrobust.c
3584         (pthread_mutexattr_setrobust): Likewise.
3585         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3586         Likewise.
3587         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3588         Likewise.
3589         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3590         Likewise.
3591         * nptl/pthread_rwlockattr_getkind_np.c
3592         (pthread_rwlockattr_getkind_np): Likewise.
3593         * nptl/pthread_rwlockattr_getpshared.c
3594         (pthread_rwlockattr_getpshared): Likewise.
3595         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3596         Likewise.
3597         * nptl/pthread_rwlockattr_setkind_np.c
3598         (pthread_rwlockattr_setkind_np): Likewise.
3599         * nptl/pthread_rwlockattr_setpshared.c
3600         (pthread_rwlockattr_setpshared): Likewise.
3601         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3602         Likewise.
3603         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3604         Likewise.
3605         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3606         Likewise.
3607         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3608         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3609         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3610         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3611         * nptl/sem_close.c (sem_close): Likewise.
3612         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3613         * nptl/sem_init.c (__old_sem_init): Likewise.
3614         * nptl/sigaction.c (__sigaction): Likewise.
3615         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3616         * posix/_exit.c (_exit): Likewise.
3617         * posix/alarm.c (alarm): Likewise.
3618         * posix/confstr.c (confstr): Likewise.
3619         * posix/fpathconf.c (__fpathconf): Likewise.
3620         * posix/getgroups.c (__getgroups): Likewise.
3621         * posix/getpgid.c (__getpgid): Likewise.
3622         * posix/group_member.c (__group_member): Likewise.
3623         * posix/pathconf.c (__pathconf): Likewise.
3624         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3625         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3626         * posix/setgid.c (__setgid): Likewise.
3627         * posix/setpgid.c (__setpgid): Likewise.
3628         * posix/setuid.c (__setuid): Likewise.
3629         * posix/sleep.c (__sleep): Likewise.
3630         * posix/sysconf.c (__sysconf): Likewise.
3631         * posix/times.c (__times): Likewise.
3632         * posix/uname.c (__uname): Likewise.
3633         * posix/waitid.c (__waitid): Likewise.
3634         * pwd/getpw.c (__getpw): Likewise.
3635         * resolv/base64.c (b64_pton): Likewise.
3636         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3637         * resolv/gethnamaddr.c (Dprintf): Likewise.
3638         (gethostbyname): Likewise.
3639         (gethostbyname2): Likewise.
3640         (gethostbyaddr): Likewise.
3641         (_sethtent): Likewise.
3642         (_gethtbyname): Likewise.
3643         (_gethtbyname2): Likewise.
3644         (_gethtbyaddr): Likewise.
3645         (map_v4v6_address): Likewise.
3646         (map_v4v6_hostent): Likewise.
3647         (addrsort): Likewise.
3648         (ht_sethostent): Likewise.
3649         (ht_gethostbyname): Likewise.
3650         (ht_gethostbyaddr): Likewise.
3651         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
3652         (inet_net_ntop_ipv4): Likewise.
3653         * resolv/inet_neta.c (inet_neta): Likewise.
3654         * resolv/inet_ntop.c (inet_ntop): Likewise.
3655         (inet_ntop4): Likewise.
3656         (inet_ntop6): Likewise.
3657         * resolv/inet_pton.c (__inet_pton): Likewise.
3658         (inet_pton4): Likewise.
3659         (inet_pton6): Likewise.
3660         * resolv/res_debug.c (loc_aton): Likewise.
3661         (loc_ntoa): Likewise.
3662         * resource/getpriority.c (__getpriority): Likewise.
3663         * resource/getrusage.c (__getrusage): Likewise.
3664         * resource/nice.c (nice): Likewise.
3665         * resource/setpriority.c (__setpriority): Likewise.
3666         * resource/setrlimit64.c (setrlimit64): Likewise.
3667         * resource/vlimit.c (vlimit): Likewise.
3668         * resource/vtimes.c (vtimes): Likewise.
3669         * rt/aio_error.c (aio_error): Likewise.
3670         * rt/aio_return.c (aio_return): Likewise.
3671         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
3672         * signal/kill.c (__kill): Likewise.
3673         * signal/killpg.c (killpg): Likewise.
3674         * signal/raise.c (raise): Likewise.
3675         * signal/sigaction.c (__sigaction): Likewise.
3676         * signal/sigaddset.c (sigaddset): Likewise.
3677         * signal/sigaltstack.c (sigaltstack): Likewise.
3678         * signal/sigandset.c (sigandset): Likewise.
3679         * signal/sigblock.c (__sigblock): Likewise.
3680         * signal/sigdelset.c (sigdelset): Likewise.
3681         * signal/sigempty.c (sigemptyset): Likewise.
3682         * signal/sigfillset.c (sigfillset): Likewise.
3683         * signal/sighold.c (sighold): Likewise.
3684         * signal/sigignore.c (sigignore): Likewise.
3685         * signal/sigintr.c (siginterrupt): Likewise.
3686         * signal/sigisempty.c (sigisemptyset): Likewise.
3687         * signal/sigismem.c (sigismember): Likewise.
3688         * signal/signal.c (signal): Likewise.
3689         * signal/sigorset.c (sigorset): Likewise.
3690         * signal/sigpause.c (__sigpause): Likewise.
3691         * signal/sigpending.c (sigpending): Likewise.
3692         * signal/sigprocmask.c (__sigprocmask): Likewise.
3693         * signal/sigrelse.c (sigrelse): Likewise.
3694         * signal/sigreturn.c (__sigreturn): Likewise.
3695         * signal/sigset.c (sigset): Likewise.
3696         * signal/sigsetmask.c (__sigsetmask): Likewise.
3697         * signal/sigstack.c (sigstack): Likewise.
3698         * signal/sigsuspend.c (__sigsuspend): Likewise.
3699         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3700         * signal/sysv_signal.c (__sysv_signal): Likewise.
3701         * socket/accept.c (accept): Likewise.
3702         * socket/accept4.c (__libc_accept4): Likewise.
3703         * socket/bind.c (__bind): Likewise.
3704         * socket/connect.c (__connect): Likewise.
3705         * socket/getpeername.c (getpeername): Likewise.
3706         * socket/getsockname.c (__getsockname): Likewise.
3707         * socket/getsockopt.c (getsockopt): Likewise.
3708         * socket/listen.c (__listen): Likewise.
3709         * socket/recv.c (__recv): Likewise.
3710         * socket/recvmsg.c (__recvmsg): Likewise.
3711         * socket/send.c (__send): Likewise.
3712         * socket/sendmsg.c (__sendmsg): Likewise.
3713         * socket/shutdown.c (shutdown): Likewise.
3714         * socket/sockatmark.c (sockatmark): Likewise.
3715         * socket/socket.c (__socket): Likewise.
3716         * stdio-common/ctermid.c (ctermid): Likewise.
3717         * stdio-common/cuserid.c (cuserid): Likewise.
3718         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3719         * stdio-common/remove.c (remove): Likewise.
3720         * stdio-common/rename.c (rename): Likewise.
3721         * stdio-common/renameat.c (renameat): Likewise.
3722         * stdio-common/tempname.c (__gen_tempname): Likewise.
3723         * stdio-common/xbug.c (InitBuffer): Likewise.
3724         (AppendToBuffer): Likewise.
3725         (ReadFile): Likewise.
3726         * stdlib/a64l.c (a64l): Likewise.
3727         * stdlib/drand48_r.c (drand48_r): Likewise.
3728         * stdlib/getcontext.c (getcontext): Likewise.
3729         * stdlib/getenv.c (getenv): Likewise.
3730         * stdlib/l64a.c (l64a): Likewise.
3731         * stdlib/llabs.c (llabs): Likewise.
3732         * stdlib/lldiv.c (lldiv): Likewise.
3733         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3734         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3735         * stdlib/putenv.c (putenv): Likewise.
3736         * stdlib/random.c (__srandom): Likewise.
3737         (__initstate): Likewise.
3738         (__setstate): Likewise.
3739         * stdlib/random_r.c (__srandom_r): Likewise.
3740         (__setstate_r): Likewise.
3741         (__random_r): Likewise.
3742         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3743         * stdlib/setcontext.c (setcontext): Likewise.
3744         * stdlib/setenv.c (setenv): Likewise.
3745         (unsetenv): Likewise.
3746         * stdlib/srand48.c (srand48): Likewise.
3747         * stdlib/srand48_r.c (__srand48_r): Likewise.
3748         * stdlib/swapcontext.c (swapcontext): Likewise.
3749         * stdlib/system.c (__libc_system): Likewise.
3750         * stdlib/tst-strtod.c (expand): Likewise.
3751         * stdlib/tst-strtol.c (expand): Likewise.
3752         * stdlib/tst-strtoll.c (expand): Likewise.
3753         * streams/fattach.c (fattach): Likewise.
3754         * streams/fdetach.c (fdetach): Likewise.
3755         * streams/getmsg.c (getmsg): Likewise.
3756         * streams/isastream.c (isastream): Likewise.
3757         * string/ffs.c (__ffs): Likewise.
3758         * string/ffsll.c (ffsll): Likewise.
3759         * string/memcmp.c (memcmp_common_alignment): Likewise.
3760         (memcmp_not_common_alignment): Likewise.
3761         (MEMCMP): Likewise.
3762         * string/memcpy.c (memcpy): Likewise.
3763         * string/memmove.c (MEMMOVE): Likewise.
3764         * string/memset.c (memset): Likewise.
3765         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3766         * string/strchrnul.c (STRCHRNUL): Likewise.
3767         * string/strerror.c (strerror): Likewise.
3768         * string/strndup.c (__strndup): Likewise.
3769         * string/strverscmp.c (__strverscmp): Likewise.
3770         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3771         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3772         (clnttcp_freeres): Likewise.
3773         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3774         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3775         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3776         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3777         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3778         (xdr_callhdr): Likewise.
3779         * sunrpc/rpcinfo.c (udpping): Likewise.
3780         (tcpping): Likewise.
3781         (pstatus): Likewise.
3782         (pmapdump): Likewise.
3783         (brdcst): Likewise.
3784         (deletereg): Likewise.
3785         (getprognum): Likewise.
3786         (getvers): Likewise.
3787         (get_inet_address): Likewise.
3788         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3789         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3790         (svcudp_stat): Likewise.
3791         (svcudp_recv): Likewise.
3792         (svcudp_reply): Likewise.
3793         (svcudp_getargs): Likewise.
3794         (svcudp_freeargs): Likewise.
3795         (svcudp_destroy): Likewise.
3796         * sunrpc/xdr.c (xdr_bytes): Likewise.
3797         (xdr_netobj): Likewise.
3798         (xdr_string): Likewise.
3799         (xdr_wrapstring): Likewise.
3800         * sunrpc/xdr_float.c (xdr_float): Likewise.
3801         (xdr_double): Likewise.
3802         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3803         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3804         * sysvipc/ftok.c (ftok): Likewise.
3805         * sysvipc/msgctl.c (msgctl): Likewise.
3806         * sysvipc/msgget.c (msgget): Likewise.
3807         * sysvipc/msgrcv.c (msgrcv): Likewise.
3808         * sysvipc/msgsnd.c (msgsnd): Likewise.
3809         * sysvipc/semget.c (semget): Likewise.
3810         * sysvipc/semop.c (semop): Likewise.
3811         * sysvipc/shmat.c (shmat): Likewise.
3812         * sysvipc/shmctl.c (shmctl): Likewise.
3813         * sysvipc/shmdt.c (shmdt): Likewise.
3814         * sysvipc/shmget.c (shmget): Likewise.
3815         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3816         * termios/speed.c (cfgetospeed): Likewise.
3817         (cfgetispeed): Likewise.
3818         (cfsetospeed): Likewise.
3819         (cfsetispeed): Likewise.
3820         * termios/tcflow.c (tcflow): Likewise.
3821         * termios/tcflush.c (tcflush): Likewise.
3822         * termios/tcgetattr.c (__tcgetattr): Likewise.
3823         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3824         * termios/tcgetsid.c (tcgetsid): Likewise.
3825         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3826         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3827         * time/adjtime.c (__adjtime): Likewise.
3828         * time/dysize.c (dysize): Likewise.
3829         * time/ftime.c (ftime): Likewise.
3830         * time/getitimer.c (__getitimer): Likewise.
3831         * time/gettimeofday.c (__gettimeofday): Likewise.
3832         * time/gmtime.c (__gmtime_r): Likewise.
3833         (gmtime): Likewise.
3834         * time/localtime.c (__localtime_r): Likewise.
3835         (localtime): Likewise.
3836         * time/offtime.c (__offtime): Likewise.
3837         * time/settimeofday.c (__settimeofday): Likewise.
3838         * time/stime.c (stime): Likewise.
3839         * time/strftime_l.c (tm_diff): Likewise.
3840         (iso_week_days): Likewise.
3841         * time/strptime.c (strptime): Likewise.
3842         * time/time.c (time): Likewise.
3843         * time/timespec_get.c (timespec_get): Likewise.
3844         * time/tzset.c (tzset_internal): Likewise.
3845         (compute_change): Likewise.
3846         (__tz_compute): Likewise.
3847         * wcsmbs/btowc.c (__btowc): Likewise.
3848         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3849         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3850         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3851         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3852         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3853         * wcsmbs/wcscat.c (__wcscat): Likewise.
3854         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3855         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3856         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3857         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3858         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3859         * wcsmbs/wcslen.c (__wcslen): Likewise.
3860         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3861         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3862         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3863         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3864         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3865         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3866         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3867         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3868         * wcsmbs/wcstok.c (wcstok): Likewise.
3869         * wcsmbs/wctob.c (wctob): Likewise.
3870         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3871         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3872         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3873         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3874         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3875         * wcsmbs/wmemset.c (__wmemset): Likewise.
3876         * wctype/wcfuncs.c (__towlower): Likewise.
3877         (__towupper): Likewise.
3879         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3880         (lll_unlock_elision): Add adapt_count parameter.
3882 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3884         * sysdeps/nptl/configure.ac: Do not give errors based on the
3885         results of top-level configure tests.
3886         * sysdeps/nptl/configure: Regenerated.
3888         * configure.ac (libc_cv_Bgroup): Remove configure test.
3889         * configure: Regenerated.
3890         * config.make.in (have-Bgroup): Remove variable.
3892         * configure.ac (sizeof_long_double): Remove configure test.
3893         * configure: Regenerated.
3894         * config.make.in (sizeof-long-double): Remove variable.
3896         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3897         * configure: Regenerated.
3898         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3899         variable.
3900         (exceptions): Likewise.
3901         * sysdeps/arm/configure: Regenerated.
3902         * config.make.in (exceptions): Remove variable.
3903         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3904         $(exceptions).
3905         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3906         (CFLAGS-vdprintf_chk.c): Likewise.
3907         (CFLAGS-printf_chk.c): Likewise.
3908         (CFLAGS-fprintf_chk.c): Likewise.
3909         (CFLAGS-vprintf_chk.c): Likewise.
3910         (CFLAGS-vfprintf_chk.c): Likewise.
3911         (CFLAGS-gets_chk.c): Likewise.
3912         (CFLAGS-fgets_chk.c): Likewise.
3913         (CFLAGS-fgets_u_chk.c): Likewise.
3914         (CFLAGS-fread_chk.c): Likewise.
3915         (CFLAGS-fread_u_chk.c): Likewise.
3916         (CFLAGS-wprintf_chk.c): Likewise.
3917         (CFLAGS-fwprintf_chk.c): Likewise.
3918         (CFLAGS-vwprintf_chk.c): Likewise.
3919         (CFLAGS-vfwprintf_chk.c): Likewise.
3920         (CFLAGS-fgetws_chk.c): Likewise.
3921         (CFLAGS-fgetws_u_chk.c): Likewise.
3922         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3923         (CFLAGS-fputc.c): Likewise.
3924         (CFLAGS-fputwc.c): Likewise.
3925         (CFLAGS-freopen64.c): Likewise.
3926         (CFLAGS-freopen.c): Likewise.
3927         (CFLAGS-fseek.c): Likewise.
3928         (CFLAGS-fseeko64.c): Likewise.
3929         (CFLAGS-fseeko.c): Likewise.
3930         (CFLAGS-ftello64.c): Likewise.
3931         (CFLAGS-ftello.c): Likewise.
3932         (CFLAGS-fwide.c): Likewise.
3933         (CFLAGS-genops.c): Likewise.
3934         (CFLAGS-getc.c): Likewise.
3935         (CFLAGS-getchar.c): Likewise.
3936         (CFLAGS-getwc.c): Likewise.
3937         (CFLAGS-getwchar.c): Likewise.
3938         (CFLAGS-iofclose.c): Likewise.
3939         (CFLAGS-iofflush.c): Likewise.
3940         (CFLAGS-iofgetpos64.c): Likewise.
3941         (CFLAGS-iofgetpos.c): Likewise.
3942         (CFLAGS-iofgets.c): Likewise.
3943         (CFLAGS-iofgetws.c): Likewise.
3944         (CFLAGS-iofputs.c): Likewise.
3945         (CFLAGS-iofputws.c): Likewise.
3946         (CFLAGS-iofread.c): Likewise.
3947         (CFLAGS-iofsetpos64.c): Likewise.
3948         (CFLAGS-iofsetpos.c): Likewise.
3949         (CFLAGS-ioftell.c): Likewise.
3950         (CFLAGS-iofwrite.c): Likewise.
3951         (CFLAGS-iogetdelim.c): Likewise.
3952         (CFLAGS-iogetline.c): Likewise.
3953         (CFLAGS-iogets.c): Likewise.
3954         (CFLAGS-iogetwline.c): Likewise.
3955         (CFLAGS-ioputs.c): Likewise.
3956         (CFLAGS-ioseekoff.c): Likewise.
3957         (CFLAGS-ioseekpos.c): Likewise.
3958         (CFLAGS-iosetbuffer.c): Likewise.
3959         (CFLAGS-iosetvbuf.c): Likewise.
3960         (CFLAGS-ioungetc.c): Likewise.
3961         (CFLAGS-ioungetwc.c): Likewise.
3962         (CFLAGS-oldfileops.c): Likewise.
3963         (CFLAGS-oldiofclose.c): Likewise.
3964         (CFLAGS-oldiofgetpos64.c): Likewise.
3965         (CFLAGS-oldiofgetpos.c): Likewise.
3966         (CFLAGS-oldiofsetpos64.c): Likewise.
3967         (CFLAGS-oldiofsetpos.c): Likewise.
3968         (CFLAGS-peekc.c): Likewise.
3969         (CFLAGS-putc.c): Likewise.
3970         (CFLAGS-putchar.c): Likewise.
3971         (CFLAGS-putwc.c): Likewise.
3972         (CFLAGS-putwchar.c): Likewise.
3973         (CFLAGS-rewind.c): Likewise.
3974         (CFLAGS-wfileops.c): Likewise.
3975         (CFLAGS-wgenops.c): Likewise.
3976         (CFLAGS-oldiofopen.c): Likewise.
3977         (CFLAGS-iofopen.c): Likewise.
3978         (CFLAGS-iofopen64.c): Likewise.
3979         (CFLAGS-oldtmpfile.c): Likewise.
3980         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3981         (CFLAGS-fprintf.c): Likewise.
3982         (CFLAGS-printf.c): Likewise.
3983         (CFLAGS-vfwprintf.c): Likewise.
3984         (CFLAGS-vfscanf.c): Likewise.
3985         (CFLAGS-vfwscanf.c): Likewise.
3986         (CFLAGS-fscanf.c): Likewise.
3987         (CFLAGS-scanf.c): Likewise.
3988         (CFLAGS-isoc99_vfscanf.c): Likewise.
3989         (CFLAGS-isoc99_vscanf.c): Likewise.
3990         (CFLAGS-isoc99_fscanf.c): Likewise.
3991         (CFLAGS-isoc99_scanf.c): Likewise.
3992         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3993         (CFLAGS-isoc99_fwscanf.c): Likewise.
3994         (CFLAGS-isoc99_vwscanf.c): Likewise.
3995         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3997         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3998         after mkstemp64.
3999         * login/tst-utmp.c (do_prepare): Likewise.
4000         * rt/tst-aio.c (do_prepare): Likewise.
4001         * rt/tst-aio64.c (do_prepare): Likewise.
4003 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4005         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4006         (__lll_lock_elision): Remove adapt_count decrement...
4007         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4008         (__lll_trylock_elision): Likewise.
4009         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4010         (__lll_unlock_elision): ... to here. And utilize
4011         new adapt_count parameter.
4012         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4013         (__lll_unlock_elision): Update to include adapt_count
4014         parameter.
4015         (lll_unlock_elision): Pass pointer to adapt_count
4016         variable.
4018 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4020         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4021         Add elision adapt_count parameter to list of arguments.
4022         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4023         (lll_unlock_elision): Update with new parameter list
4024         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4025         (lll_unlock_elision): Likewise
4026         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4027         (lll_unlock_elision): Likewise
4029 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4031         [BZ #19122]
4032         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4033         attribute_hidden.
4035         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4036         attribute_hidden.
4037         [IS_IN (rtld)] (__strdup): Likewise.
4038         [IS_IN (rtld)] (__strerror_r): Likewise.
4039         [IS_IN (rtld)] (__strsep_g): Likewise.
4040         [IS_IN (rtld)] (memchr): Likewise.
4041         [IS_IN (rtld)] (memcmp): Likewise.
4042         [IS_IN (rtld)] (memcpy): Likewise.
4043         [IS_IN (rtld)] (memmove): Likewise.
4044         [IS_IN (rtld)] (memset): Likewise.
4045         [IS_IN (rtld)] (rawmemchr): Likewise.
4046         [IS_IN (rtld)] (stpcpy): Likewise.
4047         [IS_IN (rtld)] (strchr): Likewise.
4048         [IS_IN (rtld)] (strcmp): Likewise.
4049         [IS_IN (rtld)] (strlen): Likewise.
4050         [IS_IN (rtld)] (strnlen): Likewise.
4051         [IS_IN (rtld)] (strsep): Likewise.
4053         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4054         attribute_hidden.
4055         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4057         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4058         attribute_hidden.
4059         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4061         * include/setjmp.h (__longjmp): Add attribute_hidden.
4062         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4064         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4065         Add attribute_hidden.
4067         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4068         [IS_IN (rtld)] (__open): Likewise.
4069         [IS_IN (rtld)] (__fcntl): Likewise.
4071         * include/dirent.h (__opendirat): Add attribute_hidden.
4072         (__getdents): Likewise.
4073         (__getdents64): Likewise.
4074         (__alloc_dir): Likewise.
4075         [IS_IN (rtld)] (__closedir): Likewise.
4076         [IS_IN (rtld)] (__fdopendir): Likewise.
4077         [IS_IN (rtld)] (__readdir): Likewise.
4078         [IS_IN (rtld)] (__readdir64): Likewise.
4079         [IS_IN (rtld)] (__rewinddir): Likewise.
4081         * include/dlfcn.h (_dl_catch_error): Moved to ...
4082         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4083         attribute_hidden.
4085         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4086         (_itoa_word): Likewise.
4088         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4089         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4090         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4091         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4092         (_dl_higher_prime_number): Likewise.
4093         (_dl_debug_printf_c): Likewise.
4094         (_dl_signal_cerror): Likewise.
4095         (_dl_receive_error): Likewise.
4096         (_dl_reloc_bad_type): Likewise.
4097         (_dl_resolve_conflicts): Likewise.
4098         (_dl_check_all_versions): Likewise.
4099         (_dl_check_map_versions): Likewise.
4100         (_dl_sort_fini): Likewise.
4101         (_dl_debug_initialize): Likewise.
4102         (_dl_init_paths): Likewise.
4103         (_dl_show_auxv): Likewise.
4104         (_dl_next_ld_env_entry): Likewise.
4105         (_dl_important_hwcaps): Likewise.
4106         (_dl_load_cache_lookup): Likewise.
4107         (_dl_update_slotinfo): Likewise.
4108         (_dl_show_scope): Likewise.
4110         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4111         attribute_hidden.
4112         (_wordcopy_fwd_dest_aligned): Likewise.
4113         (_wordcopy_bwd_aligned): Likewise.
4114         (_wordcopy_bwd_dest_aligned): Likewise.
4116         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4117         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4118         Likewise.
4119         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4120         Likewise.
4121         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4123 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4125         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4126         GCC 5 requirement.
4128 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4130         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4131         test.
4132         * sysdeps/i386/configure: Regenerated.
4133         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4134         code unconditional.
4136         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4137         test.
4138         (libc_cv_asm_popsection_directive): Likewise.
4139         * configure: Regenerated.
4140         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4141         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4142         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4143         (__make_section_unallocated): Make definition unconditional.
4144         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4145         Remove conditional definition.
4146         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4147         (__make_section_unallocated): Likewise.
4149         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4150         * configure: Regenerated.
4151         * config.make.in (static-libgcc): Remove variable.
4152         * Makerules (build-shlib-helper): Use -static-libgcc instead of
4153         $(static-libgcc).
4154         (build-module-helper): Likewise.
4156         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4157         * configure: Regenerated.
4159 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4161         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4162         (struct char_buffer): New type.
4163         (char_buffer_start, char_buffer_size, char_buffer_error)
4164         (char_buffer_rewind, char_buffer_add): New functions.
4165         (ADDW): Remove macro, replaced by the char_buffer_add function.
4166         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4167         of extend_alloca.  Make control flow more explicit.
4169 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4171         [BZ #19137]
4172         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4173         Add -fomit-frame-pointer.
4174         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4176 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4178         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4179         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4180         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4181         only if !__GNUC_PREREQ (5,0).
4182         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4183         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4184         (INTERNAL_SYSCALL_NCS): Likewise.
4185         (LOADREGS_0): New macro for GCC 5.
4186         (ASMARGS_0): Likewise.
4187         (LOADREGS_1): Likewise.
4188         (ASMARGS_1): Likewise.
4189         (LOADREGS_2): Likewise.
4190         (ASMARGS_2): Likewise.
4191         (LOADREGS_3): Likewise.
4192         (ASMARGS_3): Likewise.
4193         (LOADREGS_4): Likewise.
4194         (ASMARGS_4): Likewise.
4195         (LOADREGS_5): Likewise.
4196         (ASMARGS_5): Likewise.
4197         (LOADREGS_6): Likewise.
4198         (ASMARGS_6): Likewise.
4200 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4202         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4203         -fomit-frame-pointer.
4204         (CFLAGS-mmap64.c): Likewise.
4205         (CFLAGS-semtimedop.c): Likewise.
4206         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4207         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4208         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4209         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4211 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4213         [BZ #18928]
4214         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4215         _dl_pointer_guard member.
4216         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4217         initializer.
4218         (security_init): Always set up pointer guard.
4219         (process_envvars): Do not process LD_POINTER_GUARD.
4221 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4223         [BZ #19134]
4224         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4225         (.LC2): Likewise.
4226         (.LC3): Likewise.
4227         (__lround): Do not add 0.5 to integer or out-of-range arguments.
4229 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4231         [BZ #19129]
4232         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4233         r0 and r1.
4235 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
4237         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4239 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
4241         * include/stap-probe.h: Fix macro definition formatting.
4243 2015-10-14  Florian Weimer  <fweimer@redhat.com>
4245         [BZ #19074]
4246         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4247         load and store num_ifs.
4249 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4251         [BZ #18822]
4252         * sysdeps/unix/sysv/linux/sched_getaffinity.c
4253         (__sched_getaffinity_new): Add libc_hidden_proto and
4254         libc_hidden_def.
4256 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4258         [BZ #19007]
4259         * scripts/localplt.awk: Also allow GOT references.
4260         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4261         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4262         with "+ REL R_386_GLOB_DAT".
4263         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4264         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4266 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4268         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4269         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4270         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4271         Likewise.
4272         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4273         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4274         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4275         INTERNAL_SYSCALLINTERNAL_SYSCALL and
4276         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4277         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4278         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4279         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4280         Likewise.
4281         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4283 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4285         [BZ #19125]
4286         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4287         <math_private.h> and <stdint.h>.
4288         (__llround): Avoid conversions to and from long long int, and
4289         subtractions, where those might raise spurious exceptions.
4290         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4291         <math_private.h> and <stdint.h>.
4292         (__llroundf): Avoid conversions to and from long long int, and
4293         subtractions, where those might raise spurious exceptions.
4295 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4297         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4298         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4299         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4300         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4301         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4302         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4303         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4304         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4305         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4306         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4307         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4308         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4309         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4310         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4311         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4312         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4313         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4314         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4315         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4316         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4317         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4318         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4319         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4320         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4321         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4322         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4323         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4324         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4325         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4326         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4327         (__xstat64_conv): Likewise.
4328         (__xstat32_conv): Likewise.
4330 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4332         * sysdeps/unix/sysv/linux/sysdep.h: New file.
4333         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4334         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4335         <sysdeps/unix/sysv/linux/sysdep.h>.
4336         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4337         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4338         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4339         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4340         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4341         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4342         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4343         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4344         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4347         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4348         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4349         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4350         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4351         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4352         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4353         (sysdep-dl-routines): Add sysdep.
4354         [$(subdir) == nptl] (libpthread-routines): Likewise.
4355         [$(subdir) == rt] (librt-routines): Likewise.
4356         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4357         PIC when branching to SYSCALL_ERROR_LABEL.
4358         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4359         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4360         <sysdeps/unix/sysv/linux/sysdep.h>.
4361         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4362         (SYSCALL_ERROR_ERRNO): Removed.
4363         (SYSCALL_ERROR_HANDLER): Changed to empty.
4364         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4365         (__syscall_error): New prototype.
4366         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4367         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4369 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4371         [BZ #19124]
4372         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4373         (_dl_runtime_resolve_avx512): Make it a hidden alias of
4374         _dl_runtime_resolve_avx.
4375         (_dl_runtime_profile_avx512): Make it a hidden alias of
4376         _dl_runtime_profile_avx.
4378 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4380         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4381         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4382         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4383         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4385         [BZ #16422]
4386         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4387         New configure test.
4388         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4389         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4390         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4391         <math_private.h> and <stdint.h>.
4392         (__llrint): Avoid conversions to long long int where those might
4393         raise spurious exceptions.
4394         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4395         <math_private.h> and <stdint.h>.
4396         (__llrintf): Avoid conversions to long long int where those might
4397         raise spurious exceptions.
4399 2015-10-12  Andreas Schwab  <schwab@suse.de>
4401         [BZ #18969]
4402         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
4403         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4404         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
4405         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4406         $(gen-locales).
4407         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
4408         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4409         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4410         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4411         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4412         $(gen-locales).
4413         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
4414         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4415         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4416         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4417         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4418         ($(objpfx)tst-ftell-active-handler.out)
4419         ($(objpfx)tst-ftell-append.out)
4420         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4421         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4422         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4423         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4424         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
4425         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4426         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4427         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4428         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4429         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4430         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4431         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4432         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4433         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4434         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4435         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4436         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4437         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4438         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
4439         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4440         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4441         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4442         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4443         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
4444         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4445         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4446         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4447         $(gen-locales).
4448         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
4449         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4450         $(gen-locales).
4451         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
4452         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4453         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4454         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4455         $(gen-locales).
4456         * libio/tst_wprintf2.c (main): Use explicit locale.
4457         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4459 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4461         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4462         __msg_sig_post.
4463         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4465 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4467         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4468         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4470         * sysdeps/arm/libm-test-ulps: Regenerated.
4472         [BZ #15470]
4473         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4475         [BZ #16399]
4476         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4477         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4478         and <fix-fp-int-convert-overflow.h>.
4479         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4480         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4481         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4482         and <fix-fp-int-convert-overflow.h>.
4483         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4484         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4485         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4486         <fix-fp-int-convert-overflow.h>.
4487         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4488         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4489         * sysdeps/ieee754/dbl-64/s_lround.c: Include
4490         <fix-fp-int-convert-overflow.h>.
4491         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4492         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4493         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4494         and <fix-fp-int-convert-overflow.h>.
4495         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4496         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4497         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4498         <limits.h> and <fix-fp-int-convert-overflow.h>.
4499         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4500         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4501         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4502         and <fix-fp-int-convert-overflow.h>.
4503         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4504         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4505         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4506         and <fix-fp-int-convert-overflow.h>.
4507         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4508         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4509         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4511 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
4513         [BZ #18589]
4514         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
4515         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
4516         $(gen-locales).
4518 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4519             Phil Blundell <pb@pbcl.net>
4521         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
4522         * nptl/tst-cancel26.c: New file.
4523         * nptl/tst-cancel27.c: Likewise.
4525 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
4527         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
4528         __ILP32__ isn't defined.
4529         (lrint): Likewise.
4530         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
4531         (lrintf): Likewise.
4532         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
4533         (lrintl): Likewise.
4534         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
4535         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
4536         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
4538 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4540         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4541         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4543         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
4544         file.
4545         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
4546         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4548 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4550         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
4551         configure test.
4552         * sysdeps/i386/configure: Regenerated.
4553         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
4554         configure test.
4555         * sysdeps/x86_64/configure: Regenerated.
4556         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
4557         Make code unconditional.
4559         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
4560         test.
4561         * sysdeps/i386/configure: Regenerated.
4562         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
4563         test.
4564         * sysdeps/x86_64/configure: Regenerated.
4565         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
4566         Make code unconditional.
4567         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4568         Likewise.
4569         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
4570         Likewise.
4571         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4572         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
4573         code unconditional.
4574         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4575         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
4576         code unconditional.
4577         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4578         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
4579         code unconditional.
4580         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
4581         code unconditional.
4582         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4583         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
4584         code unconditional.
4585         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4586         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4587         code unconditional.
4588         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4589         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4590         code unconditional.
4591         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4592         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4593         code unconditional.
4594         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4595         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4597         [BZ #19095]
4598         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4599         mantissa to long int before shifting left.
4601 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4603         [BZ #19094]
4604         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4605         <limits.h>.
4606         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4607         when result overflows but exception would not result from cast.
4608         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4609         <limits.h>.
4610         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4611         when result overflows but exception would not result from cast.
4612         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4613         <limits.h>.
4614         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4615         when result overflows but exception would not result from cast.
4616         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4617         <limits.h>.
4618         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4619         when result overflows but exception would not result from cast.
4620         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4621         <limits.h>.
4622         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4623         when result overflows but exception would not result from cast.
4624         * math/libm-test.inc (lrint_test_data): Add more tests.
4625         (llrint_test_data): Likewise.
4627 2015-10-08  Roland McGrath  <roland@hack.frob.com>
4629         [BZ #18872]
4630         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4631         Move out from under [$(run-built-tests) = yes] conditional.
4632         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4633         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4635 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
4637         [BZ #18589]
4638         * string/Makefile (tests): Add bug-strcoll2.
4639         (LOCALES): Add cs_CZ.UTF-8.
4640         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
4642         [BZ #18589]
4643         * string/bug-strcoll2.c: New file.
4644         * locale/categories.def: Revert commit
4645         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
4646         * locale/langinfo.h: Likewise.
4647         * locale/localeinfo.h: Likewise.
4648         * locale/C-collate.c: Likewise.
4649         * locale/programs/ld-collate.c (collate_output): Likewise.
4650         * string/strcoll_l.c (STRDIFF): Likewise.
4651         (STRCOLL): Likewise.
4652         * wcsmbs/wcscoll_l.c: Likewise.
4654 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4656         * math/libm-test.inc (lround_test_data): Do not expect the absence
4657         of "inexact" for some tests with non-integer arguments.
4658         (llround_test_data): Likewise.
4660         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
4661         test.
4662         (libc_cv_cc_sse2avx): Likewise.
4663         * sysdeps/i386/configure: Regenerated.
4664         * sysdeps/i386/i686/multiarch/Makefile
4665         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
4666         [$(subdir) = math].
4667         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
4668         code unconditional.
4669         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4670         Likewise.
4671         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
4672         Likewise.
4673         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4674         Likewise.
4675         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
4676         test.
4677         (libc_cv_cc_sse2avx): Likewise.
4678         * sysdeps/x86_64/configure: Regenerated.
4679         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
4680         unconditional.
4681         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
4682         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
4683         unconditional.
4684         (_dl_runtime_profile)
4685         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
4686         conditional code.
4687         * sysdeps/x86_64/fpu/multiarch/Makefile
4688         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
4689         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4690         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4691         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4692         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4693         * sysdeps/x86_64/fpu/multiarch/e_log.c
4694         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4695         * sysdeps/x86_64/fpu/multiarch/s_atan.c
4696         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4697         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4698         Likewise.
4699         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4700         Likewise.
4701         * sysdeps/x86_64/fpu/multiarch/s_sin.c
4702         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4703         * sysdeps/x86_64/fpu/multiarch/s_tan.c
4704         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4705         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4706         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4707         (HAVE_SSE2AVX_SUPPORT): Likewise.
4709 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4711         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4712         instead of #pragma optimize.
4714 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4716         [BZ #17195]
4717         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4718         as is similarly done in systrim and _int_free already.
4720 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4722         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4724 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4726         [BZ #19088]
4727         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4728         <limits.h>.
4729         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4730         overflows but exception would not result from cast.
4731         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4732         and <limits.h>.
4733         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4734         overflows but exception would not result from cast.
4735         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4736         <limits.h>.
4737         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4738         overflows but exception would not result from cast.
4739         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4740         <limits.h>.
4741         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4742         overflows but exception would not result from cast.
4743         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4744         <limits.h>.
4745         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4746         overflows but exception would not result from cast.
4747         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4748         <limits.h>.
4749         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4750         overflows but exception would not result from cast.
4751         * math/libm-test.inc (lround_test_data): Add more tests.
4752         (llround_test_data): Likewise.
4754 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4756         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4757         (CFLAGS-ialloc.c): Ditto.
4758         (CFLAGS-scheck.c): Ditto.
4760 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4762         [BZ #19086]
4763         * manual/filesys.texi (Storage Allocation): Fix argument order for
4764         posix_fallocate64.
4766 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4768         [BZ #19085]
4769         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4770         exponent below 48 inside case for non-overflowing exponent.
4771         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4773 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4775         * iconvdata/cp737.h (from_idx): Add const.
4776         * iconvdata/cp775.h (from_idx): Likewise.
4778 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4780         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4781         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4782         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4784         [BZ #19079]
4785         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4786         file, conditioned on [!_LP64].
4787         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4788         [!_LP64] (__lround): Do not define as function or alias.
4789         [!_LP64] (lround): Likewise.
4790         [!_LP64] (__lroundl): Likewise.
4791         [!_LP64] (lroundl): Likewise.
4792         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4793         macro.
4794         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4795         Likewise.
4797 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4799         * math/libm-test.inc (lrint_test_data): Add more tests.
4800         (llrint_test_data): Likewise.
4801         (lround_test_data): Likewise.
4802         (llround_test_data): Likewise.
4804         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4805         (llrint_test_data): Add tests used for lrint.
4807         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4808         test.
4809         * sysdeps/i386/configure: Regenerated.
4810         * sysdeps/i386/i686/multiarch/Makefile
4811         [$(config-cflags-sse4) = yes]: Make code unconditional.
4812         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4813         Likewise.
4814         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4815         Likewise.
4816         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4817         test.
4818         * sysdeps/x86_64/configure: Regenerated.
4819         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4820         Make code unconditional.
4821         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4822         Likewise.
4823         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4824         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4826         * scripts/rpm2dynsym.sh: Remove file.
4828 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4830         * configure.ac (libc_cv_cxx_thread_local): Define.
4831         * configure: Regenerate.
4832         * config.make.in (have-cxx-thread_local): Define.
4833         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4834         (LDLIBS-tst-thread_local1): Define.
4835         (tests): Add tst-thread_local1.
4836         [have-cxx-thread_local != yes] (tests-unsupported): Add
4837         tst-thread_local1.
4838         * nptl/tst-thread_local1.cc: New file.
4840 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4842         [BZ #19078]
4843         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4844         (u_thres): Likewise.
4845         (__expl): Determine whether to call __kernel_standard_l based on
4846         value of result, not argument.
4848         * math/libm-test.inc (scalb_test_data): Add more expectations for
4849         the "inexact" exception.
4851         [BZ #19077]
4852         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4853         0.0L for argument 1.0L.
4855         [BZ #19076]
4856         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4857         constant 0.0L when computing infinite result.
4859 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4861         [BZ #10432]
4862         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4863         malloc_usable_size.
4865 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4867         [BZ #19018]
4868         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4869         Mangle function pointer before storing it.
4870         (__call_tls_dtors): Demangle function pointer before calling it.
4872 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4874         [BZ #19012]
4875         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4876         Clean up on failure.
4878 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4880         [BZ #19071]
4881         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4882         long int variable to store possibly incremented high part of
4883         mantissa.
4884         * math/libm-test.inc (lround_test_data): Add tests used for
4885         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4886         for tests requiring 64-bit long.  Do not condition tests on
4887         [TEST_FLOAT] unnecessarily.
4888         (llround_test_data): Add tests used for lround.  Add another
4889         expectation for the "inexact" exception.  Do not condition tests
4890         on [TEST_FLOAT] unnecessarily.
4892         [BZ #887]
4893         [BZ #19049]
4894         [BZ #19050]
4895         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4896         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4897         <fix-int-fp-convert-zero.h>.
4898         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4899         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4900         <fix-int-fp-convert-zero.h>.
4901         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4902         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4903         <fix-int-fp-convert-zero.h>.
4904         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4905         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4906         <fix-int-fp-convert-zero.h>.
4907         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4908         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4909         <fix-int-fp-convert-zero.h>.
4910         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4911         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4912         <fix-int-fp-convert-zero.h>.
4913         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4914         * sysdeps/ieee754/flt-32/s_erff.c: Include
4915         <fix-int-fp-convert-zero.h>.
4916         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4917         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4918         <fix-int-fp-convert-zero.h>.
4919         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4920         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4921         <fix-int-fp-convert-zero.h>.
4922         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4923         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4924         <fix-int-fp-convert-zero.h>.
4925         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4926         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4927         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4928         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4929         file.
4930         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4932 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4936 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4938         [BZ #19059]
4939         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4940         overflowing computation.
4941         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4942         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4943         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4944         Likewise.
4945         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4946         Likewise.
4947         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4948         Likewise.
4949         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4950         Likewise.
4951         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4952         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4953         Likewise.
4954         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4955         Likewise.
4956         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4958         * nss/rewrite_field.c (__nss_rewrite_field): Use
4959         internal_function.
4960         * nss/valid_field.c (__nss_valid_field): Likewise.
4961         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4963 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4965         [BZ #18724]
4966         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4967         (__nss_invalid_field_characters, __nss_valid_field)
4968         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4969         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4970         tst-field.c: New file.
4971         * nss/Makefile (routines): Add valid_field, rewrite_field.
4972         (tests-static): Define unconditionally.
4973         (tests): Include tests-static.
4974         [build-static-nss] (tests-static): Use append.
4975         [build-static-nss] (tests): Remove modification.
4976         * nss/getent.c (print_group): Call putgrent.  Report error.
4977         (print_gshadow): Call putsgent.  Report error.
4978         (print_passwd): Call putpwent.  Report error.
4979         (print_shadow): Call putspent.  Report error.
4980         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4981         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4982         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4983         name, password, directory, shell fields for valid syntax.  Rewrite
4984         GECOS field to match syntax.
4985         * pwd/Makefile (tests): Add tst-putpwent.
4986         * pwd/tst-putpwent.c: New file.
4987         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4988         Check grName, grpasswd, gr_mem fields for valid syntax.
4989         Change loop variable i to size_t.
4990         * grp/Makefile (tests): Add tst-putgrent.
4991         * grp/tst-putgrent.c: New file.
4992         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4993         valid syntax.
4994         * shadow/Makefile (tests): Add tst-putspent.
4995         * shadow/tst-putspent.c: New file.
4996         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4997         sg_mem fields for valid syntax.
4998         * gshadow/Makefile (tests): Add tst-putsgent.
4999         * gshadow/tst-putsgent.c: New file.
5001 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5003         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5004         assembly instructions.
5006 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5008         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5009         prefix from operands.
5011 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5013         [BZ #16347]
5014         [BZ #19046]
5015         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5016         <libc-internal.h>.
5017         (MAXLGM): Do not use diagnostic control macros.
5018         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5019         threshold for ldbl-128ibm.
5020         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5021         instead of multiplying by log then subtracting.
5022         * math/auto-libm-test-in: Add more tests of lgamma.
5023         * math/auto-libm-test-out: Regenerated.
5025         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5026         (TYPE_HEX_DIG): Likewise.
5027         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5028         precisions when printing floating-point numbers.
5029         (check_float_internal): Likewise.
5031 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5033         [BZ #16620]
5034         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5035         of log (10) rounded downward to 48 bits.
5036         (log10_low): Use corresponding low part of log (10).
5038         [BZ #19032]
5039         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5040         compute result as (x - x) / (x - x) not as 0 / 0.
5041         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5042         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5044         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5045         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5046         and expm1.
5047         * math/auto-libm-test-out: Regenerated.
5048         * math/libm-test.inc (acos_test_data): Add more tests.
5049         (asin_test_data): Likewise.
5050         (asinh_test_data): Likewise.
5051         (atan_test_data): Likewise.
5052         (atanh_test_data): Likewise.
5053         (atan2_test_data): Likewise.
5054         (cbrt_test_data): Likewise.
5055         (ceil_test_data): Likewise.
5056         (copysign_test_data): Likewise.
5057         (cos_test_data): Likewise.
5058         (cosh_test_data): Likewise.
5059         (erf_test_data): Likewise.
5060         (erfc_test_data): Likewise.
5061         (exp_test_data): Likewise.
5062         (exp10_test_data): Likewise.
5063         (exp2_test_data): Likewise.
5064         (expm1_test_data): Likewise.
5065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5067 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5069         [BZ #19006]
5070         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5071         to ...
5072         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5073         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5074         to ...
5075         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5076         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5077         to ...
5078         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5079         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5080         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5081         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5082         to ...
5083         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5084         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5085         Moved to ...
5086         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5087         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5088         Moved to ...
5089         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5090         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5091         to ...
5092         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5093         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5094         Moved to ...
5095         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5096         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5097         to ...
5098         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5099         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5100         Removed.
5101         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5102         Likewise.
5103         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5104         Likewise.
5105         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5106         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5107         Likewise.
5108         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5109         Likewise.
5110         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5111         Likewise.
5112         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5113         Likewise.
5114         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5115         Likewise.
5116         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5117         Likewise.
5118         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5119         Likewise.
5120         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5121         Likewise.
5122         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5123         Likewise.
5124         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5125         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5126         Likewise.
5127         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5128         Likewise.
5129         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5130         Likewise.
5131         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5132         Likewise.
5133         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5134         Likewise.
5135         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5136         Replace ../i486/pthread_cond_timedwait.S with
5137         ../pthread_cond_timedwait.S.
5139 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5141         * math/libm-test.inc (acos_test_data): Refine expectations for
5142         errno and "inexact" exceptions.
5143         (acosh_test_data): Likewise.
5144         (asin_test_data): Likewise.
5145         (asinh_test_data): Likewise.
5146         (atan_test_data): Likewise.
5147         (atanh_test_data): Likewise.
5148         (atan2_test_data): Likewise.
5149         (cbrt_test_data): Likewise.
5150         (ceil_test_data): Likewise.
5151         (copysign_test_data): Likewise.
5152         (cosh_test_data): Likewise.
5153         (erf_test_data): Likewise.
5154         (erfc_test_data): Likewise.
5155         (exp_test_data): Likewise.
5156         (exp10_test_data): Likewise.
5157         (exp2_test_data): Likewise.
5158         (expm1_test_data): Likewise.
5159         (fabs_test_data): Likewise.
5160         (floor_test_data): Likewise.
5161         (fma_test_data): Likewise.
5162         (fmax_test_data): Likewise.
5163         (fmin_test_data): Likewise.
5164         (fmod_test_data): Likewise.
5165         (fpclassify_test_data): Likewise.
5166         (frexp_test_data): Likewise.
5167         (hypot_test_data): Likewise.
5168         (ilogb_test_data): Likewise.
5169         (isgreater_test_data): Likewise.
5170         (isgreaterequal_test_data): Likewise.
5171         (isinf_test_data): Likewise.
5172         (isless_test_data): Likewise.
5173         (islessequal_test_data): Likewise.
5174         (islessgreater_test_data): Likewise.
5175         (isnan_test_data): Likewise.
5176         (isnormal_test_data): Likewise.
5177         (issignaling_test_data): Likewise.
5178         (isunordered_test_data): Likewise.
5179         (j0_test_data): Likewise.
5180         (j1_test_data): Likewise.
5181         (jn_test_data): Likewise.
5182         (lgamma_test_data): Likewise.
5183         (lrint_test_data): Likewise.
5184         (llrint_test_data): Likewise.
5185         (log_test_data): Likewise.
5186         (log10_test_data): Likewise.
5187         (log1p_test_data): Likewise.
5188         (log2_test_data): Likewise.
5189         (logb_test_data): Likewise.
5190         (lround_test_data): Likewise.
5191         (llround_test_data): Likewise.
5192         (modf_test_data): Likewise.
5193         (nearbyint_test_data): Likewise.
5194         (nextafter_test_data): Likewise.
5195         (nexttoward_test_data): Likewise.
5196         (pow_test_data): Likewise.
5197         (remainder_test_data): Likewise.
5198         (remquo_test_data): Likewise.
5199         (rint_test_data): Likewise.
5200         (round_test_data): Likewise.
5201         (signbit_test_data): Likewise.
5202         (sinh_test_data): Likewise.
5203         (sqrt_test_data): Likewise.
5204         (tanh_test_data): Likewise.
5205         (tgamma_test_data): Likewise.
5206         (trunc_test_data): Likewise.
5207         (y0_test_data): Likewise.
5208         (y1_test_data): Likewise.
5209         (yn_test_data): Likewise.
5210         (significand_test_data): Likewise.
5212 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5214         * manual/filesys.texi (Storage Allocation): Document that
5215         posix_fallocate emulation fails when fd is open with O_WRONLY.
5217 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5219         [BZ #19016]
5220         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5221         allow more cases with X^2 + Y^2 >= 0.5.
5222         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5223         normal element in sum instead of special-casing based on values of
5224         arguments.
5225         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5226         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
5227         -1 as normal element in sum instead of special-casing based on
5228         values of arguments.
5229         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5230         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5231         (__x2y2m1): Update comment.
5232         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
5233         as normal element in sum instead of special-casing based on values
5234         of arguments.
5235         * math/s_clog.c (__clog): Handle more cases using log1p without
5236         hypot.
5237         * math/s_clog10.c (__clog10): Likewise.
5238         * math/s_clog10f.c (__clog10f): Likewise.
5239         * math/s_clog10l.c (__clog10l): Likewise.
5240         * math/s_clogf.c (__clogf): Likewise.
5241         * math/s_clogl.c (__clogl): Likewise.
5242         * math/auto-libm-test-in: Add more tests of clog and clog10.
5243         * math/auto-libm-test-out: Regenerated.
5244         * sysdeps/i386/fpu/libm-test-ulps: Update.
5245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5247 2015-09-28  Martin Sebor  <msebor@redhat.com>
5249         [BZ #18969]
5250         * string/Makefile (LOCALES): Define.
5251         (gen-locales.mk): Include.
5252         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5253         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5254         * string/tst-strxfrm2.c (do_test): Print the name of the locale
5255         on setlocale failure.
5257 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5259         [BZ #18985]
5260         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5261         (__strftime_internal): Likewise.
5262         * time/tst-strftime.c (do_bz18985): New test.
5263         (do_test): Call it.
5265 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
5267         [BZ #18956]
5268         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5269         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
5270         extracting high part.
5271         * math/auto-libm-test-in: Add another test of pow.
5272         * math/auto-libm-test-out: Regenerated.
5273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5275 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5277         [BZ #18825]
5278         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5279         New macro.
5280         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5281         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5282         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5283         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5284         DBL_NARROW_EVAL, reloading the PIC register as needed.
5285         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5286         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5287         FLT_NARROW_EVAL.  Use separate return path for case when first
5288         argument is NaN.
5289         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
5290         DEFINE_LDBL_MIN.
5291         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5292         PIC register.
5293         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5294         math_check_force_underflow_nonneg.
5295         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5296         underflow for subnormal result.
5297         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5298         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5299         math_check_force_underflow_nonneg.
5300         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5301         math_check_force_underflow.
5302         * sysdeps/x86_64/fpu/x86_64-math-asm.h
5303         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5304         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
5305         DEFINE_LDBL_MIN.
5306         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5307         * math/auto-libm-test-in: Add more tests of pow.
5308         * math/auto-libm-test-out: Regenerated.
5310 2015-09-25  Florian Weimer  <fweimer@redhat.com>
5312         * nss/bug17079.c (init_test_items): Add diagnostic for
5313         inconsistent entries.
5314         (test_buffer_size): Skip inconsistent entries.
5316 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5318         [BZ #13304]
5319         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5320         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5321         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5323         [BZ #13304]
5324         * sysdeps/microblaze/s_fma.c: New file.
5325         * sysdeps/microblaze/s_fmaf.c: Likewise.
5326         * sysdeps/microblaze/sfp-machine.h: Likewise.
5328 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
5330         [BZ #17250]
5331         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5332         member.
5334 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5336         [BZ #18803]
5337         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5338         (MO): New macro.
5339         (__ieee754_hypot) [PIC]: Load PIC register.
5340         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5341         DBL_NARROW_EVAL.
5342         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5343         math_check_force_underflow_nonneg in case where result might be
5344         tiny.
5345         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5346         Likewise.
5347         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5348         Likewise.
5349         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5350         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5351         * math/auto-libm-test-in: Add more tests of hypot.
5352         * math/auto-libm-test-out: Regenerated.
5354 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
5356         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5358 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5360         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5361         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5362         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5363         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5364         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5365         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5366         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5368         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5369         LOAD_PIC_REG.
5371         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5372         (FLT_CHECK_FORCE_UFLOW): Likewise.
5373         (DBL_CHECK_FORCE_UFLOW): Likewise.
5374         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5375         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5376         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5377         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5378         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5379         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5380         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5381         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5382         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5383         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5384         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5385         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5386         (flt_min): Replace with use of DEFINE_FLT_MIN.
5387         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5388         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5389         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5390         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5391         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5392         (flt_min): Replace with use of DEFINE_FLT_MIN.
5393         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5394         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5395         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5396         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5397         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5398         (flt_min): Replace with use of DEFINE_FLT_MIN.
5399         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5400         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5401         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5402         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5403         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5404         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5405         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5406         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5407         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5408         (__atan): Use DBL_CHECK_FORCE_UFLOW.
5409         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5410         (flt_min): Replace with use of DEFINE_FLT_MIN.
5411         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5412         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5413         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5414         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
5415         main computation.
5416         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5417         (flt_min): Replace with use of DEFINE_FLT_MIN.
5418         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
5419         main computation.
5420         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5421         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5422         (MO): New macro.
5423         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5424         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5425         (flt_min): Replace with use of DEFINE_FLT_MIN.
5426         (MO): New macro.
5427         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5428         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5429         (__log1pl): Use MO.
5431         [BZ #19003]
5432         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5433         $(config-cflags-nofma).
5435 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5437         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5439 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
5441         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5442         (TWO127): Likewise.
5444         * sysdeps/generic/math_private.h (fabs_tg): New macro.
5445         (min_of_type): Likewise.
5446         (math_check_force_underflow): Likewise.
5447         (math_check_force_underflow_nonneg): Likewise.
5448         (math_check_force_underflow_complex): Likewise.
5449         * math/e_exp2l.c (__ieee754_exp2l): Use
5450         math_check_force_underflow_nonneg.
5451         * math/k_casinh.c (__kernel_casinh): Likewise.
5452         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5453         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5454         * math/s_catan.c (__catan): Use
5455         math_check_force_underflow_complex.
5456         * math/s_catanf.c (__catanf): Likewise.
5457         * math/s_catanh.c (__catanh): Likewise.
5458         * math/s_catanhf.c (__catanhf): Likewise.
5459         * math/s_catanhl.c (__catanhl): Likewise.
5460         * math/s_catanl.c (__catanl): Likewise.
5461         * math/s_ccosh.c (__ccosh): Likewise.
5462         * math/s_ccoshf.c (__ccoshf): Likewise.
5463         * math/s_ccoshl.c (__ccoshl): Likewise.
5464         * math/s_cexp.c (__cexp): Likewise.
5465         * math/s_cexpf.c (__cexpf): Likewise.
5466         * math/s_cexpl.c (__cexpl): Likewise.
5467         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5468         * math/s_clog10.c (__clog10): Likewise.
5469         * math/s_clog10f.c (__clog10f): Likewise.
5470         * math/s_clog10l.c (__clog10l): Likewise.
5471         * math/s_clogf.c (__clogf): Likewise.
5472         * math/s_clogl.c (__clogl): Likewise.
5473         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5474         * math/s_csinf.c (__csinf): Likewise.
5475         * math/s_csinh.c (__csinh): Likewise.
5476         * math/s_csinhf.c (__csinhf): Likewise.
5477         * math/s_csinhl.c (__csinhl): Likewise.
5478         * math/s_csinl.c (__csinl): Likewise.
5479         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5480         * math/s_csqrtf.c (__csqrtf): Likewise.
5481         * math/s_csqrtl.c (__csqrtl): Likewise.
5482         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5483         * math/s_ctanf.c (__ctanf): Likewise.
5484         * math/s_ctanh.c (__ctanh): Likewise.
5485         * math/s_ctanhf.c (__ctanhf): Likewise.
5486         * math/s_ctanhl.c (__ctanhl): Likewise.
5487         * math/s_ctanl.c (__ctanl): Likewise.
5488         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5489         instead of volatile.
5490         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5491         math_check_force_underflow.
5492         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5493         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5494         volatile when forcing underflow.
5495         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5496         math_check_force_underflow_nonneg.
5497         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5498         Likewise.
5499         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5500         math_check_force_underflow.
5501         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5502         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5503         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5504         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5505         math_check_force_underflow_nonneg.
5506         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5507         math_check_force_underflow.
5508         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5510         instead of volatile.
5511         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5512         math_check_force_underflow.
5513         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5514         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5515         math_check_force_underflow_nonneg.
5516         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
5517         math_check_force_underflow.
5518         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5519         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5520         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
5521         math_check_force_underflow_nonneg.
5522         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5523         Likewise.
5524         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
5525         math_check_force_underflow.
5526         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5527         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5528         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5529         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
5530         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5531         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
5532         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5533         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5534         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5535         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
5536         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5537         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5538         Likewise.
5539         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
5540         math_check_force_underflow_nonneg.
5541         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5542         Likewise.
5543         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
5544         math_check_force_underflow.
5545         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5546         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5547         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5548         Likewise.
5549         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5550         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
5551         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
5552         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
5553         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
5554         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5555         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
5556         instead of volatile.
5557         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
5558         math_check_force_underflow.
5559         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5560         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
5561         math_check_force_underflow.
5562         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
5563         Likewise.
5564         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5565         Use math_check_force_underflow_nonneg.
5566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
5567         math_check_force_underflow.
5568         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5569         Likewise.
5570         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5571         Likewise.
5572         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5573         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5574         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5575         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5576         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
5577         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5578         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5579         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5580         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
5581         math_check_force_underflow_nonneg.
5582         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
5583         math_check_force_underflow.
5584         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5585         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5586         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5587         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5588         math_check_force_underflow_nonneg.
5589         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5590         math_check_force_underflow.
5591         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5593         instead of volatile.
5594         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5595         math_check_force_underflow.
5597         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5598         * stdlib/strtod_l.c: Include <math_private.h>.
5599         (overflow_value): Use math_narrow_eval.
5600         (underflow_value): Likewise.
5601         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5602         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5603         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5604         (__ieee754_gamma_r): Likewise.
5605         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5606         Likewise.
5607         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5608         Likewise.
5609         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5610         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5611         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5612         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5613         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5614         (__ieee754_gammaf_r): Likewise.
5615         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5616         Likewise.
5617         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5618         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5619         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5620         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5621         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5622         volatile.
5623         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5624         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5625         math_narrow_eval.
5626         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5627         Likewise.
5628         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5629         Likewise.
5630         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5631         Likewise.
5632         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5633         volatile.
5634         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5635         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5636         math_narrow_eval.
5637         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5638         Likewise.
5639         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5640         Likewise.
5642 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
5644         * nptl/Versions: Remove ignored symbols.
5646 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5648         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
5649         * nss/Makefile (tests): Update.
5651 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5653         * nss/bug18287.c: New file.
5654         * nss/Makefile (tests): Add bug18287.
5656 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5658         * mach/Versions (__mach_host_self_): Add symbol.
5660 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5662         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
5663         vm_page_size.
5665 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5667         Really fix sysdeps/i386/fpu/s_scalbn.S build
5669         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
5670         (libc: GLIBC_2_22): Remove unused version set.
5672 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5674         * config.make.in (enable-timezone-tools): New variable.
5675         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
5676         (enable_timezone_tools): Export to generated files.
5677         * configure: Regenerate.
5678         * INSTALL: Regenerate.
5679         * manual/install.texi (--disable-timezone-tools): Document new flag.
5680         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
5681         ifeq ($(enable-timezone-tools),yes) check.
5683 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5685         * timezone/Makefile: Revert previous change.
5687         [BZ #18980]
5688         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
5689         (DEFINE_DBL_MIN): Likewise.
5690         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5691         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5692         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5693         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5694         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
5695         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5696         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5697         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
5698         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
5699         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5700         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5701         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5702         (flt_min): Replace with use of DEFINE_FLT_MIN.
5703         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5704         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5705         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5706         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5707         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5708         (flt_min): Replace with use of DEFINE_FLT_MIN.
5709         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5710         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5711         (flt_min): Replace with use of DEFINE_FLT_MIN.
5712         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5713         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5714         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5715         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5716         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5717         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5718         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5719         (__ieee754_pow): Use DBL_NARROW_EVAL.
5720         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5721         (__ieee754_powf): Use FLT_NARROW_EVAL.
5722         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5723         (__ieee754_expf_sse2): Convert double-precision result to single
5724         precision.
5725         * sysdeps/i386/fpu/libm-test-ulps: Update.
5727 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5729         * timezone/Makefile: Ignore unused variable errors due to private.h
5730         (time_t_min) and (time_t_max).
5731         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5732         Likewise.
5734 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5736         [BZ #18981]
5737         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5738         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5739         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5740         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5741         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5742         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5743         (__scalbn): Use DBL_NARROW_EVAL.
5744         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5745         (__scalbnf): Use FLT_NARROW_EVAL.
5747 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5749         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5750         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5751         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5752         * stdio-common/printf_fp.c (___printf_fp):
5753         Use signbit to get the sign. Use isinf macro to allow inlining.
5754         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5755         * stdio-common/printf_size.c (__printf_size): Likewise.
5757 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5759         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5761 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5763         [BZ #18980]
5764         * sysdeps/generic/math_private.h: Include <float.h>.
5765         (math_narrow_eval): New macro.
5766         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5767         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5768         math_narrow_eval on overflowing return value.
5769         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5770         Likewise.
5771         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5772         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5773         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5774         Likewise.
5775         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5777 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5779         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5780         * math/Makefile: Remove isinf_ns.c.
5781         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5782         * math/multc3.c (__multc3): Likewise.
5783         * math/s_casin.c (__casin): Likewise.
5784         * math/s_casinf.c (__casinf): Likewise.
5785         * math/s_casinl.c (__casinl): Likewise.
5786         * math/s_cproj.c (__cproj): Likewise.
5787         * math/s_cprojf.c (__cprojf): Likewise.
5788         * math/s_cprojl.c (__cprofl): Likewise.
5789         * math/s_ctan.c (__ctan): Likewise.
5790         * math/s_ctanf.c (__ctanf): Likewise.
5791         * math/s_ctanh.c (__ctanh): Likewise.
5792         * math/s_ctanhf.c (__ctanhf): Likewise.
5793         * math/s_ctanhl.c (__ctanhl): Likewise.
5794         * math/s_ctanl.c (__ctanl): Likewise.
5795         * math/w_fmod.c (__fmod): Likewise.
5796         * math/w_fmodf.c (__fmodf): Likewise.
5797         * math/w_fmodl.c (_fmodl): Likewise.
5798         * math/w_remainder.c (__remainder): Likewise.
5799         * math/w_remainderf.c (__remainderf): Likewise.
5800         * math/w_remainderl.c (__remainderl): Likewise.
5801         * math/w_scalb.c (__scalb): Likewise.
5802         * math/w_scalbf.c (__scalbf): Likewise.
5803         * math/w_scalbl.c (__scalbl): Likewise.
5804         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5805         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5806         with isinf.
5807         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5808         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5809         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5810         __isinf_nsf with isinf.
5811         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5812         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5813         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5814         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5815         with isinf.
5816         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5817         __isinf_nsl with isinf.
5818         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5819         with isinf.
5820         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5821         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5822         __isinf_nsl with isinf.
5823         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5824         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5825         with isinf.
5827 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5829         * resolv/base64.c (rcsid): Remove unused static.
5830         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5831         static.  (tqpi1): Likewise.
5832         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5833         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5834         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5835         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5836         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5837         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5838         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5839         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5840         Likewise.
5842 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5844         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5845         <nptl/pthreadP.h>.
5846         (_longjmp_unwind): Use __libc_ptf_call.
5847         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5849 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5851         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5852         * sysdeps/arm/__longjmp.S: Likewise
5854 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5856         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5857         Use __builtin_signbit.
5858         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5859         Use __builtin_signbitf.
5860         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5861         Use __builtin_signbitl.
5862         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5863         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5865 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5867         [BZ #15367]
5868         [BZ #17441]
5870         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5871         * math/math.h (fpclassify): Use __builtin_fpclassify when
5872         available.  (signbit): Use __builtin_signbit(f/l).
5873         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5874         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5875         (isinf): Use __builtin_isinf_sign.
5877 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5879         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5880         * benchtests/bench-math-inlines.c: New benchmark.
5881         * benchtests/bench-util.h: New file.
5882         * benchtests/bench-util.c: New file.
5883         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5885 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5887         * elf/tst-dlmopen1.c: Define TEST_SO.
5888         (do_test): Use TEST_SO.
5890         * elf/dl-load.c: Include libc-internal.h.
5891         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5893 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5895         [BZ #17887]
5896         * time/strptime_l.c (__strptime_internal): Make %z accept
5897         [+-]HH:MM time zones.
5899 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5901         [BZ #17886]
5902         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5903         valid time zone.
5905 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5907         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5908         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5909         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5910         (__ASSUME_FDATASYNC): Delete.
5912 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5914         * conform/linknamespace.pl: Require weak undefined symbols to be
5915         in the standard namespace.
5916         (%strong_syms): Rename to %seen_syms.
5917         (%strong_seen): Rename to %seen_where.
5919 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5921         [BZ #18970]
5922         * misc/error.c (error): Replace pthread_setcancelstate with
5923         __pthread_setcancelstate.
5924         (error_at_line): Likewise.
5925         * posix/wordexp.c (parse_comm): Likewise.
5926         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5927         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5928         (__pthread_setcancelstate): This.
5929         (pthread_setcancelstate): Add an alias.
5930         * nptl/nptl-init.c (pthread_functions): Replace
5931         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5932         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5933         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5934         hidden_proto.
5935         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5936         it with hidden_def.
5937         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5938         (pthread_setcancelstate): Renamed to ...
5939         (__pthread_setcancelstate): This.
5940         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5941         __libc_ptf_call with __pthread_setcancelstate.
5943 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5944             Andreas Schwab  <schwab@suse.de>
5946         [BZ #17118]
5947         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5948         result when imaginary part of argument is infinite using sine and
5949         cosine.
5950         * math/s_ctanf.c (__ctanf): Likewise.
5951         * math/s_ctanl.c (__ctanl): Likewise.
5952         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5953         of result when real part of argument is infinite using sine and
5954         cosine.
5955         * math/s_ctanhf.c (__ctanhf): Likewise.
5956         * math/s_ctanhl.c (__ctanhl): Likewise.
5957         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5958         (ctanh_test_data): Add more tests of ctanh.
5960 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5962         [BZ #15384]
5963         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5964         bit-mask as in subtraction.
5965         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5966         Likewise.
5967         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5968         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5969         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5971         [BZ #18951]
5972         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5973         underflow exception for small results.
5974         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5975         Likewise.
5976         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5977         Likewise.
5978         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5979         Likewise.
5980         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5981         Likewise.
5982         * math/auto-libm-test-in: Add more tests of tgamma.
5983         * math/auto-libm-test-out: Regenerated.
5985 2015-09-17  Andreas Schwab  <schwab@suse.de>
5987         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5989 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5991         [BZ #18977]
5992         * math/bits/mathcalls.h
5993         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5994         not declare.
5995         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5996         Likewise.
5997         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5998         Likewise.
5999         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6000         Likewise.
6001         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6002         Likewise.
6003         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6004         Likewise.
6005         * conform/data/math.h-data
6006         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6007         function.
6008         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6009         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6010         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6011         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6012         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6013         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6014         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6015         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6016         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6017         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6018         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6020         [BZ #6803]
6021         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6022         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6023         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6024         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6025         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6026         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6027         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6028         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6029         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6030         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6031         Likewise.
6032         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6033         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6034         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6035         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6036         long_double_symbol calls.
6037         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6038         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6039         strong alias of __ldexpl.
6040         (scalbnl): Define using long_double_symbol.
6041         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6042         Remove alias.
6043         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6044         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6045         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6046         (scalbln_test_data): Add more errno expectations.
6048 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6050         Cache the host port like we cache the task port.  This way we do not
6051         need to call the kernel just to get the port.  Furthermore, we no
6052         longer increase the reference count on every invocation of
6053         `mach_host_self'.
6055         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6056         Protect declarations against the macro expansion.
6057         * mach/mach_init.c (__mach_host_self_): New variable.
6058         (mach_init): Initialize `__mach_host_self_'.
6059         * mach/mach_init.h (__mach_host_self_): New declaration.
6060         (__mach_host_self, mach_host_self): New macros.
6061         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6062         Release reference.
6064 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6066         [BZ #4404]
6067         * po/de.po: Update from Translation Project.
6069         [BZ #16415]
6070         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6071         (__expm1l): Remove code to handle positive infinity and overflow.
6072         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6073         variable.
6074         (__expm1l): Remove code to handle positive infinity and overflow.
6076 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6077             Paul Pluzhnikov  <ppluzhnikov@google.com>
6079         [BZ #18872]
6080         * stdio-common/Makefile (tst-printf-bz18872): New test.
6081         (tst-printf-bz18872-mem.out): Likewise.
6082         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6083         * stdio-common/vfprintf.c: Fix memory leaks.
6085 2015-09-16  Andreas Schwab  <schwab@suse.de>
6087         [BZ #17244]
6088         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6089         Remove extra va_start/va_end calls.
6091         [BZ #17243]
6092         * posix/execl.c (execl): Add missing va_end.
6093         * posix/execle.c (execle): Likewise.
6094         * posix/execlp.c (execlp): Likewise.
6096 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6098         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6099         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6101 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6103         [BZ #18967]
6104         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6105         undefine around includes of <bits/mathcalls.h>.
6106         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6107         not declare function.
6108         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6109         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6110         (scalb): Likewise.
6111         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6112         not define macro.
6113         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6114         variable.
6115         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6116         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6117         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6119         [BZ #18857]
6120         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6121         return non-finite argument without doing ordered comparisons on
6122         it.
6124         [BZ #16296]
6125         * math/fenv.h (fegetround): Use __attribute_pure__.
6126         * include/fenv.h (__fegetround): Likewise.
6128         [BZ #18595]
6129         * math/s_ctan.c (__ctan): Force underflow exception for results
6130         whose real or imaginary part has small absolute value.
6131         * math/s_ctanf.c (__ctanf): Likewise.
6132         * math/s_ctanh.c (__ctanh): Likewise.
6133         * math/s_ctanhf.c (__ctanhf): Likewise.
6134         * math/s_ctanhl.c (__ctanhl): Likewise.
6135         * math/s_ctanl.c (__ctanl): Likewise.
6136         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6137         and ctanh.  Add more tests of ctan and ctanh.
6139         [BZ #15918]
6140         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6141         handling of cases where one argument is an infinity.
6143         [BZ #18875]
6144         [BZ #18966]
6145         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6146         (MO): New macro.
6147         (__ieee754_exp10): For small results, force underflow exception
6148         and remove excess range and precision from return value.
6149         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6150         (MO): New macro.
6151         (__ieee754_exp10f): For small results, force underflow exception
6152         and remove excess range and precision from return value.
6153         * math/auto-libm-test-in: Add more tests of exp10.
6154         * math/auto-libm-test-out: Regenerated.
6156 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
6158         [BZ #18875]
6159         [BZ #18961]
6160         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6161         (MO): New macro.
6162         (__ieee754_exp): For small results, force underflow exception and
6163         remove excess range and precision from return value.
6164         (__exp_finite): Likewise.
6165         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6166         (MO): New macro.
6167         (__ieee754_expf): For small results, force underflow exception and
6168         remove excess range and precision from return value.
6169         (__expf_finite): Likewise.
6170         * math/auto-libm-test-in: Add more tests of exp.
6171         * math/auto-libm-test-out: Regenerated.
6173         [BZ #16521]
6174         [BZ #18875]
6175         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6176         small results.
6177         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6178         (MO): New macro.
6179         (__ieee754_exp2): For small results, force underflow exception and
6180         remove excess range and precision from return value.
6181         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6182         (MO): New macro.
6183         (__ieee754_exp2f): For small results, force underflow exception
6184         and remove excess range and precision from return value.
6185         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6186         (MO): New macro.
6187         (__ieee754_exp2l): Force underflow exception for small results.
6188         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6189         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6190         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6191         (MO): New macro.
6192         (__ieee754_exp2l): Force underflow exception for small results.
6193         * math/auto-libm-test-in: Add more tests or exp2.
6194         * math/auto-libm-test-out: Regenerated.
6196 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6198         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6200         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6201         /dev/null.
6203 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6205         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6206         io fs process)): Drop spurious backslash.
6208 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6211         Use sysinfo system call instead of parsing /proc/meminfo.
6212         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6213         Likewise.
6215 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6217         [BZ #16985]
6218         * programs/localedef.c (main): Display argv[remaining] when
6219         output_path is NULL.
6221 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6223         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6224         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6225         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6226         tanh.
6227         * math/auto-libm-test-out: Regenerated.
6228         * sysdeps/i386/fpu/libm-test-ulps: Update.
6229         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6230         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6233 2015-09-11  Roland McGrath  <roland@hack.frob.com>
6235         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6236         Use 'override' keyword to freeze the value here, preventing
6237         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6239 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6241         [BZ #14912]
6242         * sysdeps/aarch64/bits/atomic.h: Move to ...
6243         * sysdeps/aarch64/atomic-machine.h: ...here.
6244         (_AARCH64_BITS_ATOMIC_H): Rename macro to
6245         _AARCH64_ATOMIC_MACHINE_H.
6246         * sysdeps/alpha/bits/atomic.h: Move to ...
6247         * sysdeps/alpha/atomic-machine.h: ...here.
6248         * sysdeps/arm/bits/atomic.h: Move to ...
6249         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
6250         * bits/atomic.h: Move to ...
6251         * sysdeps/generic/atomic-machine.h: ...here.
6252         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6253         * sysdeps/i386/bits/atomic.h: Move to ...
6254         * sysdeps/i386/atomic-machine.h: ...here.
6255         * sysdeps/ia64/bits/atomic.h: Move to ...
6256         * sysdeps/ia64/atomic-machine.h: ...here.
6257         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6258         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6259         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6260         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6261         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6262         * sysdeps/microblaze/bits/atomic.h: Move to ...
6263         * sysdeps/microblaze/atomic-machine.h: ...here.
6264         * sysdeps/mips/bits/atomic.h: Move to ...
6265         * sysdeps/mips/atomic-machine.h: ...here.
6266         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6267         * sysdeps/powerpc/bits/atomic.h: Move to ...
6268         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
6269         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6270         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
6271         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
6272         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6273         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
6274         <atomic-machine.h> instead of <bits/atomic.h>.
6275         * sysdeps/s390/bits/atomic.h: Move to ...
6276         * sysdeps/s390/atomic-machine.h: ...here.
6277         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6278         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6279         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6280         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6281         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6282         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6283         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6284         * sysdeps/tile/bits/atomic.h: Move to ...
6285         * sysdeps/tile/atomic-machine.h: ...here.
6286         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6287         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6288         <sysdeps/tile/atomic-machine.h> instead of
6289         <sysdeps/tile/bits/atomic.h>.
6290         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6291         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6292         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
6293         <sysdeps/tile/atomic-machine.h> instead of
6294         <sysdeps/tile/bits/atomic.h>.
6295         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6296         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6297         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
6298         <sysdeps/arm/atomic-machine.h> instead of
6299         <sysdeps/arm/bits/atomic.h>.
6300         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6301         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6302         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6303         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6304         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6305         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6306         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6307         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6308         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6309         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6310         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6311         * sysdeps/x86_64/bits/atomic.h: Move to ...
6312         * sysdeps/x86_64/atomic-machine.h: ...here.
6313         * include/atomic.h: Include <atomic-machine.h> instead of
6314         <bits/atomic.h>.
6316         * sysdeps/mips/mips32/libm-test-ulps: Update.
6317         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6319         [BZ #18952]
6320         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6321         not convert non-integer negative arguments to int to determine the
6322         value of signgam.
6323         * math/auto-libm-test-in: Add more tests of lgamma.
6324         * math/auto-libm-test-out: Regenerated.
6326         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6327         cosh, csqrt, erfc, expm1 and lgamma.
6328         * math/auto-libm-test-out: Regenerated.
6329         * sysdeps/i386/fpu/libm-test-ulps: Update.
6330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6332 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
6334         [BZ #2542]
6335         [BZ #2543]
6336         [BZ #2558]
6337         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6338         __lgamma_neg for arguments from -28.0 to -2.0.
6339         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6340         __lgamma_negf for arguments from -15.0 to -2.0.
6341         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6342         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6343         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6344         Call __lgamma_negl for arguments from -33.0 to -2.0.
6345         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6346         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6347         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6348         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6349         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6350         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6351         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6352         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6353         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6354         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6355         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6356         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6357         (__lgamma_neg): Likewise.
6358         (__lgamma_negl): Likewise.
6359         (__lgamma_product): Likewise.
6360         (__lgamma_productl): Likewise.
6361         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6362         * math/auto-libm-test-in: Add more tests of lgamma.
6363         * math/auto-libm-test-out: Regenerated.
6364         * sysdeps/i386/fpu/libm-test-ulps: Update.
6365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6367 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
6369         [BZ #18675]
6370         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6372 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
6374         [BZ #14912]
6375         * bits/libc-lock.h: Move to ...
6376         * sysdeps/generic/libc-lock.h: ...here.
6377         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6378         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6379         * sysdeps/mach/hurd/libc-lock.h: ...here.
6380         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6381         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6382         * sysdeps/mach/bits/libc-lock.h: Move to ...
6383         * sysdeps/mach/libc-lock.h: ...here.
6384         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6385         * sysdeps/nptl/bits/libc-lock.h: Move to ...
6386         * sysdeps/nptl/libc-lock.h: ...here.
6387         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6388         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6389         * sysdeps/nptl/libc-lockP.h: ...here.
6390         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6391         * crypt/crypt_util.c: Include <libc-lock.h> instead of
6392         <bits/libc-lock.h>.
6393         * dirent/scandir-tail.c: Likewise.
6394         * dlfcn/dlerror.c: Likewise.
6395         * elf/dl-close.c: Likewise.
6396         * elf/dl-iteratephdr.c: Likewise.
6397         * elf/dl-lookup.c: Likewise.
6398         * elf/dl-open.c: Likewise.
6399         * elf/dl-support.c: Likewise.
6400         * elf/dl-writev.h: Likewise.
6401         * elf/rtld.c: Likewise.
6402         * grp/fgetgrent.c: Likewise.
6403         * gshadow/fgetsgent.c: Likewise.
6404         * gshadow/sgetsgent.c: Likewise.
6405         * iconv/gconv_conf.c: Likewise.
6406         * iconv/gconv_db.c: Likewise.
6407         * iconv/gconv_dl.c: Likewise.
6408         * iconv/gconv_int.h: Likewise.
6409         * iconv/gconv_trans.c: Likewise.
6410         * include/link.h: Likewise.
6411         * inet/getnameinfo.c: Likewise.
6412         * inet/getnetgrent.c: Likewise.
6413         * inet/getnetgrent_r.c: Likewise.
6414         * intl/bindtextdom.c: Likewise.
6415         * intl/dcigettext.c: Likewise.
6416         * intl/finddomain.c: Likewise.
6417         * intl/gettextP.h: Likewise.
6418         * intl/loadmsgcat.c: Likewise.
6419         * intl/localealias.c: Likewise.
6420         * intl/textdomain.c: Likewise.
6421         * libidn/idn-stub.c: Likewise.
6422         * libio/libioP.h: Likewise.
6423         * locale/duplocale.c: Likewise.
6424         * locale/freelocale.c: Likewise.
6425         * locale/newlocale.c: Likewise.
6426         * locale/setlocale.c: Likewise.
6427         * login/getutent_r.c: Likewise.
6428         * login/getutid_r.c: Likewise.
6429         * login/getutline_r.c: Likewise.
6430         * login/utmp-private.h: Likewise.
6431         * login/utmpname.c: Likewise.
6432         * malloc/mtrace.c: Likewise.
6433         * misc/efgcvt.c: Likewise.
6434         * misc/error.c: Likewise.
6435         * misc/fstab.c: Likewise.
6436         * misc/getpass.c: Likewise.
6437         * misc/mntent.c: Likewise.
6438         * misc/syslog.c: Likewise.
6439         * nis/nis_call.c: Likewise.
6440         * nis/nis_callback.c: Likewise.
6441         * nis/nss-default.c: Likewise.
6442         * nis/nss_compat/compat-grp.c: Likewise.
6443         * nis/nss_compat/compat-initgroups.c: Likewise.
6444         * nis/nss_compat/compat-pwd.c: Likewise.
6445         * nis/nss_compat/compat-spwd.c: Likewise.
6446         * nis/nss_nis/nis-alias.c: Likewise.
6447         * nis/nss_nis/nis-ethers.c: Likewise.
6448         * nis/nss_nis/nis-grp.c: Likewise.
6449         * nis/nss_nis/nis-hosts.c: Likewise.
6450         * nis/nss_nis/nis-network.c: Likewise.
6451         * nis/nss_nis/nis-proto.c: Likewise.
6452         * nis/nss_nis/nis-pwd.c: Likewise.
6453         * nis/nss_nis/nis-rpc.c: Likewise.
6454         * nis/nss_nis/nis-service.c: Likewise.
6455         * nis/nss_nis/nis-spwd.c: Likewise.
6456         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6457         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6458         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6459         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6460         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6461         * nis/nss_nisplus/nisplus-network.c: Likewise.
6462         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6463         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6464         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6465         * nis/nss_nisplus/nisplus-service.c: Likewise.
6466         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6467         * nis/ypclnt.c: Likewise.
6468         * nptl/libc_pthread_init.c: Likewise.
6469         * nss/getXXbyYY.c: Likewise.
6470         * nss/getXXent.c: Likewise.
6471         * nss/getXXent_r.c: Likewise.
6472         * nss/nss_db/db-XXX.c: Likewise.
6473         * nss/nss_db/db-netgrp.c: Likewise.
6474         * nss/nss_db/nss_db.h: Likewise.
6475         * nss/nss_files/files-XXX.c: Likewise.
6476         * nss/nss_files/files-alias.c: Likewise.
6477         * nss/nsswitch.c: Likewise.
6478         * posix/regex_internal.h: Likewise.
6479         * posix/wordexp.c: Likewise.
6480         * pwd/fgetpwent.c: Likewise.
6481         * resolv/res_hconf.c: Likewise.
6482         * resolv/res_libc.c: Likewise.
6483         * shadow/fgetspent.c: Likewise.
6484         * shadow/lckpwdf.c: Likewise.
6485         * shadow/sgetspent.c: Likewise.
6486         * socket/opensock.c: Likewise.
6487         * stdio-common/reg-modifier.c: Likewise.
6488         * stdio-common/reg-printf.c: Likewise.
6489         * stdio-common/reg-type.c: Likewise.
6490         * stdio-common/vfprintf.c: Likewise.
6491         * stdio-common/vfscanf.c: Likewise.
6492         * stdlib/abort.c: Likewise.
6493         * stdlib/cxa_atexit.c: Likewise.
6494         * stdlib/fmtmsg.c: Likewise.
6495         * stdlib/random.c: Likewise.
6496         * stdlib/setenv.c: Likewise.
6497         * string/strsignal.c: Likewise.
6498         * sunrpc/auth_none.c: Likewise.
6499         * sunrpc/bindrsvprt.c: Likewise.
6500         * sunrpc/create_xid.c: Likewise.
6501         * sunrpc/key_call.c: Likewise.
6502         * sunrpc/rpc_thread.c: Likewise.
6503         * sysdeps/arm/backtrace.c: Likewise.
6504         * sysdeps/generic/ldsodefs.h: Likewise.
6505         * sysdeps/generic/stdio-lock.h: Likewise.
6506         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6507         * sysdeps/i386/backtrace.c: Likewise.
6508         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6509         * sysdeps/m68k/backtrace.c: Likewise.
6510         * sysdeps/mach/hurd/cthreads.c: Likewise.
6511         * sysdeps/mach/hurd/dirstream.h: Likewise.
6512         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6513         * sysdeps/nptl/malloc-machine.h: Likewise.
6514         * sysdeps/nptl/stdio-lock.h: Likewise.
6515         * sysdeps/posix/dirstream.h: Likewise.
6516         * sysdeps/posix/getaddrinfo.c: Likewise.
6517         * sysdeps/posix/system.c: Likewise.
6518         * sysdeps/pthread/aio_suspend.c: Likewise.
6519         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6520         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6521         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6522         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6523         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
6524         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
6525         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
6526         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6527         * sysdeps/unix/sysv/linux/system.c: Likewise.
6528         * sysdeps/x86_64/backtrace.c: Likewise.
6529         * time/alt_digit.c: Likewise.
6530         * time/era.c: Likewise.
6531         * time/tzset.c: Likewise.
6532         * wcsmbs/wcsmbsload.c: Likewise.
6533         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
6534         instead of <bits/libc-lock.h> in comment.
6536 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
6538         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
6539         Only use .set mips2 if the current ISA is below mips2.
6540         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
6541         Likewise.
6542         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
6543         mips32r2 if the current ISA is below mips32r2.
6544         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
6545         (TLS_IE): Updated to use the TLD_RDHWR macro.
6546         (TLS_LE): Likewise.
6547         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
6548         __ASSEMBLER__ condition.
6550 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6552         Fix parallel build of before-compile targets.
6554         * sysdeps/mach/Makefile ($(patsubst
6555         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
6556         mach-before-compile target.
6557         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6558         io fs process)): Move rule to dedicated hurd-before-compile target.
6560 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6562         Fix rules generating headers in hurd/ and mach/ when initial make call
6563         has subdir= explicitly set.
6565         * sysdeps/mach/Makefile ($(patsubst
6566         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
6567         calling $(MAKE).
6568         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6569         io fs process)): Force subdir to hurd when calling $(MAKE).
6570         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
6571         subdir to mach when calling $(MAKE).
6573 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
6575         Check sysheaders when looking for Mach and Hurd headers
6577         * sysdeps/mach/configure.ac: Add sysheaders check.
6578         * sysdeps/mach/configure: Regenerate.
6579         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
6580         * sysdeps/mach/hurd/configure: Regenerate.
6582 2015-09-04  Roland McGrath  <roland@hack.frob.com>
6584         [BZ #18921]
6585         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6586         Fix inverted sense of test of 'o_directory_works' value.
6587         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6588         Bernhard Voelker <mail@bernhard-voelker.de>.
6590 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6592         [BZ #14912]
6593         * bits/linkmap.h: Move to ...
6594         * sysdeps/generic/linkmap.h: ...here.
6595         * sysdeps/aarch64/bits/linkmap.h: Move to ...
6596         * sysdeps/aarch64/linkmap.h: ...here.
6597         * sysdeps/arm/bits/linkmap.h: Move to ...
6598         * sysdeps/arm/linkmap.h: ...here.
6599         * sysdeps/hppa/bits/linkmap.h: Move to ...
6600         * sysdeps/hppa/linkmap.h: ...here.
6601         * sysdeps/ia64/bits/linkmap.h: Move to ...
6602         * sysdeps/ia64/linkmap.h: ...here.
6603         * sysdeps/mips/bits/linkmap.h: Move to ...
6604         * sysdeps/mips/linkmap.h: ...here.
6605         * sysdeps/s390/bits/linkmap.h: Move to ...
6606         * sysdeps/s390/linkmap.h: ...here.
6607         * sysdeps/sh/bits/linkmap.h: Move to ...
6608         * sysdeps/sh/linkmap.h: ...here.
6609         * sysdeps/x86/bits/linkmap.h: Move to ...
6610         * sysdeps/x86/linkmap.h: ...here.
6611         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6613 2015-09-04  Andreas Schwab  <schwab@suse.de>
6615         [BZ #18635]
6616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6617         (__makecontext): Terminate FDE before return label.
6618         (__novec_makecontext): Likewise.
6620 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6622         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6623         first member of struct sv in syscall macro.
6625 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6627         [BZ #14912]
6628         * bits/stdio-lock.h: Move to ...
6629         * sysdeps/generic/stdio-lock.h: ...here.
6630         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6631         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6632         * sysdeps/nptl/stdio-lock.h: ...here.
6633         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6634         * include/libio.h: Include <stdio-lock.h> instead of
6635         <bits/stdio-lock.h>.
6636         * sysdeps/nptl/fork.c: Likewise.
6637         * sysdeps/pthread/flockfile.c: Likewise.
6638         * sysdeps/pthread/ftrylockfile.c: Likewise.
6639         * sysdeps/pthread/funlockfile.c: Likewise.
6641         [BZ #14912]
6642         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
6643         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
6644         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
6645         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
6646         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
6647         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6648         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
6650 2015-09-03  Roland McGrath  <roland@hack.frob.com>
6652         * elf/Makefile (test-xfail-tst-protected1a): New variable.
6653         (test-xfail-tst-protected1b): New variable.
6655 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
6657         [BZ #14912]
6658         * bits/libc-tsd.h: Move to ...
6659         * sysdeps/generic/libc-tsd.h: ...here.
6660         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
6661         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
6662         * sysdeps/mach/hurd/libc-tsd.h: ...here.
6663         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
6664         * include/ctype.h: Include <libc-tsd.h> instead of
6665         <bits/libc-tsd.h>.
6666         * include/rpc/rpc.h: Likewise.
6667         * locale/localeinfo.h: Likewise.
6668         * sunrpc/rpc_thread.c: Likewise.
6669         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6670         * sysdeps/nptl/malloc-machine.h: Likewise.
6672         * Makefile (headers): Remove bits/libc-lock.h.
6673         * libio/Makefile (headers): Remove bits/stdio-lock.h.
6675         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
6676         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
6677         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
6678         <bits/stdio-lock.h>.
6679         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
6680         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
6682 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6684         [BZ #18757]
6685         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
6686         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
6687         BZ #18757.
6689 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6691         * malloc/mtrace.pl: Filter out NULL entries.
6693 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
6695         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
6696         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
6697         macro.
6699         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6700         (TCP_CC_INFO): Likewise.
6701         (TCP_SAVE_SYN): Likewise.
6702         (TCP_SAVED_SYN): Likewise.
6704 2015-08-31  Brett Neumeier <brett@neumeier.us>
6706         [BZ #18870]
6707         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6709 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6711         [BZ #18873]
6712         Fix broken overflow check in posix_fallocate
6713         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6714         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6715         Fix parenthesization typo.
6717 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6719         [BZ #18887]
6720         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6721         tst-mntent-blank-passno.
6722         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6723         * misc/tst-mntent-blank-corrupt.c: New test.
6724         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6725         * misc/tst-mntent.c (do_test): ... here.
6727 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6729         [BZ #4404]
6730         * po/de.po: Fix SIGALRM typo.
6732 2015-08-28  James Perkins  <james@loowit.net>
6734         * time/tst-strptime2.c (tests): Replace short list of test
6735         strings for strptime %z specifier with code which exhaustively
6736         tests every combination of sign and 0 to 5 digits. Tests for
6737         rejection of invalid strings.
6739 2015-08-28  James Perkins  <james@loowit.net>
6741         [BZ #16141]
6742         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6743         calculation, removing incorrect decimal time rounding, so that
6744         all minute values result in a valid seconds value.
6745         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6746         offset range limits to UTC-99:59 through UTC+99:59 to parse
6747         current and historical use cases.
6748         * time/tst-strptime2.c (tests): Modify and add tests for the
6749         strptime %z input field descriptor, specifically conversion of
6750         minutes to seconds and validating an offset range of -9959 to
6751         +9959.
6753 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6754             Dmitry V. Levin  <ldv@altlinux.org>
6756         [BZ #18877]
6757         * posix/Makefile (tests): Add tst-mmap-offset.
6758         * posix/tst-mmap.c: New file.
6759         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6760         offset calculation for negative values.
6762 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6764         * sysdeps/i386/init-arch.h: New file.
6765         * sysdeps/i386/i586/init-arch.h: Likewise.
6766         * sysdeps/i386/i686/init-arch.h: Likewise.
6767         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6768         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6769         * sysdeps/x86/cpu-features.h (bit_I586): New.
6770         (bit_I686): Likewise.
6771         (bit_CX8): Likewise.
6772         (bit_CMOV): Likewise.
6773         (index_CX8): Likewise.
6774         (index_CMOV): Likewise.
6775         (index_I586): Likewise.
6776         (index_I686): Likewise.
6777         (reg_CX8): Likewise.
6778         (reg_CMOV): Likewise.
6779         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6780         available at compile-time.
6781         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6782         available at compile-time.
6783         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6784         (USE_I686): Likewise.
6786 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6788         * sysdeps/i386/bcopy.S: New file.
6789         * sysdeps/i386/bzero.S: Likewise.
6790         * sysdeps/i386/memcpy.S: Likewise.
6791         * sysdeps/i386/memmove.S: Likewise.
6792         * sysdeps/i386/mempcpy.S: Likewise.
6793         * sysdeps/i386/memset.S: Likewise.
6794         * sysdeps/i386/bzero.c: Removed.
6795         * sysdeps/i386/memset.c: Likewise.
6796         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6797         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6798         * sysdeps/i386/i586/memset_chk.S: Likewise.
6799         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6800         * sysdeps/i386/memcpy_chk.S: Here.
6801         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6802         * sysdeps/i386/memmove_chk.S: Here.
6803         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6804         * sysdeps/i386/mempcpy_chk.S: Likewise.
6805         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6806         * sysdeps/i386/memset_chk.S: Likewise.
6808 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6810         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6811         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6812         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6813         * soft-fp/fmadf4.c: Ditto.
6814         * soft-fp/fmatf4.c: Ditto.
6816 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6818         * sysdeps/i386/i586/Implies: Removed.
6819         * sysdeps/i386/i686/Implies: Likewise.
6821 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6823         * sysdeps/i386/i486/strlen.S: Moved to ...
6824         * sysdeps/i386/strlen.S: Here.
6826 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6828         * sysdeps/i386/i486/strcat.S: Moved to ...
6829         * sysdeps/i386/strcat.S: Here.
6831 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6833         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6834         * sysdeps/i386/pthread_spin_trylock.S: Here.
6835         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6836         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6838 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6840         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6841         * sysdeps/i386/string-inlines.c: Here.
6843 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6845         * sysdeps/i386/i486/htonl.S: Moved ...
6846         * sysdeps/i386/htonl.S: here.
6848 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6850         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6851         * sysdeps/i386/bits/atomic.h: Here.
6853 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6855         * sysdeps/i386/i486/Versions: Removed.
6857 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6859         [BZ #2898]
6860         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6861         Based on patch by Aurelien Jarno.
6863 2015-08-26  Stan Shebs  <stanshebs@google.com>
6865         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6866         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6868 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6870         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6871         * sysdeps/powerpc/dl-procinfo.c:
6872         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6873         feature so it shows when LD_SHOW_AUXV=1.
6875 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6877         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6878         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6879         definition.  ISA 2.07B no longer requires full sync.
6881 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6883         [BZ #18863]
6884         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6885         (si_call_addr): Define.
6886         (si_syscall): Define.
6887         (si_arch): Define.
6889 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6891         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6892         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6893         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6894         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6895         (__memset_zero_constant_len_parameter): New.
6896         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6897         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6898         (__memset_zero_constant_len_parameter): Don't define if
6899         __memset_chk or USE_AS_BZERO are defined.
6901         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6902         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6903         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6905         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6906         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6907         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6908         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6909         comments.
6910         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6911         -mno-mmx for $(all-rtld-routines).
6912         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6913         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6914         i386.
6916 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6918         * sysdeps/generic/unwind.h
6919         (_Unwind_Word): Use __mode__(__unwind_word__)
6920         instead of __mode__(__word__).
6921         (_Unwind_Sword): Likewise.
6923         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6924         (MAX_NEEDED_INPUT): New define.
6925         (MAX_NEEDED_OUTPUT): New define.
6927         * NEWS: New item for IBM z13 string optimizations.
6929         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6930         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6931         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6932         * sysdeps/s390/multiarch/Makefile
6933         (sysdep_routines): Add memrchr functions.
6934         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6935         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6937         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6938         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6939         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6940         * sysdeps/s390/multiarch/Makefile
6941         (sysdep_routines): Add wmemcmp functions.
6942         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6943         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6944         * benchtests/bench-wmemcmp.c: New File.
6945         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6947         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6948         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6949         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6950         * sysdeps/s390/multiarch/Makefile
6951         (sysdep_routines): Add wmemset functions.
6952         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6953         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6954         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6955         * string/test-memset.c: Add wmemset support.
6956         * wcsmbs/test-wmemset.c: New File.
6957         * wcsmbs/Makefile (strop-tests): Add wmemset.
6958         * benchtests/bench-memset.c: Add wmemset support.
6959         * benchtests/bench-wmemset.c: New File.
6960         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6962         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6963         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6964         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6965         * sysdeps/s390/multiarch/Makefile
6966         (sysdep_routines): Add memccpy functions.
6967         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6968         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6969         * string/memccpy.c: Use MEMCCPY if defined.
6971         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6972         * sysdeps/s390/multiarch/memchr.c: Likewise.
6973         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6974         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6975         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6976         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6977         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6978         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6979         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6980         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6981         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6982         and rawmemchr functions.
6983         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6984         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6985         and wmemchr.
6986         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6987         * string/test-memchr.c: Add wmemchr support.
6988         * wcsmbs/test-wmemchr.c: New File.
6989         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6990         * benchtests/bench-memchr.c: Add wmemchr support.
6991         * benchtests/bench-wmemchr.c: New File.
6992         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6994         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6995         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6996         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6997         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6998         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6999         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7000         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7001         wcscspn functions.
7002         * sysdeps/s390/multiarch/ifunc-impl-list.c
7003         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7004         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7005         * string/test-strcspn.c: Add wcscspn support.
7006         * wcsmbs/test-wcscspn.c: New File.
7007         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7008         * benchtests/bench-strcspn.c: Add wcscspn support.
7009         * benchtests/bench-wcscspn.c: New File.
7010         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7012         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7013         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7014         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7015         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7016         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7017         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7018         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7019         wcspbrk functions.
7020         * sysdeps/s390/multiarch/ifunc-impl-list.c
7021         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7022         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7023         * string/test-strpbrk.c: Add wcspbrk support.
7024         * wcsmbs/test-wcspbrk.c: New File.
7025         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7026         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7027         * benchtests/bench-wcspbrk.c: New File.
7028         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7030         * sysdeps/s390/multiarch/strspn-c.c: New File.
7031         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7032         * sysdeps/s390/multiarch/strspn.c: Likewise.
7033         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7034         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7035         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7036         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7037         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7038         wcsspn functions.
7039         * sysdeps/s390/multiarch/ifunc-impl-list.c
7040         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7041         * string/test-strspn.c: Add wcsspn support.
7042         * wcsmbs/test-wcsspn.c: New File.
7043         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7044         * benchtests/bench-strspn.c: Add wcsspn support.
7045         * benchtests/bench-wcsspn.c: New File.
7046         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7048         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7049         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7050         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7051         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7052         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7053         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7054         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7055         wcsrchr functions.
7056         * sysdeps/s390/multiarch/ifunc-impl-list.c
7057         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7058         * benchtests/bench-wcsrchr.c: New File.
7059         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7061         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7062         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7063         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7064         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7065         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7066         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7067         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7068         wcschrnul functions.
7069         * sysdeps/s390/multiarch/ifunc-impl-list.c
7070         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7071         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7072         * string/test-strchr.c: Add wcschrnul support.
7073         * wcsmbs/test-wcschrnul.c: New File.
7074         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7075         * benchtests/bench-strchr.c: Add wcschrnul support.
7076         * benchtests/bench-wcschrnul.c: New File.
7077         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7079         * sysdeps/s390/multiarch/strchr-c.c: New File.
7080         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7081         * sysdeps/s390/multiarch/strchr.c: Likewise.
7082         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7083         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7084         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7085         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7086         wcschr functions.
7087         * sysdeps/s390/multiarch/ifunc-impl-list.c
7088         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7089         * string/strchr.c (STRCHR): Define and use macro.
7090         * benchtests/bench-wcschr.c: New File.
7091         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7093         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7094         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7095         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7096         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7097         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7098         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7099         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7100         wcsncmp functions.
7101         * sysdeps/s390/multiarch/ifunc-impl-list.c
7102         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7103         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7104         * benchtests/bench-strncmp.c: Add wcsncmp support.
7105         * benchtests/bench-wcsncmp.c: New File.
7106         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7108         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7109         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7110         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7111         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7112         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7113         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7114         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7115         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7116         wcscmp functions.
7117         * sysdeps/s390/multiarch/ifunc-impl-list.c
7118         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7119         * string/strcmp.c (STRCMP): Define and use macro.
7120         * benchtests/bench-wcscmp.c: New File.
7121         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7122         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7123         instead of _HAVE_STRING_ARCH_memchr.
7125         * sysdeps/s390/multiarch/strncat-c.c: New File.
7126         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7127         * sysdeps/s390/multiarch/strncat.c: Likewise.
7128         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7129         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7130         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7131         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7132         wcsncat functions.
7133         * sysdeps/s390/multiarch/ifunc-impl-list.c
7134         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7135         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7136         * string/test-strncat.c: Add wcsncat support.
7137         * wcsmbs/test-wcsncat.c: New File.
7138         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7139         * benchtests/bench-strncat.c: Add wcsncat support.
7140         * benchtests/bench-wcsncat.c: New File.
7141         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7143         * sysdeps/s390/multiarch/strcat-c.c: New File.
7144         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7145         * sysdeps/s390/multiarch/strcat.c: Likewise.
7146         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7147         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7148         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7149         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7150         wcscat functions.
7151         * sysdeps/s390/multiarch/ifunc-impl-list.c
7152         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7153         * string/strcat.c (STRCAT): Define and use macro.
7154         * wcsmbs/wcscat.c: Use WCSCAT if defined.
7155         * string/test-strcat.c: Add wcscat support.
7156         * wcsmbs/test-wcscat.c: New File.
7157         * wcsmbs/Makefile (strop-tests): Add wcscat.
7158         * benchtests/bench-strcat.c: Add wcscat support.
7159         * benchtests/bench-wcscat.c: New File.
7160         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7162         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7163         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7164         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7165         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7166         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7167         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7168         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7169         wcpncpy functions.
7170         * sysdeps/s390/multiarch/ifunc-impl-list.c
7171         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7172         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7173         * string/test-stpncpy.c: Add wcpncpy support.
7174         * wcsmbs/test-wcpncpy.c: New File.
7175         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7176         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7177         * benchtests/bench-wcpncpy.c: New File.
7178         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7180         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7181         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7182         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7183         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7184         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7185         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7186         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7187         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7188         wcsncpy functions.
7189         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7190         * sysdeps/s390/multiarch/ifunc-impl-list.c
7191         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7192         * string/test-strncpy.c: Add wcsncpy support.
7193         * wcsmbs/test-wcsncpy.c: New File.
7194         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7195         * benchtests/bench-strncpy.c: Add wcsncpy support.
7196         * benchtests/bench-wcsncpy.c: New File.
7197         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7199         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7200         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7201         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7202         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7203         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7204         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7205         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7206         wcpcpy functions.
7207         * string/stpcpy.c: Use STPCPY if defined.
7208         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7209         * sysdeps/s390/multiarch/ifunc-impl-list.c
7210         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7211         * string/test-stpcpy.c: Add wcpcpy support.
7212         * wcsmbs/test-wcpcpy.c: New File.
7213         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7214         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7215         * benchtests/bench-wcpcpy.c: New File.
7216         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7218         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7219         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7220         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7221         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7222         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7223         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7224         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7225         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7226         wcscpy functions.
7227         * sysdeps/s390/multiarch/ifunc-impl-list.c
7228         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7229         * benchtests/bench-wcscpy.c: New File.
7230         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7232         * sysdeps/s390/multiarch/strnlen-c.c: New File.
7233         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7234         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7235         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7236         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7237         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7238         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7239         wcsnlen functions.
7240         * sysdeps/s390/multiarch/ifunc-impl-list.c
7241         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7242         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7243         * string/test-strnlen.c: Add wcsnlen support.
7244         * wcsmbs/test-wcsnlen.c: New File.
7245         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7246         * benchtests/bench-strnlen.c: Add wcsnlen support.
7247         * benchtests/bench-wcsnlen.c: New File.
7248         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7250         * sysdeps/s390/multiarch/Makefile: New File.
7251         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7252         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7253         * sysdeps/s390/multiarch/strlen.c: Likewise.
7254         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7255         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7256         * sysdeps/s390/multiarch/wcslen.c: Likewise.
7257         * string/strlen.c (STRLEN): Define and use macro.
7258         * sysdeps/s390/multiarch/ifunc-impl-list.c
7259         (IFUNC_VX_IMPL): New macro function.
7260         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7261         * benchtests/Makefile (wcsmbs-bench): New variable.
7262         (string-bench-all): Added wcsmbs-bench.
7263         * benchtests/bench-wcslen.c: New File.
7265         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7266         s390_vx_libc_ifunc2): New macro function.
7268         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7269         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7270         assembler support.
7271         * sysdeps/s390/configure: Regenerated.
7273         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7274         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7276         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7277         * sysdeps/s390/dl-procinfo.h: Add vector capability.
7278         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7280         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7281         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7282         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7283         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7284         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7285         (memcmp, bcmp): Use __memcmp_default as alias source.
7286         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7287         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7288         Rename to __memcmp_default.
7289         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7290         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7291         (memcpy): Use __memcpy_default as alias source.
7292         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7293         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7294         Rename to __memcpy_default.
7295         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7296         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7297         (memset): Use __memset_default as alias source.
7298         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7299         * sysdeps/s390/s390-32/memset.S (__memset_g5):
7300         Rename to __memset_default.
7301         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7302         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7303         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7304         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7305         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7306         (memcmp, bcmp): Use __memcmp_default as alias source.
7307         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7308         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7309         Rename to __memcmp_default.
7310         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7311         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7312         (memcpy): Use __memcpy_default as alias source.
7313         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7314         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7315         Rename to __memcpy_default.
7316         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7317         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7318         (memset): Use __memset_default as alias source.
7319         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7320         * sysdeps/s390/s390-64/memset.S (__memset_z900):
7321         Rename to __memset_default.
7322         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7323         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7325         [BZ #18610]
7326         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7327         __ieee_instruction_pointer to __unused.
7328         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7329         __ieee_instruction_pointer.
7330         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7331         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7332         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7333         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7334         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7335         Mark dxc-field as reserved.
7337 2015-08-25  Roland McGrath  <roland@hack.frob.com>
7339         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7340         if the weak reference is not null.
7342 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7344         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7346         [BZ #11214]
7347         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7349 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7351         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7352         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7353         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7354         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7355         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7356         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7357         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7358         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7359         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7360         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7361         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7362         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7363         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7364         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7365         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7366         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7367         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7368         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7370 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7372         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7373         register other than r0 for tabort, it has special meaning.
7374         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7375         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7376         transaction before starting syscall.
7378 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7380         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7382 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7384         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7386         * sysdeps/x86_64/rtld-memcmp.c: Removed.
7387         * sysdeps/x86_64/rtld-memset.S: Likewise.
7388         * sysdeps/x86_64/rtld-strchr.S: Likewise.
7389         * sysdeps/x86_64/rtld-strlen.S: Likewise.
7390         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7391         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7393         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7395 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7397         * debug/strcpy_chk.c: Improve performance.
7398         * debug/stpcpy_chk.c: Likewise.
7399         * sysdeps/x86_64/strcpy_chk.S: Remove.
7400         * sysdeps/x86_64/stpcpy_chk.S: Remove.
7402         [BZ #18240]
7403         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7405 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7407         [BZ #15128]
7408         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7409         ifuncmain8.
7410         (modules-names): Add ifuncmod8.
7411         ($(objpfx)ifuncmain8): New rule.
7412         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7413         <cpuid.h>.
7414         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7415         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7416         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7417         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7418         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7419         * sysdeps/x86_64/dl-trampoline.h: Likewise.
7420         * sysdeps/x86_64/ifuncmain8.c: New file.
7421         * sysdeps/x86_64/ifuncmod8.c: Likewise.
7422         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7423         Removed.
7424         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7425         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7426         Change rtld_savespace_sse to __glibc_unused2.
7427         (RTLD_CHECK_FOREIGN_CALL): Removed.
7428         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7429         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7430         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7432 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7434         * sysdeps/aarch64/bzero.S (__bzero): Remove.
7436 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7438         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7439         Unconditionally set __fpcr to avoid uninialized warning.
7440         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7442 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7444         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7445         is corrupt.
7447         * malloc/arena.c (arena_get2): Drop unused argument.
7448         (arena_lock): Adjust.
7449         (arena_get_retry): Likewise.
7451 2015-08-24  Andreas Schwab  <schwab@suse.de>
7453         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7454         Don't define.
7455         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7456         (__ASSUME_IPC64): Don't undef.
7457         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7458         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7459         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7460         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7461         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7462         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7463         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7464         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7465         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7466         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7467         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7468         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7469         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7470         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7471         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7472         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7473         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7474         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7475         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7476         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7477         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7479 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
7481         * manual/Makefile (install): Only build manual when perl is available.
7483 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7485         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7486         '#undef memcpy' by '#undef memchr'.
7488 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7490         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7491         memchr not point to the internal __GI_memchr implementation.
7493 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7495         * timezone/Makefile (CFLAGS-zdump.c): Remove
7496         -Wno-strict-prototypes.
7497         (CFLAGS-zic.c): Likewise.
7498         (CFLAGS-ialloc.c): Likewise.
7499         (CFLAGS-scheck.c): Likewise.
7501         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7502         -Wno-error=undef.
7504 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7506         * i386/i686/multiarch/strcasestr-c.c: Removed.
7507         * x86_64/multiarch/strcasestr.c: Likewise.
7508         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7509         Remove strcasestr.
7511 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7513         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
7515         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
7516         variables for high and low parts before possibly modifying them.
7518 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7520         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
7521         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
7522         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
7523         of "multiarch/init-arch.h".
7524         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
7525         * sysdeps/x86/init-arch.h: This.
7527 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7529         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
7530         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
7532 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
7534         [BZ #17787]
7535         * manual/macros.texi: Add twoexp macro.
7536         * manual/filesys.texi: Fix exponents.
7537         * manual/llio.texi: Likewise.
7538         * manual/stdio.texi: Likewise.
7540 2015-08-20  Florian Weimer  <fweimer@redhat.com>
7542         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
7543         incorrect use.
7545 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7547         [BZ #18370]
7548         * math/s_csqrt.c (__csqrt): Force underflow exception for results
7549         whose real or imaginary part has small absolute value.
7550         * math/s_csqrtf.c (__csqrtf): Likewise.
7551         * math/s_csqrtl.c (__csqrtl): Likewise.
7552         * math/auto-libm-test-in: Add more tests of csqrt.
7553         * math/auto-libm-test-out: Regenerated.
7554         * sysdeps/i386/fpu/libm-test-ulps: Update.
7556 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7558         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
7559         __ppc_set_ppr_very_low): New functions.
7560         * manual/platform.texi: Add documentation about
7561         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
7563 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
7565         * string/stpncpy.c (stpncpy): Improve performance using
7566         __strnlen/memcpy/memset.
7568 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7570         [BZ #18796]
7571         * scripts/test-installation.pl: Don't add -lmvec to build options if
7572         libmvec wasn't built.
7574 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7576         [BZ #14341]
7577         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
7578         case when there is a gap between DT_REL and DT_JMPREL sections.
7579         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
7580         (LDFLAGS-tst-split-dynreloc): New.
7581         (tst-split-dynreloc-ENV): Likewise.
7582         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
7583         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7585 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7587         [BZ #18822]
7588         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7589         attribute_hidden.
7590         (__xstat64_conv): Likewise.
7591         (__xstat32_conv): Likewise.
7593 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7595         [BZ #18822]
7596         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7597         Don't load %ebx when calling __setcontext.  Call __setcontext
7598         with HIDDEN_JUMPTARGET.
7599         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7600         libc_hidden_def.
7602 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7604         * sysdeps/i386/i686/Makefile
7605         [$(subdir) == string] (sysdep_routines): Moved to ...
7606         * sysdeps/i386/Makefile: Here.
7607         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7608         * sysdeps/i386/cacheinfo.c: Here.
7609         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7610         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7611         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7612         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7614 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7616         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7617         __i586__ is defined.
7618         (HAS_I686): Defined to 1 if __i686__ is defined.
7620 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7622         * elf/Makefile [$(have-z-execstack) = yes]
7623         (CPPFLAGS-tst-execstack.c): New variable.
7625         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7626         conditional to [defined UTMPX || _HAVE_UT_TYPE].
7627         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7628         UTMPX || _HAVE_UT_TV].
7629         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7630         UTMPX || _HAVE_UT_TV - 0].
7632 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
7634         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7635         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7636         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7638 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7640         * sysdeps/powerpc/dl-procinfo.c:
7641         (_dl_powerpc_cap_flags): Added missing strings for some
7642         hwcap features.
7643         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
7645 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
7647         Port the 0x7efe...feff pattern to GCC 6.
7648         See Steve Ellcey's bug report in:
7649         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
7650         * string/memrchr.c (MEMRCHR):
7651         * string/rawmemchr.c (RAWMEMCHR):
7652         * string/strchr.c (strchr):
7653         * string/strchrnul.c (STRCHRNUL):
7654         Rewrite code to avoid issues with signed shift overflow.
7656 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
7658         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
7659         whether cpuid is available only if HAS_CPUID is 0.
7660         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
7661         (HAS_I586): Likewise.
7662         (HAS_I686): Likewise.
7664 2015-08-18  Zack Weinberg  <zackw@panix.com>
7666         * misc/Versions (libc): Add GLIBC_2.23.
7668 2015-08-18  Alan Modra  <amodra@gmail.com>
7670         [BZ #18421]
7671         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
7672         .Lp__global.
7673         (_start): Load %dp via .Lp__global.
7674         [!SHARED]: Use .section .rodata.
7676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7678         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
7679         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
7681 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7683         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
7684         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
7686 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7688         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
7689         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
7691 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7693         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
7694         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
7696 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7698         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
7699         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7701 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7703         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7704         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7706 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7708         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7710 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7712         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7713         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7714         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7715         (__ASSUME_LWS_CAS): Delete.
7717 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7719         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7720         * sysdeps/hppa/configure: Regenerated.
7721         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7722         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7723         * sysdeps/hppa/nptl/tls.h: Likewise.
7725 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7727         [BZ #18823]
7728         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7729         for scaling up small arguments.
7730         * math/s_csqrtf.c (__csqrtf): Likewise.
7731         * math/s_csqrtl.c (__csqrtl): Likewise.
7732         * math/auto-libm-test-in: Add more tests of csqrt.
7733         * math/auto-libm-test-out: Regenerated.
7735 2015-08-17  Andreas Schwab  <schwab@suse.de>
7737         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7738         version set GLIBC_2.19.
7740 2015-08-16  Zack Weinberg  <zackw@panix.com>
7742         [BZ #18681]
7743         * misc/regexp.h: This interface is no longer supported.
7744         Remove all contents, leaving only an #error directive.
7745         * misc/regexp.c (loc1, loc2, locs, step, advance):
7746         Demote to compatibility symbols.
7748 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7750         [BZ #18084]
7751         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7752         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7753         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7754         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7755         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7756         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7757         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7758         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7759         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7761 2015-08-15  Zack Weinberg  <zackw@panix.com>
7763         [BZ #18795]
7764         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7765         buffer length is known to be too large, not if it's known to be
7766         small enough.
7767         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7768         overflow at runtime, involving a length parameter, twice: once
7769         with a compile-time constant length parameter, once without.
7771 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7773         [BZ #18824]
7774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7775         scaling x * y up instead of down.
7776         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7777         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7778         * math/auto-libm-test-in: Add more tests of fma.
7779         * math/auto-libm-test-out: Regenerated.
7781 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7783         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7785 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7787         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7788         unnecessary movq.
7789         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7790         Likewise.
7792 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7794         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7795         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7796         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7797         and tgamma.
7798         * math/auto-libm-test-out: Regenerated.
7799         * sysdeps/i386/fpu/libm-test-ulps: Update.
7800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7802         [BZ #16520]
7803         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7804         (__tanh): Force underflow exception for arguments with small
7805         absolute value.
7806         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7807         (__tanhf): Force underflow exception for arguments with small
7808         absolute value.
7809         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7810         (__tanhl): Force underflow exception for arguments with small
7811         absolute value.
7812         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7813         (__tanhl): Force underflow exception for arguments with small
7814         absolute value.
7815         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7816         (__tanhl): Force underflow exception for arguments with small
7817         absolute value.
7818         * math/auto-libm-test-in: Add more tests of tanh.
7819         * math/auto-libm-test-out: Regenerated.
7820         * sysdeps/i386/fpu/libm-test-ulps: Update.
7822 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7824         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7825         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7827 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7829         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7830         <cpuid.h>.
7832 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7834         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7835         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7837 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7839         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7840         Remove $(objpfx)init-arch.o.
7841         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7842         init-arch.
7843         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7844         (INIT_ARCH_EXT): Defined as empty.
7845         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7846         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7847         __init_cpu_features call.  Replace HAS_XXX with
7848         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7849         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7850         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7851         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7852         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7853         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7854         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7855         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7856         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7857         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7858         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7859         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7860         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7861         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7862         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7863         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7864         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7865         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7866         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7867         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7868         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7869         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7870         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7871         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7872         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7873         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7874         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7876         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7877         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7878         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7879         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7880         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7881         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7882         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7883         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7885 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7887         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7888         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7889         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7890         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7891         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7892         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7893         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7894         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7895         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7896         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7897         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7898         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7899         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7900         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7901         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7902         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7903         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7904         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7905         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7906         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7907         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7908         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7909         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7910         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7911         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7912         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7913         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7914         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7915         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7916         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7917         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7918         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7919         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7920         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7921         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7922         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7923         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7924         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7925         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7926         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7927         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7928         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7929         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7931 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7933         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7934         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7935         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7936         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7937         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7938         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7939         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7940         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7941         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7942         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7943         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7944         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7945         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7946         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7947         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7948         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7949         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7950         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7951         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7952         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7954         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7955         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7956         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7957         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7958         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7959         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7960         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7961         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7962         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7963         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7964         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7965         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7966         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7967         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7968         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7969         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7970         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7971         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7972         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7973         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7974         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7975         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7977 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7979         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7980         (dl_platform_init): Call init_cpu_features.
7981         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7982         * sysdeps/i386/i686/cacheinfo.c
7983         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7984         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7985         * sysdeps/i386/i686/multiarch/Versions: Removed.
7986         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7987         Removed.
7988         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7989         * sysdeps/unix/sysv/linux/x86/Makefile
7990         (libpthread-sysdep_routines): Remove init-arch.
7991         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7992         <sysdeps/x86_64/dl-procinfo.c> instead of
7993         sysdeps/generic/dl-procinfo.c>.
7994         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7995         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7996         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7997         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7998         [$(subdir) == elf] (tests-static): Add
7999         tst-get-cpu-features-static.
8000         * sysdeps/x86/Versions: New file.
8001         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8002         * sysdeps/x86/cpu-features.c: Likewise.
8003         * sysdeps/x86/cpu-features.h: Likewise.
8004         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8005         * sysdeps/x86/libc-start.c: Likewise.
8006         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8007         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8008         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8009         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8010         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8011         Assume USE_MULTIARCH is defined and don't check it.
8012         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8013         (is_amd): Likewise.
8014         (max_cpuid): Likewise.
8015         (intel_check_word): Likewise.
8016         (__cache_sysconf): Don't call __init_cpu_features.
8017         (__x86_preferred_memory_instruction): Removed.
8018         (init_cacheinfo): Don't call __init_cpu_features. Replace
8019         __cpu_features with GLRO(dl_x86_cpu_features).
8020         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8021         (dl_platform_init): Call init_cpu_features.
8022         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8023         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8024         * sysdeps/x86_64/multiarch/Versions: Removed.
8025         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8026         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8027         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8028         Removed.
8029         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8031 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8033         [BZ #18820]
8034         * libio/Makefile (test-fmemopen-mem): New test.
8035         * libio/test-fmemopen.c (do_bz18820): New test.
8036         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8037         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8039 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8041         [BZ #16734]
8042         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8043         (FREE_BUF): Delete.
8044         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8045         * libio/genops.c (_IO_setb): Use malloc and free directly.
8046         (_IO_default_doallocate, _IO_default_finish): Likewise.
8047         ( _IO_unbuffer_all): Likewise.
8048         ( libc_freeres_fn): Likewise.
8049         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8050         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8051         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8052         (_IO_wdefault_doallocate): Likewise.
8054 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8056         [BZ #18086]
8057         * sysdeps/posix/nice.c (nice): Restore old errno.
8058         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8060 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8064 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8066         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8067         __bcopy and add a weak_alias to bcopy.
8068         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8069         for static build.
8071         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8072         cleanup macro usage.
8073         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8074         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8075         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8076         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8077         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8078         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8079         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8080         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8081         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8082         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8083         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8084         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8085         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8086         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8087         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8089         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8090         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8091         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8093         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8094         libc_hidden_def.
8095         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8097         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8098         (sysdep_routines): Add strstr-ppc64.
8099         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8101 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8103         [BZ #18778]
8104         * elf/Makefile (tests): Add Add tst-nodelete2.
8105         (modules-names): Add tst-nodelete2mod.
8106         (tst-nodelete2mod.so-no-z-defs): New.
8107         ($(objpfx)tst-nodelete2): Likewise.
8108         ($(objpfx)tst-nodelete2.out): Likewise.
8109         (LDFLAGS-tst-nodelete2): Likewise.
8110         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8111         out of loop through all loaded libraries.
8112         * elf/tst-nodelete2.c: New file.
8113         * elf/tst-nodelete2mod.c: Likewise.
8114         * elf/tst-znodelete-zlib.cc: Delete.
8116 2015-08-11  Andreas Schwab  <schwab@suse.de>
8118         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8119         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8120         (__openat64_nocancel): Likewise.
8122 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8124         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8125         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8126         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8127         * math/auto-libm-test-out: Regenerated.
8128         * sysdeps/i386/fpu/libm-test-ulps: Update.
8129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8131 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8133         [BZ #18790]
8134         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8135         threshold for returning +/- 1.
8136         * math/auto-libm-test-in: Add more tests of tanh.
8137         * math/auto-libm-test-out: Regenerated.
8138         * sysdeps/i386/fpu/libm-test-ulps: Update.
8140 2015-08-10  Andreas Schwab  <schwab@suse.de>
8142         [BZ #18781]
8143         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8144         MORE_OFLAGS to oflag.
8145         * io/test-lfs.c (do_test): Test openat64.
8147 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8149         [BZ #18789]
8150         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8151         smaller threshold for returning the argument.
8152         * math/auto-libm-test-in: Add more tests of sinh.
8153         * math/auto-libm-test-out: Regenerated.
8154         * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8158         [BZ #18674]
8159         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8160         break.
8162 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8164         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8165         (generated): Don't add $(addprefix z.,$(tzfiles)).
8167 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8169         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8170         * scripts/sysd-rules.awk: Likewise.
8172 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8174         * iconvdata/tst-tables.sh: Change echo -n to printf.
8175         * nss/db-Makefile: Likewise.
8176         * posix/tst-getconf.sh: Likewise.
8177         * stdio-common/tst-unbputc.sh: Likewise.
8179 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8181         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8182         MADV_*_PAGES defines behind this feature check.
8184 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8186         [BZ #18480]
8187         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8188         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8189         Define.
8190         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8191         LOAD_REGS_5, LOAD_REGS_6): Update.
8192         (INTERNAL_SYSCALL): Update using new LOAD defines.
8193         (INTERNAL_SYSCALL_NCS): Likewise.
8194         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8196 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8198         [BZ #16734]
8199         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8201 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8203         [BZ #17905]
8204         * catgets/Makefile (tst-catgets-mem): New test.
8205         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8206         * catgets/open_catalog.c (__open_catalog): Likewise.
8207         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8209 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8211         [BZ #18787]
8212         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8213         clobber registers.
8214         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8215         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8216         Cast return to __typeof (oldval).
8218 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8220         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8221         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8222         and delete sys/syscall.h include.
8224 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
8226         [BZ #16517]
8227         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8228         (tan): Force underflow exception for arguments with small absolute
8229         value.
8230         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8231         (__kernel_tanf): Force underflow exception for arguments with
8232         small absolute value.
8233         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8234         (__kernel_tanl): Force underflow exception for arguments with
8235         small absolute value.
8236         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8237         (__kernel_tanl): Force underflow exception for arguments with
8238         small absolute value.
8239         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8240         (__kernel_tanl): Force underflow exception for arguments with
8241         small absolute value.
8242         * math/auto-libm-test-in: Add more tests of tan.
8243         * math/auto-libm-test-out: Regenerated.
8245 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8247         Fix sysdeps/i386/fpu/s_scalbn.S build
8249         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8251 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
8253         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8255 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8257         Fix gcrt0.o compilation
8259         When static-start-installed-name is different from
8260         start-installed-name, we must not use the shared objects.
8262         * csu/Makefile
8263         (extra-objs): Add gmon-start.o when building shared library and
8264         $(static-start-installed-name) is different from
8265         $(start-installed-name).
8266         $(objpfx)g$(static-start-installed-name): When building shared
8267         library and $(static-start-installed-name) is different from
8268         $(static-start-installed-name), revert to non-shared rule,
8269         i.e. using $(objpfx)% and gmon-start.o.
8271 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
8273         [BZ #16519]
8274         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8275         (__ieee754_sinh): Force underflow exception for arguments with
8276         small absolute value.
8277         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8278         (__ieee754_sinhf): Force underflow exception for arguments with
8279         small absolute value.
8280         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8281         (__ieee754_sinhl): Force underflow exception for arguments with
8282         small absolute value.
8283         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8284         (__ieee754_sinhl): Force underflow exception for arguments with
8285         small absolute value.
8286         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8287         (__ieee754_sinhl): Force underflow exception for arguments with
8288         small absolute value.
8289         * math/auto-libm-test-in: Add more tests of sinh.
8290         * math/auto-libm-test-out: Regenerated.
8291         * sysdeps/i386/fpu/libm-test-ulps: Update.
8293 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8295         * libio/oldfileops.c: Include unistd.h.
8297 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
8299         * stdlib/isomac.c: Include ctype.h.
8301 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
8303         * dirent/tst-seekdir.c (main): Converted to ...
8304         (do_test): ... this.
8305         (TEST_FUNCTION): New macro.
8306         Include test-skeleton.c.
8307         * elf/tst-dlmodcount.c (main): Converted to ...
8308         (do_test): ... this.
8309         (TEST_FUNCTION): New macro.
8310         Include test-skeleton.c.
8311         * elf/tst-order-main.c (main): Converted to ...
8312         (do_test): ... this.
8313         (TEST_FUNCTION): New macro.
8314         Include test-skeleton.c.
8315         * elf/tst-pie2.c (main): Converted to ...
8316         (do_test): ... this.
8317         (TEST_FUNCTION): New macro.
8318         Include test-skeleton.c.
8319         * inet/tst-ether_aton.c (main): Converted to ...
8320         (do_test): ... this.
8321         (TEST_FUNCTION): New macro.
8322         Include test-skeleton.c.
8323         * misc/tst-mntent.c (main): Converted to ...
8324         (do_test): ... this.
8325         (TEST_FUNCTION): New macro.
8326         Include test-skeleton.c.
8327         * misc/tst-tsearch.c (main): Converted to ...
8328         (do_test): ... this.
8329         (TEST_FUNCTION): New macro.
8330         Include test-skeleton.c.
8331         * posix/tst-regexloc.c (main): Converted to ...
8332         (do_test): ... this.
8333         (TEST_FUNCTION): New macro.
8334         Include test-skeleton.c.
8335         * resolv/tst-aton.c (main): Converted to ...
8336         (do_test): ... this.
8337         (TEST_FUNCTION): New macro.
8338         Include test-skeleton.c.
8339         * stdio-common/test-fwrite.c (main): Converted to ...
8340         (do_test): ... this.
8341         (TEST_FUNCTION): New macro.
8342         Include test-skeleton.c.
8343         * stdio-common/tst-ferror.c (main): Converted to ...
8344         (do_test): ... this.
8345         (TEST_FUNCTION): New macro.
8346         Include test-skeleton.c.
8347         * stdio-common/tst-printf.c (main): Converted to ...
8348         (do_test): ... this.
8349         (TEST_FUNCTION): New macro.
8350         Include test-skeleton.c.
8351         * stdio-common/tst-printfsz.c (main): Converted to ...
8352         (do_test): ... this.
8353         (TEST_FUNCTION): New macro.
8354         Include test-skeleton.c.
8355         * stdlib/tst-strtod.c (main): Converted to ...
8356         (do_test): ... this.
8357         (TEST_FUNCTION): New macro.
8358         Include test-skeleton.c.
8359         * string/tst-strlen.c (main): Converted to ...
8360         (do_test): ... this.
8361         (TEST_FUNCTION): New macro.
8362         Include test-skeleton.c.
8363         * string/tst-svc.c (main): Converted to ...
8364         (do_test): ... this.
8365         (TEST_FUNCTION): New macro.
8366         Include test-skeleton.c.
8367         * time/tst-strptime.c (main): Converted to ...
8368         (do_test): ... this.
8369         (TEST_FUNCTION): New macro.
8370         Include test-skeleton.c.
8371         * timezone/tst-timezone.c (main): Converted to ...
8372         (do_test): ... this.
8373         (TEST_FUNCTION): New macro.
8374         Include test-skeleton.c.
8376 2015-08-05  Zack Weinberg  <zackw@panix.com>
8378         * misc/regexp.h: Update comments.
8380 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
8382         [BZ #18635]
8383         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8384         before return label.
8386 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8388         [BZ #18661]
8389         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8390         when calling __errno_location.
8391         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8392         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8394 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8396         [BZ #18661]
8397         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8398         (__lll_timedwait_tid): Align stack to 16 bytes when calling
8399         __gettimeofday.
8401 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8403         [BZ #18661]
8404         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8405         (__start_context): Don't use pop to restore %rdi so that stack
8406         is aligned to 16 bytes when calling __setcontext.
8408 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8410         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8411         only for libc.
8412         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8414 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8416         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8417         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
8418         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8420 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8422         * string/memccpy.c (memccpy):
8423         Improve performance by using memchr/memcpy/__mempcpy.
8425 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8427         * string/strncpy.c (strncpy):
8428         Improve performance by using __strnlen/memcpy.
8430 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8432         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8433         Optimize to avoid an unnecessary FPCR read.
8435 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8437         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8438         Optimize to reduce FPCR/FPSR accesses.
8440 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8442         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8443         dead->data[category] != NULL.
8445 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
8447         [BZ #18647]
8448         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8449         and |x| close to 1, use absolute value of x when computing log.
8450         * math/auto-libm-test-in: Add more tests of pow.
8451         * math/auto-libm-test-out: Regenerated.
8453 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8455         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8456         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8457         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8459 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
8461         [BZ #18525]
8462         * locales/km_KH: Remove timezone definition.
8463         * locales/lo_LA: Likewise.
8464         * locales/my_MM: Likewise.
8465         * locales/nan_TW@latin: Likewise.
8466         * locales/th_TH: Likewise.
8467         * locales/uk_UA: Likewise.
8469 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8471         [BZ #18265]
8472         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8473         (wcsncat): Likewise.
8474         (wcscmp): Likewise.
8475         (wcsncmp): Likewise.
8477 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8479         * test-skeleton.c (usage): New function.
8480         (main): Call usage when opt is '?'.
8482 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8484         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8485         before first use.
8487 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8489         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8490         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
8491         in there too.
8493 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
8495         * version.h (RELEASE): Set to "development".
8496         (VERSION): Set to "2.22.90"
8498         * version.h (RELEASE): Set to "stable".
8499         (VERSION): Set to "2.22"
8500         * include/features.h (__GLIBC_MINOR__): Set to 22.
8502 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
8504         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8505         Restructure macro to avoid "value computed is not used" warning.
8506         (atomic_compare_and_exchange_val_acq): Likewise.
8508 2015-08-04  Andreas Schwab  <schwab@suse.de>
8510         [BZ #18635]
8511         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8512         ret.
8513         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
8515 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
8517         * po/pl.po: Updated translation.
8518         * po/uk.po: Likewise.
8519         * po/fi.po: Likewise.
8520         * po/ko.po: Likewise.
8521         * po/ru.po: Likewise.
8522         * po/vi.po: Likewise.
8524 2015-07-31  Zack Weinberg  <zackw@panix.com>
8526         [BZ #18681]
8527         * regexp.h: Add unconditional #warning stating that this header
8528         will be removed soon.  Revise banner comment to match.
8529         (compile): Consistently use ERROR instead of RETURN to report
8530         errors (partial fix for bz#18681).
8531         * regexp.c: Don't include regexp.h. Remove some unnecessary
8532         declarations.
8534 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
8536         * po/libc.pot: Regenerated.
8538 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8540         [BZ #18740]
8541         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
8542         float-vlen4-arch-ext-cflags): Removed.
8543         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
8544         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
8546 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8548         [BZ #14113]
8549         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
8550         aligned to __aligned__.
8551         (pthread_cond_t, pthread_rwlock_t): Likewise.
8553 2015-07-30  Torvald Riegel  <triegel@redhat.com>
8555         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
8557 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8559         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8560         (struct sigaction): Change sa_flags from a long to an int, and add
8561         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
8563 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8565         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
8566         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
8567         sysdeps/generic/sysdep.h include.
8568         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
8569         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
8570         sysdeps/hppa/sysdep.h.
8571         (ENTRY, PSEUDO): Undefine before defining.
8573 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8575         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
8576         from scratch to use INTERNAL_SYSCALL.
8578 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
8580         [BZ #18078]
8581         * scripts/check-localplt.awk: Support alternate relocations.
8582         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
8583         sections.
8584         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8585         malloc entries with + REL R_386_GLOB_DAT.
8586         * sysdeps/x86_64/localplt.data: New file.
8588 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
8590         [BZ #18731]
8591         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8592         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8593         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8595 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8597         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8599 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8601         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8602         directly in terms of __sync_fetch_and_add and delete (int) cast.
8604 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8606         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8607         the -D_ASM_IA64_CURRENT_H flag.
8609 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8611         [BZ #18641]
8612         * pwd/pwd.h (putpwent): Delete __nonnull markings.
8614 2015-07-27  Andreas Schwab  <schwab@suse.de>
8616         * conform/conformtest.pl (checknamespace): Filter out string
8617         literals while tokenizing.
8619 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8621         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8622         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8623         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8625 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8627         * nptl/tst-join7mod.c: Add #include <string.h>.
8629 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8631         * sysdeps/nios2/libm-test-ulps: Update.
8633 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8635         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8636         Fix order of arguments to the rt_sigprocmask syscall.
8637         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8638         Likewise.
8640 2015-07-24  Roland McGrath  <roland@hack.frob.com>
8642         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
8644 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8646         [BZ #18457]
8647         * nptl/Makefile (tests): New test case tst-join7.
8648         (modules-names): New test case module tst-join7mod.
8649         * nptl/tst-join7.c: New file.
8650         * nptl/tst-join7mod.c: New file.
8651         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
8652         all translation units in libc.so, libpthread.so and rtld.
8654 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8658 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8660         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
8661         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8662         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8663         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8664         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8665         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8666         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8667         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8668         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8669         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8670         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8671         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8672         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
8673         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8674         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
8675         implementation.
8677 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8679         [BZ #17711]
8680         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8681         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
8682         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8683         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8684         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
8685         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8687 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8689         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
8690         instead of just saying load lock in the comments.
8692 2015-07-23  Roland McGrath  <roland@hack.frob.com>
8694         * sysdeps/unix/Subdirs: Moved ...
8695         * sysdeps/posix/Subdirs: ... here.
8696         * login/pty.h (struct termios, struct winsize): Add forward decls.
8697         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
8698         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8699         * sysdeps/arm/nacl/libc.abilist: Updated.
8700         * sysdeps/nacl/libutil.abilist: New file.
8702         * bits/signum.h: Update comments to mention 1003.1-2013 too.
8703         (SIGWINCH): New macro.
8705         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8706         * sysdeps/arm/nacl/libc.abilist: Add it.
8708 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8710         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8712 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8714         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8715         Swap __glibc_reserved0 and sa_flags order.
8717 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8719         [BZ #18657]
8720         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8721         are pending TLS destructor calls.
8722         * include/link.h (struct link_map): Add concurrency note for
8723         L_TLS_DTOR_COUNT.
8724         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8725         Don't touch the link map flag.  Atomically increment
8726         l_tls_dtor_count.
8727         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8728         Avoid taking the load lock and don't touch the link map flag.
8729         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8730         * stdlib/Makefile (tests): Use it.
8731         * stdlib/tst-tls-atexit.c (do_test): dlopen
8732         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8733         to allow tst-tls-atexit-nodelete test case to use it.
8735 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8737         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8738         to bits/types.h.
8739         (msgqnum_t): New typedef.
8740         (msglen_t): Likewise.
8741         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8742         and msg_qbytes type to msglen_t.
8744 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8746         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8747         pad0 to __glibc_reserved0.
8748         (struct stat64): Likewise.
8750 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8752         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8753         Change sa_flags from a long to an int and add __glibc_reserved0 before
8754         it for padding.
8756 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8758         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8759         anonymous by deleting "siginfo" name.
8761 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8763         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8764         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8765         rather than __nacl_irt_filename.
8766         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8768         * NEWS: New item for arm-nacl port.
8769         * sysdeps/arm/nacl/libc.abilist: New file.
8770         * sysdeps/nacl/ld.abilist: New file.
8771         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8772         * sysdeps/nacl/libanl.abilist: New file.
8773         * sysdeps/nacl/libcrypt.abilist: New file.
8774         * sysdeps/nacl/libdl.abilist: New file.
8775         * sysdeps/nacl/libm.abilist: New file.
8776         * sysdeps/nacl/libpthread.abilist: New file.
8777         * sysdeps/nacl/libresolv.abilist: New file.
8778         * sysdeps/nacl/librt.abilist: New file.
8780 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8782         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8783         __startcontext to initialize the new context.
8784         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8785         up CFI directive to forbid further backtracing.
8787 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8789         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8790         reference.
8791         * charmaps/ANSI_X3.4-1968: Likewise.
8792         * charmaps/BS_4730: Likewise.
8793         * charmaps/BS_VIEWDATA: Likewise.
8794         * charmaps/CP1250: Likewise.
8795         * charmaps/CP1251: Likewise.
8796         * charmaps/CP1252: Likewise.
8797         * charmaps/CP1253: Likewise.
8798         * charmaps/CP1254: Likewise.
8799         * charmaps/CP1255: Likewise.
8800         * charmaps/CP1256: Likewise.
8801         * charmaps/CSN_369103: Likewise.
8802         * charmaps/EBCDIC-DK-NO: Likewise.
8803         * charmaps/GB_1988-80: Likewise.
8804         * charmaps/GREEK-CCITT: Likewise.
8805         * charmaps/GREEK7: Likewise.
8806         * charmaps/INIS-8: Likewise.
8807         * charmaps/ISIRI-3342: Likewise.
8808         * charmaps/ISO_2033-1983: Likewise.
8809         * charmaps/ISO_5427-EXT: Likewise.
8810         * locales/POSIX: Likewise.
8811         * locales/ar_SA: Likewise.
8812         * locales/be_BY: Likewise.
8813         * locales/be_BY@latin: Likewise.
8814         * locales/ca_ES: Likewise.
8815         * locales/cs_CZ: Likewise.
8816         * locales/da_DK: Likewise.
8817         * locales/de_BE: Likewise.
8818         * locales/de_CH: Likewise.
8819         * locales/de_LU: Likewise.
8820         * locales/en_AU: Likewise.
8821         * locales/en_BW: Likewise.
8822         * locales/en_CA: Likewise.
8823         * locales/en_DK: Likewise.
8824         * locales/en_GB: Likewise.
8825         * locales/en_IE: Likewise.
8826         * locales/en_NZ: Likewise.
8827         * locales/en_ZA: Likewise.
8828         * locales/en_ZW: Likewise.
8829         * locales/es_AR: Likewise.
8830         * locales/es_BO: Likewise.
8831         * locales/es_CL: Likewise.
8832         * locales/es_CO: Likewise.
8833         * locales/es_DO: Likewise.
8834         * locales/es_EC: Likewise.
8835         * locales/es_ES: Likewise.
8836         * locales/es_HN: Likewise.
8837         * locales/es_MX: Likewise.
8838         * locales/es_PA: Likewise.
8839         * locales/es_PE: Likewise.
8840         * locales/es_PY: Likewise.
8841         * locales/es_SV: Likewise.
8842         * locales/es_US: Likewise.
8843         * locales/es_UY: Likewise.
8844         * locales/es_VE: Likewise.
8845         * locales/et_EE: Likewise.
8846         * locales/fa_IR: Likewise.
8847         * locales/fo_FO: Likewise.
8848         * locales/fr_CA: Likewise.
8849         * locales/fr_CH: Likewise.
8850         * locales/gv_GB: Likewise.
8851         * locales/he_IL: Likewise.
8852         * locales/hr_HR: Likewise.
8853         * locales/id_ID: Likewise.
8854         * locales/is_IS: Likewise.
8855         * locales/it_CH: Likewise.
8856         * locales/iw_IL: Likewise.
8857         * locales/kl_GL: Likewise.
8858         * locales/ko_KR: Likewise.
8859         * locales/kw_GB: Likewise.
8860         * locales/lg_UG: Likewise.
8861         * locales/lt_LT: Likewise.
8862         * locales/lv_LV: Likewise.
8863         * locales/mi_NZ: Likewise.
8864         * locales/nhn_MX: Likewise.
8865         * locales/nl_BE: Likewise.
8866         * locales/pl_PL: Likewise.
8867         * locales/sk_SK: Likewise.
8868         * locales/sl_SI: Likewise.
8869         * locales/sv_FI: Likewise.
8870         * locales/tl_PH: Likewise.
8871         * locales/tr_TR: Likewise.
8872         * locales/vi_VN: Likewise.
8874 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8876         [BZ #17475]
8877         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8878         of tu_IN and bh_IN.
8880 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8882         [BZ #18694]
8883         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8884         bits/wordsize.h.
8885         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8887 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8889         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8890         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8891         (spawn_thread): New function.
8892         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8893         (do_test): ... here.  Use IS_LOADED to test for its
8894         availability.
8896 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8898         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8900 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8902         [BZ #18696]
8903         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8904         si_addr_bnd.
8905         (si_lower): New.
8906         (si_upper): Likewise.
8908 2015-07-16  David S. Miller  <davem@davemloft.net>
8910         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8912 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8914         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8915         buffer.
8916         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8917         fail output information.
8919 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8922         and strstr-ppc64..
8923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8924         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8925         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8926         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8927         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8929 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8931         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8932         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8933         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8934         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8936 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8938         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8939         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8940         rtld_hidden_proto.
8941         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8943 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8945         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8946         the test can fail.
8948         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8950         [BZ #18676]
8951         * elf/tst-nodelete-opened.c: New test case.
8952         * elf/tst-nodelete-opened-lib.c: New test case module.
8953         * elf/Makefile (tests, modules-names): Use them.
8954         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8955         early.
8957 2015-07-15  David S. Miller  <davem@davemloft.net>
8959         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8960         futex-intenal.h
8961         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8962         * sysdeps/sparc/sparc64/Makefile: Likewise.
8963         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8964         Remove space from macro define.
8965         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8967 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8969         [BZ #17475]
8970         * locale/iso-639.def: Update Bhili and Tulu language codes as
8971         per iso639-3.
8973 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8975         * elf/tst-leaks1.c (main): Converted to ...
8976         (do_test): ... this.
8977         (TEST_FUNCTION): New macro.
8978         Include test-skeleton.c.
8979         * localedata/tst-langinfo.c (main): Converted to ...
8980         (do_test): ... this.
8981         (TEST_FUNCTION): New macro.
8982         Include test-skeleton.c.
8983         * math/test-fpucw.c (main): Converted to ...
8984         (do_test): ... this.
8985         (TEST_FUNCTION): New macro.
8986         Include test-skeleton.c.
8987         * math/test-tgmath.c (main): Converted to ...
8988         (do_test): ... this.
8989         (TEST_FUNCTION): New macro.
8990         Include test-skeleton.c.
8991         * math/test-tgmath2.c (main): Converted to ...
8992         (do_test): ... this.
8993         (TEST_FUNCTION): New macro.
8994         Include test-skeleton.c.
8995         * setjmp/tst-setjmp.c (main): Converted to ...
8996         (do_test): ... this.
8997         (TEST_FUNCTION): New macro.
8998         Include test-skeleton.c.
8999         * stdio-common/tst-sscanf.c (main): Converted to ...
9000         (do_test): ... this.
9001         (TEST_FUNCTION): New macro.
9002         Include test-skeleton.c.
9003         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9004         (do_test): ... this.
9005         (TEST_FUNCTION): New macro.
9006         Include test-skeleton.c.
9008         * elf/tst-audit9.c (main): Converted to ...
9009         (do_test): ... this.
9010         (TEST_FUNCTION): New macro.
9011         Include test-skeleton.c.
9013 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9015         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9017 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9019         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9020         New variable.
9022 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9024         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9026 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9028         * sysdeps/generic/dl-fileid.h: New file.
9029         * sysdeps/posix/dl-fileid.h: New file.
9030         * sysdeps/nacl/dl-fileid.h: New file.
9031         * include/link.h: Include <dl-fileid.h>.
9032         (struct link_map): Replace l_dev and l_ino with l_file_id.
9033         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9034         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9035         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9037 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9039         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9041 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9043         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9044         Add iff $CXX is set.
9045         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9046         Likewise.
9047         (tst-nodelete-zmodiff): Likewise.
9048         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9050 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9052         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9054 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9056         * sysdeps/aarch64/fpu/math_private.h
9057         (define math_opt_barrier): Add AArch64 version.
9058         (math_force_eval): Likewise.
9060 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9062         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9064 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9066         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9067         %ld with %jd and cast to intmax_t.
9068         (do_test_length_zero): Likewise.
9070 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9072         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9074 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9076         * sysdeps/tile/libm-test-ulps: Regenerated.
9078         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9079         Comment out the whole function, not just its body.
9081 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9083         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9084         locks.
9086         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9088 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9090         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9091         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9093 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9095         * sysdeps/nptl/futex-internal.h: New file.
9096         * sysdeps/nacl/futex-internal.h: New file.
9097         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9098         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9099         error checking.
9100         (setxid_unmark_thread): Likewise.
9101         (__nptl_setxid): Likewise.
9102         (__wait_lookup_done): Likewise.
9103         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9104         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9105         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9106         * nptl/pthread_once.c (clear_once_control): Likewise.
9107         (__pthread_once_slow): Likewise.
9108         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9109         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9110         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9111         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9112         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9113         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9114         Likewise.
9115         (__pthread_rwlock_rdlock): Likewise.
9116         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9117         Likewise.
9118         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9119         Likewise.
9120         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9121         Likewise.
9122         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9123         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9124         Likewise.
9125         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9126         __ASSUME_PRIVATE_FUTEX check.
9127         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9128         Check that shared futexes are supported.
9129         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9130         wrappers with error checking.
9131         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9132         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9133         * nptl/pthread_barrierattr_setpshared.c
9134         (pthread_barrierattr_setpshared): Check that shared futexes are
9135         supported.
9136         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9137         Likewise.
9138         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9139         Likewise.
9140         * nptl/sem_init.c (futex_private_if_supported): Remove.
9141         (__new_sem_init): Adapt and check that shared futexes are supported.
9142         * nptl/sem_open.c (sem_open): Likewise.
9143         * nptl/sem_post.c (futex_wake): Remove.
9144         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9145         (do_futex_wait): Use futex wrappers with error checking.
9146         * nptl/sem_wait.c: Include lowlevellock.h.
9147         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9148         Use futex_supports_pshared.
9149         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9150         Use futex wrappers with error checking.
9151         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9152         Likewise.
9153         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9154         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9155         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9156         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9157         (futex_wake): Likewise.
9158         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9159         (do_futex_wait): Use futex wrappers with error checking.
9160         (__new_sem_wait_slow): Update EINTR handling.
9161         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9163 2015-07-09  Martin Sebor  <msebor@redhat.com>
9165         [BZ #18435]
9166         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9167         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9168         * nptl/Makefile (test-xfail-tst-once5): Define.
9170 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9172         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9173         * elf/dl-minimal.c: For readability, reorder some definitions and
9174         introduce more page breaks.  Include <stdio.h>.
9175         (__libc_fatal): New function.
9177         * include/unistd.h: Add rtld_hidden_proto for _exit.
9178         * posix/_exit.c: Add rtld_hidden_def.
9179         * sysdeps/mach/hurd/_exit.c: Likewise.
9180         * sysdeps/nacl/_exit.c: Likewise.
9181         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9182         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9184 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9186         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9187         bndmov encoding with zero displacement.
9189 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9190             H.J. Lu  <hongjiu.lu@intel.com>
9192         [BZ #18134]
9193         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9194         * sysdeps/i386/configure: Regenerated.
9195         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9196         (_dl_runtime_profile): Save and restore Intel MPX return bound
9197         registers when calling _dl_call_pltexit.  Add
9198         PRESERVE_BND_REGS_PREFIX before return.
9199         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9200         (LRV_BND1_OFFSET): Likewise.
9201         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9202         lrv_bnd1.
9203         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9204         typo in bndmov encoding.
9205         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9206         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9207         branch instructions to preserve bounds.
9209 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9212         [GLIBC_2.22]: Add fmemopen.
9214 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9216         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9217         returns an error, also try to use host port from __mach_host_self for
9218         the __vm_wire call.
9219         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9221 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9223         [BZ #18400]
9224         [BZ #18648]
9225         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9226         Fix pr_uid and pr_gid members.
9227         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9228         definition to elf_greg_t.
9230 2015-07-08  Roland McGrath  <roland@hack.frob.com>
9232         [BZ #18383]
9233         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9234         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9235         * sysdeps/arm/configure: Regenerated.
9236         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9237         (test-xfail-tst-tlsalign-static): Variable removed.
9239         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9240         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9241         rather than explicit 'ln -s'.
9243         * resolv/rpc/netdb.h: New file.
9244         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9246 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9248         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9249         length buffers.
9250         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9251         test-skeleton.c.
9253         [BZ #6544]
9254         [BZ #11216]
9255         [BZ #12836]
9256         [BZ #13151]
9257         [BZ #13152]
9258         [BZ #14292]
9259         * include/stdio.h (fmemopen): Remove hidden prototype.
9260         (__fmemopen): Add new hidden prototype.
9261         * libio/Makefile: Add oldfmemopen object.
9262         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9263         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9264         compliance.
9265         * libio/oldfmemopen.c: New file: old fmemopen implementation for
9266         symbol compatibility.
9267         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9268         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9269         fmemopen.
9270         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9271         on append and read mode.
9272         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9273         fmemopen.
9274         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9275         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9276         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9277         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9278         Likewise.
9279         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9280         [GLIBC_2.22]: Likewise.
9281         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9282         Likewise.
9283         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9284         Likewise.
9285         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9286         [GLIBC_2.22]: Likewise.
9287         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9288         [GLIBC_2.22]: Likewise.
9289         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9290         [GLIBC_2.22]: Likewise.
9291         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9292         [GLIBC_2.22]: Likewise.
9293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9294         [GLIBC_2.22]: Likewise.
9295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9296         [GLIBC_2.22]: Likewise.
9297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9298         [GLIBC_2.22]: Likewise.
9299         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9300         Likewise.
9301         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9302         Likewise.
9303         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9304         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9305         [GLIBC_2.22]: Likewise.
9306         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9307         [GLIBC_2.22]: Likewise.
9308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9309         [GLIBC_2.22]: Likewise.
9310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9311         [GLIBC_2.22]: Likewise.
9312         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9313         Likewise.
9314         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9315         Likewise.
9316         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9317         Likewise.
9318         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9319         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9321 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9323         [BZ #18643]
9324         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9325         IPV6_PATHMTU, and IPV6_DONTFRAG.
9327 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
9329         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9330         and _IO_UNBUFFERED.
9331         * libio/oldfileops.c: Likewise.
9332         * libio/wfileops.c: Likewise.
9334 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9336         * nscd/selinux.c: Delete selinux/flask.h include.
9338 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9340         [BZ #18641]
9341         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9342         (putpwent): Likewise.
9343         (getpwnam): Likewise.
9344         (getpwent_r): Likewise.
9345         (getpwuid_r): Likewise.
9346         (getpwnam_r): Likewise.
9347         (fgetpwent_r): Likewise.
9349 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9351         [BZ #18557]
9352         * inet/rcmd.c (__validuser2_sa): Check user first to
9353         short-circuit host check.
9355 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
9356             Mikhail Ilin  <m.ilin@samsung.com>
9358         [BZ #17833]
9359         * elf/Makefile (tests): Add tst-nodelete.
9360         (modules-names): Add tst-nodelete-uniquemod.
9361         (tst-nodelete-uniquemod.so-no-z-defs): New.
9362         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9363         (tst-nodelete-zmod.so-no-z-defs): Likewise.
9364         ($(objpfx)tst-nodelete): Likewise.
9365         ($(objpfx)tst-nodelete.out): Likewise.
9366         (LDFLAGS-tst-nodelete): Likewise.
9367         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9368         * elf/dl-close.c (_dl_close_worker): Add a parameter to
9369         implement forced object deletion.
9370         (_dl_close): Pass false to _dl_close_worker.
9371         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9372         * elf/tst-nodelete.cc: New file.
9373         * elf/tst-nodeletelib.cc: Likewise.
9374         * elf/tst-znodeletelib.cc: Likewise.
9375         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9377 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9379         [BZ #18508]
9380         * stdlib/Makefile ($(objpfx)tst-makecontext3):
9381         Depend on $(libdl).
9382         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9383         is not called infinitely times.
9384         (backtrace_helper): New function.
9385         (trace_arg): New struct.
9386         (st1): Enlarge stack size.
9387         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9388         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9389         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9390         Likewise.
9392 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9394         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9396 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9398         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9399         Include sys/types.h instead of bits/types.h.
9400         Remove inclusion of bits/wordsize.h.
9402 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9404         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9405         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9406         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9407         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9408         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9409         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9411 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9413         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9414         link-defines.sym.
9415         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9416         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9417         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9418         and LR_SIZE.
9419         * sysdeps/i386/link-defines.sym: New file.
9421 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9423         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9424         (modules-names): Add tst-auditmod3a tst-auditmod3b.
9425         ($(objpfx)tst-audit3): New rule.
9426         ($(objpfx)tst-audit3.out): Likewise.
9427         * sysdeps/i386/tst-audit3.c: New file.
9428         * sysdeps/i386/tst-audit3.h: Likewise.
9429         * sysdeps/i386/tst-auditmod3a.c: Likewise.
9430         * sysdeps/i386/tst-auditmod3b.c: Likewise.
9432 2015-07-07  Torvald Riegel  <triegel@redhat.com>
9434         [BZ #18633]
9435         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9436         pointer in C code.
9437         (__strcat_c): Likewise.
9438         (__strcat_g): Likewise.
9440 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
9442         [BZ #18592]
9443         * misc/sbrk.c: Set errno to ENOMEM on overflow.
9445 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9447         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9448         New function.  (__ieee754_sqrtf): New function.
9449         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9450         New function.
9451         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9452         New function.
9454 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9456         * sysdeps/ieee754/support.c: Remove unused file.
9458 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9460         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9461         registers instead of d ones so the layout is kernel abi compatible.
9462         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9463         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9464         Likewise.
9466 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9468         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9470 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9472         [BZ #18619]
9473         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9474         and return argument in case of subnormal argument.
9476 2015-07-01  Martin Sebor  <msebor@redhat.com>
9478         [BZ #18435]
9479         * nptl/Makefile: Add tst-once5.cc.
9480         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9481         Remove macro redefinitions.
9482         * nptl/tst-once5.cc: New test.
9484 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9486         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9488         * sysdeps/arm/libm-test-ulps: Regenerated.
9490         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9491         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9493 2015-06-30  Torvald Riegel  <triegel@redhat.com>
9495         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9496         lll_lock_wait_private and lll_futex_wake probes.
9498         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9499         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9500         Likewise.
9501         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9502         atomic_spin_nop.
9503         * sysdeps/x86_64/bits/atomic.h: Likewise.
9504         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9505         to atomic_spin_nop and move ...
9506         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9507         ... here and ...
9508         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9509         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9510         atomic_spin_nop instead of BUSY_WAIT_NOP.
9511         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9512         Likewise.
9513         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
9514         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9515         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
9516         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
9517         instead of atomic_delay.
9519 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
9521         [BZ #18613]
9522         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
9523         X_ADJ not X when adjusting exponent.
9524         (__ieee754_gamma_r): Do intermediate computations in
9525         round-to-nearest then adjust overflowing and underflowing results
9526         as needed.
9527         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
9528         of X_ADJ not X when adjusting exponent.
9529         (__ieee754_gammaf_r): Do intermediate computations in
9530         round-to-nearest then adjust overflowing and underflowing results
9531         as needed.
9532         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
9533         log of X_ADJ not X when adjusting exponent.
9534         (__ieee754_gammal_r): Do intermediate computations in
9535         round-to-nearest then adjust overflowing and underflowing results
9536         as needed.  Use 1.0L not 1.0f as numerator of division.
9537         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
9538         log of X_ADJ not X when adjusting exponent.
9539         (__ieee754_gammal_r): Do intermediate computations in
9540         round-to-nearest then adjust overflowing and underflowing results
9541         as needed.  Use 1.0L not 1.0f as numerator of division.
9542         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
9543         of X_ADJ not X when adjusting exponent.
9544         (__ieee754_gammal_r): Do intermediate computations in
9545         round-to-nearest then adjust overflowing and underflowing results
9546         as needed.  Use 1.0L not 1.0f as numerator of division.
9547         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
9548         to auto-libm-test-in.
9549         (tgamma_test): Use ALL_RM_TEST.
9550         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
9551         tests of tgamma with spurious-overflow.
9552         * math/auto-libm-test-out: Regenerated.
9553         * math/gen-libm-have-vector-test.sh: Do not check for START.
9554         * sysdeps/i386/fpu/libm-test-ulps: Update.
9555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9557         [BZ #18612]
9558         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
9559         arguments, just return 0.5 times the argument, with underflow
9560         forced as needed.
9561         * math/auto-libm-test-in: Add more tests of j1.
9562         * math/auto-libm-test-out: Regenerated.
9564         [BZ #16559]
9565         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
9566         (__ieee754_j1): Force underflow exception for small results.
9567         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9568         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
9569         (__ieee754_j1f): Force underflow exception for small results.
9570         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9571         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9572         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9573         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
9574         (__ieee754_j1l): Force underflow exception for small results.
9575         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9576         * math/auto-libm-test-in: Add more tests of j1 and jn.
9577         * math/auto-libm-test-out: Regenerated.
9579         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
9580         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
9581         (PF_MPLS): Likewise.
9582         (AF_IB): Likewise.
9583         (AF_MPLS): Likewise.
9584         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9585         value and macro.
9586         (MS_RMT_MASK): Include MS_LAZYTIME.
9588 2015-06-26  Mel Gorman  <mgorman@suse.de>
9590         [BZ #18502]
9591         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9592         already minimal.
9594 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
9596         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9597         (DT_MIPS_NUM): Update.
9598         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9599         DT_MIPS_RLD_MAP_REL.
9601 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
9603         [BZ #16559]
9604         [BZ #18602]
9605         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9606         round-to-nearest internally then recompute results that
9607         underflowed to zero in the original rounding mode.
9608         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9609         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9610         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9611         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9612         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9613         * sysdeps/i386/fpu/libm-test-ulps: Update.
9614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9616 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9618         * NEWS: Fixed description of link with vector math library.
9620 2015-06-25  Andreas Schwab  <schwab@suse.de>
9622         [BZ #18549]
9623         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9624         * libio/test-fmemopen.c (do_test): Add test for it.
9626 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9628         [BZ #17841]
9629         * Makeconfig (no-pie-ldflag): New.
9630         (+link): Set to $(+link-pie) if default to PIE.
9631         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9632         * config.make.in (build-pie-default): New.
9633         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
9634         is default.  AC_SUBST.
9635         * configure: Regenerated.
9636         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9638 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9640         * nptl/descr.h (struct pthread): Change type of field setxid_futex
9641         to 'unsigned int'.
9643         * resolv/gai_misc.h (struct waitlist): Change type of field
9644         counterp to 'volatile unsigned int *'.
9645         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
9646         FUTEXADDR and OLDVAL.
9647         * resolv/getaddrinfo_a.c (getaddrinfo_a):
9648         Give local variable TOTAL type 'volatile unsigned int'.
9649         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9650         * resolv/gai_suspend.c (gai_suspend):
9651         Give local variable CNTR type 'unsigned int'.
9653         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
9654         counterp to 'volatile unsigned int *'.
9655         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
9656         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
9657         (aio_suspend): Give local variable CNTR type 'unsigned int'.
9658         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
9659         Give local variable TOTAL type 'volatile unsigned int'.
9660         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9662 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9664         [BZ #18383]
9665         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
9666         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
9667         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
9668         comment for i386/x86-64.
9669         (test-xfail-tst-tlsalign-extern-static): Removed.
9671 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9673         * math/test-double.h: New file.
9674         * math/test-float.h: Likewise.
9675         * math/test-ldouble.h: Likewise.
9676         * math/test-math-inline.h: Likewise.
9677         * math/test-math-no-inline.h: Likewise.
9678         * math/test-math-scalar.h: Likewise.
9679         * math/test-math-vector.h: Likewise.
9680         * math/test-vec-loop.h: Remove file.  Contents moved into
9681         test-math-vector.h.
9682         * math/libm-test.inc (MATHCONST): Do not document macro.
9683         * math/test-double.c: Include test-double.h, test-math-no-inline.h
9684         and test-math-scalar.h.
9685         (FUNC): Remove macro.
9686         (FUNC_TEST): Likewise.
9687         (FLOAT): Likewise.
9688         (MATHCONST): Likewise.
9689         (PRINTF_EXPR): Likewise.
9690         (PRINTF_XEXPR): Likewise.
9691         (PRINTF_NEXPR): Likewise.
9692         (TEST_DOUBLE): Likewise.
9693         (TEST_MATHVEC): Likewise.
9694         (__NO_MATH_INLINES): Likewise.
9695         * math/test-float.c: Include test-float.h, test-math-no-inline.h
9696         and test-math-scalar.h.
9697         (FUNC): Remove macro.
9698         (FUNC_TEST): Likewise.
9699         (FLOAT): Likewise.
9700         (MATHCONST): Likewise.
9701         (PRINTF_EXPR): Likewise.
9702         (PRINTF_XEXPR): Likewise.
9703         (PRINTF_NEXPR): Likewise.
9704         (TEST_FLOAT): Likewise.
9705         (TEST_MATHVEC): Likewise.
9706         (__NO_MATH_INLINES): Likewise.
9707         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9708         and test-math-scalar.h.
9709         (FUNC): Remove macro.
9710         (FUNC_TEST): Likewise.
9711         (FLOAT): Likewise.
9712         (MATHCONST): Likewise.
9713         (PRINTF_EXPR): Likewise.
9714         (PRINTF_XEXPR): Likewise.
9715         (PRINTF_NEXPR): Likewise.
9716         (TEST_DOUBLE): Likewise.
9717         (TEST_MATHVEC): Likewise.
9718         (TEST_INLINE): Likewise.
9719         (__NO_MATH_INLINES): Likewise.
9720         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9721         test-math-scalar.h.
9722         (FUNC): Remove macro.
9723         (FUNC_TEST): Likewise.
9724         (FLOAT): Likewise.
9725         (MATHCONST): Likewise.
9726         (PRINTF_EXPR): Likewise.
9727         (PRINTF_XEXPR): Likewise.
9728         (PRINTF_NEXPR): Likewise.
9729         (TEST_FLOAT): Likewise.
9730         (TEST_MATHVEC): Likewise.
9731         (TEST_INLINE): Likewise.
9732         (__NO_MATH_INLINES): Likewise.
9733         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9734         and test-math-scalar.h.
9735         (FUNC): Remove macro.
9736         (FUNC_TEST): Likewise.
9737         (FLOAT): Likewise.
9738         (MATHCONST): Likewise.
9739         (PRINTF_EXPR): Likewise.
9740         (PRINTF_XEXPR): Likewise.
9741         (PRINTF_NEXPR): Likewise.
9742         (TEST_LDOUBLE): Likewise.
9743         (TEST_MATHVEC): Likewise.
9744         (TEST_INLINE): Likewise.
9745         (__NO_MATH_INLINES): Likewise.
9746         * math/test-ldouble.c: Include test-ldouble.h,
9747         test-math-no-inline.h and test-math-scalar.h.
9748         (FUNC): Remove macro.
9749         (FUNC_TEST): Likewise.
9750         (FLOAT): Likewise.
9751         (MATHCONST): Likewise.
9752         (PRINTF_EXPR): Likewise.
9753         (PRINTF_XEXPR): Likewise.
9754         (PRINTF_NEXPR): Likewise.
9755         (TEST_LDOUBLE): Likewise.
9756         (TEST_MATHVEC): Likewise.
9757         (__NO_MATH_INLINES): Likewise.
9758         * math/test-double-vlen2.h: Include test-double.h,
9759         test-math-no-inline.h and test-math-vector.h.
9760         (FLOAT): Remove macro.
9761         (FUNC): Likewise.
9762         (MATHCONST): Likewise.
9763         (PRINTF_EXPR): Likewise.
9764         (PRINTF_XEXPR): Likewise.
9765         (PRINTF_NEXPR): Likewise.
9766         (TEST_DOUBLE): Likewise.
9767         (TEST_MATHVEC): Likewise.
9768         (__NO_MATH_INLINES): Likewise.
9769         (CNCT): Likewise.
9770         (CONCAT): Likewise.
9771         (WRAPPER_NAME): Likewise.
9772         (WRAPPER_DECL): Likewise.
9773         (WRAPPER_DECL_ff): Likewise.
9774         (WRAPPER_DECL_fFF): Likewise.
9775         (VECTOR_WRAPPER): Likewise.
9776         (VECTOR_WRAPPER_ff): Likewise.
9777         (VECTOR_WRAPPER_fFF): Likewise.
9778         (VEC_LEN): New macro.
9779         * math/test-double-vlen4.h: Include test-double.h,
9780         test-math-no-inline.h and test-math-vector.h.
9781         (FLOAT): Remove macro.
9782         (FUNC): Likewise.
9783         (MATHCONST): Likewise.
9784         (PRINTF_EXPR): Likewise.
9785         (PRINTF_XEXPR): Likewise.
9786         (PRINTF_NEXPR): Likewise.
9787         (TEST_DOUBLE): Likewise.
9788         (TEST_MATHVEC): Likewise.
9789         (__NO_MATH_INLINES): Likewise.
9790         (CNCT): Likewise.
9791         (CONCAT): Likewise.
9792         (WRAPPER_NAME): Likewise.
9793         (WRAPPER_DECL): Likewise.
9794         (WRAPPER_DECL_ff): Likewise.
9795         (WRAPPER_DECL_fFF): Likewise.
9796         (VECTOR_WRAPPER): Likewise.
9797         (VECTOR_WRAPPER_ff): Likewise.
9798         (VECTOR_WRAPPER_fFF): Likewise.
9799         (VEC_LEN): New macro.
9800         * math/test-double-vlen8.h: Include test-double.h,
9801         test-math-no-inline.h and test-math-vector.h.
9802         (FLOAT): Remove macro.
9803         (FUNC): Likewise.
9804         (MATHCONST): Likewise.
9805         (PRINTF_EXPR): Likewise.
9806         (PRINTF_XEXPR): Likewise.
9807         (PRINTF_NEXPR): Likewise.
9808         (TEST_DOUBLE): Likewise.
9809         (TEST_MATHVEC): Likewise.
9810         (__NO_MATH_INLINES): Likewise.
9811         (CNCT): Likewise.
9812         (CONCAT): Likewise.
9813         (WRAPPER_NAME): Likewise.
9814         (WRAPPER_DECL): Likewise.
9815         (WRAPPER_DECL_ff): Likewise.
9816         (WRAPPER_DECL_fFF): Likewise.
9817         (VECTOR_WRAPPER): Likewise.
9818         (VECTOR_WRAPPER_ff): Likewise.
9819         (VECTOR_WRAPPER_fFF): Likewise.
9820         (VEC_LEN): New macro.
9821         * math/test-float-vlen4.h: Include test-float.h,
9822         test-math-no-inline.h and test-math-vector.h.
9823         (FLOAT): Remove macro.
9824         (FUNC): Likewise.
9825         (MATHCONST): Likewise.
9826         (PRINTF_EXPR): Likewise.
9827         (PRINTF_XEXPR): Likewise.
9828         (PRINTF_NEXPR): Likewise.
9829         (TEST_FLOAT): Likewise.
9830         (TEST_MATHVEC): Likewise.
9831         (__NO_MATH_INLINES): Likewise.
9832         (CNCT): Likewise.
9833         (CONCAT): Likewise.
9834         (WRAPPER_NAME): Likewise.
9835         (WRAPPER_DECL): Likewise.
9836         (WRAPPER_DECL_ff): Likewise.
9837         (WRAPPER_DECL_fFF): Likewise.
9838         (VECTOR_WRAPPER): Likewise.
9839         (VECTOR_WRAPPER_ff): Likewise.
9840         (VECTOR_WRAPPER_fFF): Likewise.
9841         (VEC_LEN): New macro.
9842         * math/test-float-vlen8.h: Include test-float.h,
9843         test-math-no-inline.h and test-math-vector.h.
9844         (FLOAT): Remove macro.
9845         (FUNC): Likewise.
9846         (MATHCONST): Likewise.
9847         (PRINTF_EXPR): Likewise.
9848         (PRINTF_XEXPR): Likewise.
9849         (PRINTF_NEXPR): Likewise.
9850         (TEST_FLOAT): Likewise.
9851         (TEST_MATHVEC): Likewise.
9852         (__NO_MATH_INLINES): Likewise.
9853         (CNCT): Likewise.
9854         (CONCAT): Likewise.
9855         (WRAPPER_NAME): Likewise.
9856         (WRAPPER_DECL): Likewise.
9857         (WRAPPER_DECL_ff): Likewise.
9858         (WRAPPER_DECL_fFF): Likewise.
9859         (VECTOR_WRAPPER): Likewise.
9860         (VECTOR_WRAPPER_ff): Likewise.
9861         (VECTOR_WRAPPER_fFF): Likewise.
9862         (VEC_LEN): New macro.
9863         * math/test-float-vlen16.h: Include test-float.h,
9864         test-math-no-inline.h and test-math-vector.h.
9865         (FLOAT): Remove macro.
9866         (FUNC): Likewise.
9867         (MATHCONST): Likewise.
9868         (PRINTF_EXPR): Likewise.
9869         (PRINTF_XEXPR): Likewise.
9870         (PRINTF_NEXPR): Likewise.
9871         (TEST_FLOAT): Likewise.
9872         (TEST_MATHVEC): Likewise.
9873         (__NO_MATH_INLINES): Likewise.
9874         (CNCT): Likewise.
9875         (CONCAT): Likewise.
9876         (WRAPPER_NAME): Likewise.
9877         (WRAPPER_DECL): Likewise.
9878         (WRAPPER_DECL_ff): Likewise.
9879         (WRAPPER_DECL_fFF): Likewise.
9880         (VECTOR_WRAPPER): Likewise.
9881         (VECTOR_WRAPPER_ff): Likewise.
9882         (VECTOR_WRAPPER_fFF): Likewise.
9883         (VEC_LEN): New macro.
9884         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9885         test-vec-loop.h.
9886         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9887         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9888         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9889         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9890         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9891         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9892         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9894 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9896         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9897         (__getlogin_r): ... this.
9899 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9901         [BZ #18594]
9902         * math/s_ccosh.c (__ccosh): Compare with least normal value
9903         instead of comparing class with FP_SUBNORMAL.
9904         * math/s_ccoshf.c (__ccoshf): Likewise.
9905         * math/s_ccoshl.c (__ccoshl): Likewise.
9906         * math/s_cexp.c (__cexp): Likewise.
9907         * math/s_cexpf.c (__cexpf): Likewise.
9908         * math/s_cexpl.c (__cexpl): Likewise.
9909         * math/s_csin.c (__csin): Likewise.
9910         * math/s_csinf.c (__csinf): Likewise.
9911         * math/s_csinh.c (__csinh): Likewise.
9912         * math/s_csinhf.c (__csinhf): Likewise.
9913         * math/s_csinhl.c (__csinhl): Likewise.
9914         * math/s_csinl.c (__csinl): Likewise.
9915         * math/s_ctan.c (__ctan): Likewise.
9916         * math/s_ctanf.c (__ctanf): Likewise.
9917         * math/s_ctanh.c (__ctanh): Likewise.
9918         * math/s_ctanhf.c (__ctanhf): Likewise.
9919         * math/s_ctanhl.c (__ctanhl): Likewise.
9920         * math/s_ctanl.c (__ctanl): Likewise.
9921         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9922         csin, csinh, ctan and ctanh.
9923         * math/auto-libm-test-out: Regenerated.
9924         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9925         * sysdeps/i386/fpu/libm-test-ulps: Update.
9926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9928 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9930         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9931         return value is wrong, print the expected value too.
9933 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9935         [BZ #18585]
9936         * elf/readlib.c (is_gdb_python_file): New.
9937         (process_file): Don't issue errors on filenames with -gdb.py
9938         suffix.
9940 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9942         * math/auto-libm-test-in: Add more tests of csin and csinh.
9943         * math/auto-libm-test-out: Regenerated.
9944         * math/libm-test.inc (csin_test_data): Remove tests moved to
9945         auto-libm-test-in.
9946         (csinh_test_data): Likewise.
9948         [BZ #18593]
9949         * math/s_csin.c (__csin): Negate before rather than after possibly
9950         overflowing multiplication.
9951         * math/s_csinf.c (__csinf): Likewise.
9952         * math/s_csinh.c (__csinh): Likewise.
9953         * math/s_csinhf.c (__csinhf): Likewise.
9954         * math/s_csinhl.c (__csinhl): Likewise.
9955         * math/s_csinl.c (__csinl): Likewise.
9956         * math/auto-libm-test-in: Add some tests of csin and csinh.
9957         * math/auto-libm-test-out: Regenerated.
9958         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9959         (csinh_test_data): Likewise.
9960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9962         [BZ #18586]
9963         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9964         underflow exception for small results.
9966 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9968         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9969         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9970         variable and included header.
9971         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9972         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9973         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9974         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9975         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9976         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9977         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9978         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9979         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9980         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9981         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9982         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9983         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9984         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9985         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9986         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9988 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9990         [BZ #16526]
9991         [BZ #16538]
9992         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9993         (__sin): Force underflow exception for arguments with small
9994         absolute value.
9995         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9996         (__kernel_sinf): Force underflow exception for arguments with
9997         small absolute value.
9998         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9999         (__kernel_sincosl): Force underflow exception for arguments with
10000         small absolute value.
10001         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10002         (__kernel_sinl): Force underflow exception for arguments with
10003         small absolute value.
10004         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10005         (__kernel_sincosl): Force underflow exception for arguments with
10006         small absolute value.
10007         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10008         (__kernel_sinl): Force underflow exception for arguments with
10009         small absolute value.
10010         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10011         (__kernel_sinl): Force underflow exception for arguments with
10012         small absolute value.
10013         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10014         (__kernel_sinf): Force underflow exception for arguments with
10015         small absolute value.
10016         * math/auto-libm-test-in: Add more tests of sin and sincos.
10017         * math/auto-libm-test-out: Regenerated.
10019         [BZ #18245]
10020         [BZ #18583]
10021         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10022         (__kernel_standard_l): Use feholdexcept and fesetenv around
10023         conversion to double instead of special-casing overflow and
10024         underflow.
10025         * math/libm-test.inc (fmod_test_data): Add more tests.
10026         (remainder_test_data): Likewise.
10027         (sqrt_test_data): Likewise.
10029 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10031         [BZ #17403]
10032         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10033         atomic_read_barrier, atomic_write_barrier): Define.
10034         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10035         atomic_read_barrier, atomic_write_barrier): Define.
10037 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10039         * math/Makefile [$(PERL) != no]
10040         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10041         dependency on libm-test.stmp below the inclusion of Rules.
10043 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10045         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10046         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10047         and included header.
10048         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10049         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10050         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10051         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10052         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10053         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10054         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10055         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10056         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10057         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10058         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10059         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10060         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10061         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10062         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10063         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10064         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10065         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10066         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10068 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10070         [BZ #18371]
10071         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10072         intermediate but not final result might underflow.
10073         * math/s_csqrtf.c (__csqrtf): Likewise.
10074         * math/s_csqrtl.c (__csqrtl): Likewise.
10075         * math/auto-libm-test-in: Add more tests of csqrt.
10076         * math/auto-libm-test-out: Regenerated.
10077         * sysdeps/i386/fpu/libm-test-ulps: Update.
10079         [BZ #18219]
10080         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10081         threshold on absolute value of exponent for which scaling is used.
10082         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10083         * math/auto-libm-test-in: Add more tests of exp2.
10084         * math/auto-libm-test-out: Regenerated.
10086 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10088         [BZ #17977]
10089         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10090         when initializing interface list, based on the bug analysis
10091         and the patch proposed by Eric Newton.
10092         * resolv/tst-res_hconf_reorder.c: New test.
10093         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10094         tst-res_hconf_reorder.
10095         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10096         and $(shared-thread-library).
10097         (tst-res_hconf_reorder-ENV): New variable.
10099         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10100         in comment.
10102 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10104         [BZ #16353]
10105         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10106         (__expm1): Force underflow exception for arguments with small
10107         absolute value.
10108         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10109         (__expm1f): Force underflow exception for arguments with small
10110         absolute value.
10111         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10112         (__expm1): Force underflow exception for arguments with small
10113         absolute value.
10114         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10115         (__expm1f): Force underflow exception for arguments with small
10116         absolute value.
10117         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10118         Check for small arguments before calling __expm1.
10119         * math/auto-libm-test-in: Do not mark underflow exceptions as
10120         possibly missing for bug 16353.
10121         * math/auto-libm-test-out: Regenerated.
10123 2015-06-22  Andreas Schwab  <schwab@suse.de>
10125         [BZ #18513]
10126         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10127         PTR queries.
10129 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10131         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10133         * string/strcoll_l.c: Remove unused struct element idxnow.
10135 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10137         [BZ #18569]
10138         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10139         underflow and return argument in case of subnormal argument.
10140         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10141         Likewise.
10142         * math/auto-libm-test-in: Add more tests of expm1.
10143         * math/auto-libm-test-out: Regenerated.
10145         [BZ #16361]
10146         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10147         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10148         tiny results.
10149         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10150         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10151         tiny results.
10152         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
10153         mark underflow exceptions as possibly missing for bug 16361.
10154         * math/auto-libm-test-out: Regenerated.
10156 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
10158         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10159         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10160         Remove variable.
10161         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10162         (test-xfail-XOPEN2K8/utmpx.h/conform).
10164         * conform/conformtest.pl ($xerrors): New variable.
10165         (note_error): New function.
10166         (compiletest): New argument $xfail.  Use not_error.
10167         (runtest): Likewise.
10168         (top level): Handle xfail- lines.  Update calls to compiletest and
10169         runtest.  Handle xfail- and optional- in headers listed with
10170         allow-header.
10171         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10172         (O_EXEC): Likewise.
10173         (O_SEARCH): Likewise.
10174         * conform/data/stropts.h-data (ioctl): Likewise.
10175         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10176         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10177         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10178         (msghdr.msg_controllen): Likewise.
10179         (cmsghdr.cmsg_len): Likewise.
10180         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10181         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10182         variable.
10183         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10184         (test-xfail-XPG4/stropts.h/conform): Likewise.
10185         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10186         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10187         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10188         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10189         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10190         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10191         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10192         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10193         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10194         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10195         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10196         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10197         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10198         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10199         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10200         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10201         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10202         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10203         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10205 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10207         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10208         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10209         definitions for proper unfolding of __MATHDECL_VEC.
10211 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10213         * benchtests/bench-strcoll.c:
10214         Include string.h.
10215         (main): Remove unused variable res.
10217 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10219         * timezone/Makefile (%/UTC %/Universal):
10220         Generate test-result files for UTC and Universal.
10222 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10224         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10226 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
10228         [BZ #16350]
10229         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10230         for arguments with small absolute value.
10231         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10232         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10233         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10234         (__asinh): Force underflow exception for arguments with small
10235         absolute value.
10236         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10237         (__asinhf): Force underflow exception for arguments with small
10238         absolute value.
10239         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10240         (__asinhl): Force underflow exception for arguments with small
10241         absolute value.
10242         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10243         (__asinhl): Force underflow exception for arguments with small
10244         absolute value.
10245         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10246         (__asinhl): Force underflow exception for arguments with small
10247         absolute value.
10248         * math/auto-libm-test-in: Do not mark underflow exceptions as
10249         possibly missing for bug 16350.
10250         * math/auto-libm-test-out: Regenerated.
10252         * include/bits/ipc.h: Remove file.
10253         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10254         variable.
10255         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10256         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10257         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10258         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10259         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10260         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10261         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10262         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10263         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10265         * math/auto-libm-test-in: Remove spurious underflow allowance for
10266         tests of cexp.
10267         * math/auto-libm-test-out: Regenerated.
10269         [BZ #18558]
10270         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10271         unconditional definition.
10272         (MCAST_BLOCK_SOURCE): Likewise.
10273         (MCAST_UNBLOCK_SOURCE): Likewise.
10274         (MCAST_LEAVE_GROUP): Likewise.
10275         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10276         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10277         (MCAST_MSFILTER): Likewise.
10278         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10279         Remove variable.
10280         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10281         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10282         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10283         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10284         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10286 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10288         * NEWS: Mention addition of x86_64 vector sincosf.
10289         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10290         * math/test-float-vlen4.h: Likewise.
10291         * math/test-float-vlen8.h: Likewise.
10292         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10293         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10294         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10295         * sysdeps/x86_64/fpu/Versions: New versions added.
10296         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10297         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10298         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10299         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10300         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10301         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10302         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10303         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10304         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10305         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10306         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10307         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10308         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10309         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10310         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10311         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10312         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10313         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10314         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10315         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10316         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10317         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10318         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10319         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10321         * NEWS: Mention addition of x86_64 vector sincos.
10322         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10323         * math/math.h (__MATHDECL_VEC): New macro.
10324         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10325         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10326         declaration under condition.
10327         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10328         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10329         TEST_VEC_LOOP change.
10330         * math/test-double-vlen4.h: Likewise.
10331         * math/test-double-vlen8.h: Likewise.
10332         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10333         * math/test-float-vlen4.h: Likewise.
10334         * math/test-float-vlen8.h: Likewise.
10335         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10336         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10337         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10338         * sysdeps/x86_64/fpu/Versions: New versions added.
10339         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10340         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10341         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10342         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10343         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10344         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10345         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10346         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10347         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10348         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10349         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10350         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10351         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10352         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10353         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10354         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10355         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10356         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10357         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10358         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10359         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10360         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10361         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10362         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10364         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10365         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10366         redirections for powf.
10367         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10368         * sysdeps/x86_64/fpu/Versions: New versions added.
10369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10370         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10371         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10372         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10373         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10374         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10375         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10376         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10377         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10378         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10379         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10380         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10381         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10382         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10383         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10384         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10385         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10386         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10387         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10388         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10389         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10390         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10391         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10392         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10393         * math/test-float-vlen16.h: Fixed 2 argument macro.
10394         * math/test-float-vlen4.h: Likewise.
10395         * math/test-float-vlen8.h: Likewise.
10396         * NEWS: Mention addition of x86_64 vector powf.
10398 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
10400         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10401         and redefine.
10402         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10403         and redefine.
10404         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10405         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10406         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10408         [BZ #18553]
10409         * resource/getpriority.c (getpriority): Rename to __getpriority
10410         and define as weak alias of __getpriority.
10411         * resource/setpriority.c (setpriority): Rename to __setpriority
10412         and define as weak alias of __setpriority.
10413         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10414         __getpriority and define as weak alias of __getpriority.
10415         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10416         __setpriority and define as weak alias of __setpriority.
10417         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10418         strong name.
10419         (setpriority): Use __setpriority as strong name.
10420         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10421         __getpriority and define as weak alias of __getpriority.
10422         * include/sys/resource.h (__getpriority): Declare.  Use
10423         libc_hidden_proto.
10424         (__setpriority): Likewise.
10425         (getpriority): Don't use libc_hidden_proto.
10426         (setpriority): Likewise.
10427         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10428         getpriority.  Call __setpriority instead of setpriority.
10429         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10430         Remove variable.
10432         [BZ #18547]
10433         * misc/getttyent.c (getttynam): Rename to __getttynam and define
10434         as weak alias of __getttynam.  Use prototype function definition.
10435         Call __setttyent, __getttyent and __endttyent instead of
10436         setttyent, getttyent and endttyent.
10437         (getttyent): Rename to __getttyent and define as weak alias of
10438         __getttyent.  Call __setttyent instead of setttyent.  Call
10439         __fgets_unlocked instead of fgets_unlocked.
10440         (setttyent): Rename to __setttyent and define as weak alias of
10441         __setttyent.
10442         (endttyent): Rename to __endttyent and define as weak alias of
10443         __endttyent.
10444         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
10445         (__setttyent): Likewise.
10446         (__endttyent): Likewise.
10447         (getttyent): Don't use libc_hidden_proto.
10448         (setttyent): Likewise.
10449         (endttyent): Likewise.
10450         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10451         __endttyent instead of setttyent, getttyent and endttyent.
10452         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10453         Remove variable.
10455         [BZ #18546]
10456         * socket/recv.c (__recv): Use libc_hidden_def.
10457         * socket/socket.c (__socket): Likewise.
10458         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10459         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10460         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10461         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10462         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10463         libc_hidden_def.
10464         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10465         libc_hidden_weak.
10466         * include/sys/socket.h (__socket): Do not use attribute_hidden.
10467         Use libc_hidden_proto.
10468         (__recv): Likewise.
10469         * socket/Versions (libc): Export __recv and __socket at version
10470         GLIBC_PRIVATE.
10471         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10472         instead of recv.
10473         (init_mq_netlink): Call __socket instead of socket.
10474         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10475         Remove variable.
10477         [BZ #18545]
10478         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10479         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
10480         hidden_weak.
10481         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10482         define as alias of __mq_timedsend.  Use hidden_weak.
10483         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10484         __mq_timedsend as strong name.
10485         (mq_timedreceive): Use __mq_timedreceive as strong name.
10486         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
10487         (__mq_timedreceive): Likewise.
10488         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10489         __mq_timedreceive instead of mq_timedreceive.
10490         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10491         instead of mq_timedsend.
10492         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10493         Remove variable.
10495         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10496         hidden_def and hidden_weak instead of libc_hidden_def and
10497         libc_hidden_weak.
10498         (top level): Refer to hidden_def in comment.
10499         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10500         macro.  Use it instead of libc_hidden_def.
10501         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10502         specify __GI_* name explicitly.
10503         (mq_timedreceive): Likewise.
10504         (mq_setattr): Likewise.
10506         [BZ #18544]
10507         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10508         __pthread_barrier_init and define as weak alias of
10509         __pthread_barrier_init.
10510         * sysdeps/sparc/nptl/pthread_barrier_init.c
10511         (pthread_barrier_init): Likewise.
10512         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10513         __pthread_barrier_wait and define as weak alias of
10514         __pthread_barrier_wait.
10515         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10516         (pthread_barrier_wait): Likewise.
10517         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10518         (pthread_barrier_wait): Likewise.
10519         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
10520         (pthread_barrier_wait): Likewise.
10521         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
10522         (pthread_barrier_wait): Likewise.
10523         * nptl/Versions (libpthread): Export __pthread_barrier_init and
10524         __pthread_barrier_wait at version GLIBC_PRIVATE.
10525         * include/pthread.h (__pthread_barrier_init): Declare.
10526         (__pthread_barrier_wait): Likewise.
10527         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
10528         Call __pthread_barrier_wait instead of pthread_barrier_wait.
10529         (helper_thread): Likewise.
10530         (init_mq_netlink): Call __pthread_barrier_init instead of
10531         pthread_barrier_init.
10533         [BZ #18542]
10534         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
10535         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
10536         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
10537         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
10538         vswscanf.
10539         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
10540         Remove variable.
10542         [BZ #18540]
10543         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
10544         strong alias of _IO_fflush.  Use libc_hidden_def.
10545         * libio/iofflush_u.c (fflush_unlocked): Rename to
10546         __fflush_unlocked and define as weak alias of __fflush_unlocked.
10547         Use libc_hidden_weak.
10548         * include/stdio.h (__fflush_unlocked): Declare.  Use
10549         libc_hidden_proto.
10550         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
10551         fflush_unlocked.
10552         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
10553         Remove variable.
10555         [BZ #18539]
10556         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
10557         define as weak alias of __addseverity.
10558         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
10559         Remove variable.
10560         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10561         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10562         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10564         [BZ #18536]
10565         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
10566         (__tfind): Likewise.
10567         (__tdelete): Likewise.
10568         (__twalk): Likewise.
10569         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
10570         __twalk to GLIBC_PRIVATE.
10571         * include/search.h (__tsearch): Use libc_hidden_proto.
10572         (__tfind): Likewise.
10573         (__tdelete): Likewise.
10574         (__twalk): Likewise.
10575         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
10576         Call __tdelete instead of tdelete.
10577         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
10578         tfind.  Call __tsearch instead of tsearch.
10579         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
10580         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
10581         Remove variable.
10582         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10584         [BZ #18534]
10585         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10586         (dprintf): Define as a weak alias of __dprintf, not a strong
10587         alias.
10588         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
10589         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10590         dprintf.
10591         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10592         Remove variable.
10593         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10594         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10596         [BZ #18533]
10597         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10598         not a strong alias.
10599         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10600         Remove variable.
10602         [BZ #18532]
10603         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10604         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
10605         (in6addr_loopback): Rename to __in6addr_loopback and define as
10606         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
10607         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
10608         libc_hidden_proto.
10609         (__in6addr_any): Likewise.
10610         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10611         in6addr_any.
10612         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10613         variable.
10614         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10616 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10618         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10619         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10620         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10621         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10622         redirections for pow.
10623         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10624         * sysdeps/x86_64/fpu/Versions: New versions added.
10625         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10626         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10627         build of SSE, AVX2 and AVX512 IFUNC versions.
10628         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10630         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10631         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10632         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10633         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10634         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10635         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10636         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10637         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10638         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10639         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10640         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
10641         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
10642         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10643         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10644         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10645         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10646         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10647         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10648         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10649         * NEWS: Mention addition of x86_64 vector pow.
10651         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10652         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10653         redirections for expf.
10654         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10655         * sysdeps/x86_64/fpu/Versions: New versions added.
10656         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10657         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10658         build of SSE, AVX2 and AVX512 IFUNC versions.
10659         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
10660         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
10661         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
10662         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
10663         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
10664         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
10665         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
10666         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
10667         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
10668         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
10669         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
10670         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
10671         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
10672         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10673         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10674         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10675         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10676         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10677         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10678         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10679         * NEWS: Mention addition of x86_64 vector expf.
10681         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
10682         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
10683         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10684         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10685         redirections for exp.
10686         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10687         * sysdeps/x86_64/fpu/Versions: New versions added.
10688         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10689         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10690         build of SSE, AVX2 and AVX512 IFUNC versions.
10691         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
10692         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
10693         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
10694         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
10695         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
10696         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
10697         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
10698         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
10699         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10700         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10701         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10702         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10703         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10704         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10705         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10706         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10707         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10708         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10709         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10710         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10711         * NEWS: Mention addition of x86_64 vector exp.
10713         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10714         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10715         redirections for logf.
10716         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10717         * sysdeps/x86_64/fpu/Versions: New versions added.
10718         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10719         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10720         build of SSE, AVX2 and AVX512 IFUNC versions.
10721         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10722         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10723         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10724         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10725         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10726         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10727         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10728         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10729         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10730         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10731         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10732         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10733         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10734         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10735         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10736         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10737         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10738         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10739         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10740         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10741         * NEWS: Mention addition of x86_64 vector logf.
10743         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10744         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10745         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10746         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10747         redirections for log.
10748         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10749         * sysdeps/x86_64/fpu/Versions: New versions added.
10750         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10751         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10752         build of SSE, AVX2 and AVX512 IFUNC versions.
10753         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10754         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10755         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10756         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10757         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10758         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10759         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10760         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10761         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10762         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10763         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10764         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10765         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10766         test.
10767         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10768         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10769         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10770         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10771         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10772         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10773         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10774         * NEWS: Mention addition of x86_64 vector log.
10776 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10778         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10779         cfi_adjust_cfa_offset argument.
10780         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10781         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10783         [BZ #18034]
10784         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10785         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10786         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10787         ordering using ldar.
10788         (_dl_tlsdesc_dynamic): Likewise.
10789         (_dl_tlsdesc_return_lazy): Likewise.
10790         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10791         relaxed atomics instead of volatile and synchronize with release store.
10792         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10793         volatile.
10794         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10796 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10798         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10799         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10800         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10801         * sysdeps/x86_64/fpu/Versions: New versions added.
10802         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10803         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10804         build of SSE, AVX2 and AVX512 IFUNC versions.
10805         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10806         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10807         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10808         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10809         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10810         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10811         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10812         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10813         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10814         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10815         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10816         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10817         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10818         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10819         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10820         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10821         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10822         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10823         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10824         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10825         * NEWS: Mention addition of x86_64 vector sinf.
10827 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10829         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10830         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10831         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10832         Remove variable.
10833         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10834         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10836 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10838         [BZ #18530]
10839         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10840         strong alias of _IO_fputs.  Use libc_hidden_def.
10841         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10842         and define as weak alias of __fputs_unlocked.  Use
10843         libc_hidden_weak.
10844         * include/stdio.h (__fputs_unlocked): Declare.  Use
10845         libc_hidden_proto.
10846         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10847         fputs_unlocked.
10849         [BZ #18529]
10850         * resolv/netdb.h [__USE_POSIX]: Change condition to
10851         [__USE_XOPEN2K].
10852         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10853         not expect.
10854         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10855         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10856         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10857         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10858         [XPG4 || UNIX98] (AI_ALL): Likewise.
10859         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10860         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10861         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10862         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10863         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10864         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10865         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10866         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10867         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10868         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10869         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10870         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10871         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10872         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10873         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10874         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10875         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10876         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10877         [XPG4 || UNIX98] (gai_strerror): Likewise.
10878         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10879         [XPG4 || UNIX98] (getnameinfo): Likewise.
10881         [BZ #18528]
10882         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10883         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10884         __USE_XOPEN2K8].
10885         (getgrent): Likewise.
10886         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10887         expect.
10888         [XPG3 || POSIX2008] (endgrent): Likewise.
10889         [XPG3] (setgrent): Likewise.
10890         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10891         variable.
10892         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10894         [BZ #18527]
10895         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10896         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10897         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10898         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10899         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10900         * include/unistd.h (__getlogin_r): Declare.  Use
10901         libc_hidden_proto.
10902         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10903         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10904         variable.
10905         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10906         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10907         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10909 2015-06-12  Martin Sebor  <msebor@redhat.com>
10911         [BZ #18512]
10912         * Makerules (check-install-supported): New target.
10913         (install): Add check-install-supported as a dependency.
10914         * manual/install.texi (Installing the C Library): Document
10915         that overriding prefix and exec_prefix is not supported.
10916         Mention DESTDIR.
10917         * INSTALL: Regenerate from the above.
10919 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10921         [BZ #18519]
10922         * posix/Versions (libc): Export __libc_pread at version
10923         GLIBC_PRIVATE.
10924         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10925         instead of pread.
10926         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10927         variable.
10929         [BZ #18522]
10930         * misc/efgcvt_r.c
10931         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10932         (cvt_symbol): Use weak_alias instead of strong_alias.
10933         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10934         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10935         Remove variable.
10936         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10937         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10939         [BZ #18520]
10940         * inet/herrno.c (h_errno): Rename to __h_errno.
10941         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10942         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10943         to __h_errno instead of h_errno.
10944         * nptl/herrno.c (h_errno): Rename to __h_errno.
10945         (__h_errno_location): Refer to __h_errno not h_errno.
10946         * resolv/Versions (h_errno): Rename to __h_errno.
10947         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10948         Remove variable.
10949         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10951 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10953         * configure.ac: More strict check for AVX512 assembler support.
10954         * configure: Regenerated.
10956         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10957         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10958         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10959         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10960         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10961         * sysdeps/x86_64/fpu/Versions: New versions added.
10962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10963         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10964         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10965         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10966         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10967         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10968         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10969         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10970         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10971         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10972         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10973         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10974         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10975         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10976         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10977         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10978         test.
10979         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10980         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10981         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10982         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10983         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10984         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10985         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10986         * NEWS: Mention addition of x86_64 vector sin.
10988 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10990         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10991         comment.
10993 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10995         [BZ #18479]
10996         * nptl/pt-interp.c: New file.
10997         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10998         Add pt-interp.
10999         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11000         $(common-objpfx)runtime-linker.h.
11002 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11004         * Makeconfig (+interp): Remove unused variable.
11005         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11006         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11007         $(elf-objpfx)runtime-linker.h.
11008         ($(elf-objpfx)runtime-linker.h): Rename to
11009         $(common-objpfx)runtime-linker.h and move ...
11010         * Makerules [$(build-shared) = yes]: ... here.
11011         * elf/interp.c: Include <runtime-linker.h> instead of
11012         <elf/runtime-linker.h>.
11014 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11016         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11017         (__gettimeofday_syscall): Remove vsyscall fallback.
11018         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11019         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11020         Add syscall fallback function.
11021         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11022         if vDSO is not present.
11023         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11024         fallback function.
11025         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11026         present.
11027         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11028         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11030 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11032         [BZ #18497]
11033         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11034         of wcscmp.
11035         (wcscmp): Define as weak alias of WCSCMP.
11036         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11037         wcscoll.
11038         (USE_HIDDEN_DEF): Define.
11039         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11040         __wcscoll.  Don't use libc_hidden_weak.
11041         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11042         wcscmp.
11043         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11044         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11045         __GI_wcscmp.
11046         (weak_alias): Undefine and redefine.
11047         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11048         __wcscmp and define as weak alias of __wcscmp.
11049         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11050         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11051         (__wcscoll): Likewise.
11052         (wcscmp): Don't use libc_hidden_proto.
11053         (wcscoll): Likewise.
11054         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11055         wcscoll.
11056         * posix/regexec.c (check_node_accept_bytes): Likewise.
11057         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11058         variable.
11059         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11060         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11062         [BZ #18507]
11063         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11064         __fstatvfs and define as weak alias of __fstatvfs.  Use
11065         libc_hidden_weak.
11066         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11067         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11068         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11069         Define as alias of __fstatvfs, not fstatvfs.
11070         (fstatvfs64): Likewise.
11071         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11072         Define as alias of __statvfs, not statvfs.
11073         (statvfs64): Likewise.
11074         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11075         Remove variable.
11077 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11080         (HAVE_GETCPU_VSYSCALL): Define.
11081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11082         (HAVE_GETCPU_VSYSCALL): Likewise.
11083         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11084         * sysdeps/unix/sysv/linux/sched_getcpu.c
11085         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11086         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11087         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11088         prototype.
11089         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11090         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11091         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11093         Define.
11094         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11095         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11096         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11097         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11099 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11101         * sysdeps/x86_64/fpu/Makefile: New file.
11102         * sysdeps/x86_64/fpu/Versions: New file.
11103         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11104         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11105         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11106         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11107         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11108         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11109         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11110         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11111         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11112         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11113         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11114         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11115         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11116         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11117         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11118         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11119         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11120         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11121         * sysdeps/x86_64/configure: Regenerated.
11122         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11123         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11124         * manual/install.texi (Configuring and compiling): Document
11125         --disable-mathvec.
11126         * INSTALL: Regenerated.
11127         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11129         * math/Makefile: Added rules for vector tests.
11130         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11131         declaration under condition.
11132         * math/test-double-vlen2.h: New file.
11133         * math/test-double-vlen4.h: New file.
11134         * math/test-double-vlen8.h: New file.
11135         * math/test-vec-loop.h: Added initialization macro.
11136         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11137         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11138         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11139         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11140         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11141         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11142         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11143         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11144         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11145         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11146         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11148         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11149         * sysdeps/x86_64/fpu/Versions: New versions added.
11150         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11151         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11152         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11153         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11154         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11155         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11157         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11158         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11159         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11160         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11161         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11162         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11163         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11164         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11165         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11166         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11167         * NEWS: Mention addition of x86_64 vector cosf.
11169         * math/Makefile: Added CFLAGS for new tests.
11170         * math/test-float-vlen16.h: New file.
11171         * math/test-float-vlen4.h: New file.
11172         * math/test-float-vlen8.h: New file.
11173         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11174         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11175         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11176         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11177         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11178         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11179         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11180         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11181         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11182         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11183         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11185 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11187         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11188         * locale/programs/ld-ctype.c: Likewise.
11190 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11192         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11193         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11194         bit_ZMM16_31_state): New macro.
11195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11196         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11198 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11200         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11202 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11204         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11206 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11208         [BZ #18498]
11209         * libio/memstream.c (open_memstream): Rename to __open_memstream
11210         and define as weak alias of __open_memstream.
11211         * include/stdio.h (__open_memstream): Declare.  Use
11212         libc_hidden_proto.
11213         (open_memstream): Don't use libc_hidden_proto.
11214         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11215         open_memstream.
11216         * posix/getopt.c (_getopt_internal_r): Likewise.
11217         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11218         variable.
11219         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11220         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11221         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11223         [BZ #18496]
11224         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11225         instead of wcrtomb.
11227         [BZ #18483]
11228         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11229         [__USE_XOPEN2K8].  Remove redundant #endif.
11230         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11231         Remove redundant #if.
11232         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11233         Remove variable.
11234         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11235         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11237         [BZ #18495]
11238         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11239         (__iswlower): Likewise.
11240         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
11241         (__iswlower): Likewise.
11242         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11243         instead of towlower.
11244         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11245         instead of iswlower.  Call __towupper instead of towupper.
11246         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11247         instead of iswalnum.
11249 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11251         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11252         errors to stderr.
11254 2015-06-05  Florian Weimer  <fweimer@redhat.com>
11256         [BZ #15661]
11257         [BZ #17322]
11258         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11259         Check for overflow properly.  Check for O_APPEND.  Ignore large
11260         file system block sizes.  Add comments about problems.
11261         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11262         * manual/filesys.texi (Storage Allocation): New node.
11264 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11266         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11267         cancellable syscalls.
11268         (SYS_ify): Add guard to no redefine it.
11269         (INLINE_SYSCALL): Likewise.
11270         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11271         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11272         SYSCALL_CANCEL instead.
11273         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11274         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11275         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11276         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11277         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11278         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11279         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11280         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11281         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11282         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11283         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11284         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11285         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11286         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11287         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11288         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11289         Likewise.
11290         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11291         (__libc_pread64): Likewise.
11292         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11293         (__libc_preadv): Likewise.
11294         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11295         (__libc_readv64): Likewise.
11296         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11297         (__libc_pwrite): Likewise.
11298         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11299         (__libc_pwrite64): Likewise.
11300         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11301         (__libc_pwritev): Likewise.
11302         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11303         (__libc_pwritev64): Likewise.
11304         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11305         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11306         (sync_file_range): Likewise.
11307         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11308         Likewise.
11309         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11310         Likewise.
11311         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11312         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11313         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11314         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11315         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11316         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11317         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11318         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11320         Likewise.
11321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11322         (__libc_read64): Likewise.
11323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11324         Likewise.
11325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11326         Likewise.
11327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11328         Likewise.
11329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11330         Likewise.
11331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11332         (__libc_pread64): Likewise.
11333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11334         Likewise.
11335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11336         (__libc_pwrite64): Likewise.
11337         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11338         (sync_file_range): Likewise.
11339         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11340         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11341         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11342         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11343         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11344         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11345         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11346         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11347         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11348         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11349         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11350         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11351         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11352         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11353         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11354         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11355         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11356         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11357         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11358         Likewise.
11359         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11360         Likewise.
11361         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11362         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11363         Likewise.
11364         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11365         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11366         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11367         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11368         Likewise.
11369         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11370         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11371         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11372         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11373         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11375 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
11377         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11378         Include dl-vdso.
11379         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11380         Use VDSO routines for gettimeofday, clock_gettime if
11381         available.
11382         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11383         Declare VDSO symbols.
11384         * sysdeps/unix/sysv/linux/arm/sysdep.h:
11385         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11386         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11387         * sysdeps/unix/sysv/linux/arm/Versions: Add
11388         __vdso_clock_gettime.
11390 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11392         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11393         be an inline implementation regardless of library is built within.
11394         (open_not_cancel_2): Likewise.
11395         (__read_nocancel): Likewise.
11396         (__write_nocancel): Likewise.
11397         (openat_not_cancel): Likewise.
11398         (openat_not_cancel_3): Likewise.
11399         (openat64_not_cancel): Likewise.
11400         (openat64_not_cancel_3): Likewise.
11401         (__close_nocancel): Likewise.
11402         (pause_not_cancel): Likewise.
11403         (nanosleep_not_cancel): Likewise.
11404         (sigsuspend_not_cancel): Likewise.
11406 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11408         [BZ #14958]
11409         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11410         wake-up.
11411         (__pthread_rwlock_rdlock_slow): Likewise.
11412         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11413         Likewise.
11414         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11415         Likewise.
11416         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11417         * nptl/tst-rwlock16.c: New file.
11418         * nptl/Makefile (tests): Add new test.
11420 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11422         [BZ #18324]
11423         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11424         missing wake-up of readers.
11425         * nptl/tst-rwlock15.c: New file.
11426         * nptl/Makefile (tests): Add new test.
11428 2015-06-03  Roland McGrath  <roland@hack.frob.com>
11430         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11431         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11432         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11433         and __nacl_supply_interface_rtld.
11434         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11435         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11436         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11437         Add __nacl_supply_interface_rtld.
11438         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11440 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11442         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11443         isfinite.
11444         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11445         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11447 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11449         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11450         __signbit* with standard C99 macros.
11451         * math/e_exp10l.c: Likewise.
11452         * math/e_exp2l.c: Likewise.
11453         * math/e_scalb.c: Likewise.
11454         * math/e_scalbf.c: Likewise.
11455         * math/e_scalbl.c: Likewise.
11456         * math/s_ldexp.c: Likewise.
11457         * math/s_ldexpf.c: Likewise.
11458         * math/s_ldexpl.c: Likewise.
11459         * math/w_atan2.c: Likewise.
11460         * math/w_atan2f.c: Likewise.
11461         * math/w_atan2l.c: Likewise.
11462         * math/w_cosh.c: Likewise.
11463         * math/w_coshf.c: Likewise.
11464         * math/w_coshl.c: Likewise.
11465         * math/w_exp10.c: Likewise.
11466         * math/w_exp10f.c: Likewise.
11467         * math/w_exp10l.c: Likewise.
11468         * math/w_exp2.c: Likewise.
11469         * math/w_exp2f.c: Likewise.
11470         * math/w_exp2l.c: Likewise.
11471         * math/w_fmod.c: Likewise.
11472         * math/w_fmodf.c: Likewise.
11473         * math/w_fmodl.c: Likewise.
11474         * math/w_hypot.c: Likewise.
11475         * math/w_hypotf.c: Likewise.
11476         * math/w_hypotl.c: Likewise.
11477         * math/w_jnl.c: Likewise.
11478         * math/w_lgamma.c: Likewise.
11479         * math/w_lgamma_r.c: Likewise.
11480         * math/w_lgammaf.c: Likewise.
11481         * math/w_lgammaf_r.c: Likewise.
11482         * math/w_lgammal.c: Likewise.
11483         * math/w_lgammal_r.c: Likewise.
11484         * math/w_pow.c: Likewise.
11485         * math/w_powf.c: Likewise.
11486         * math/w_powl.c: Likewise.
11487         * math/w_remainder.c: Likewise.
11488         * math/w_remainderf.c: Likewise.
11489         * math/w_remainderl.c: Likewise.
11490         * math/w_scalb.c: Likewise.
11491         * math/w_scalbf.c: Likewise.
11492         * math/w_scalbl.c: Likewise.
11493         * math/w_scalbln.c: Likewise.
11494         * math/w_scalblnf.c: Likewise.
11495         * math/w_scalblnl.c: Likewise.
11496         * math/w_sinh.c: Likewise.
11497         * math/w_sinhf.c: Likewise.
11498         * math/w_sinhl.c: Likewise.
11499         * math/w_tgamma.c: Likewise.
11500         * math/w_tgammaf.c: Likewise.
11501         * math/w_tgammal.c: Likewise.
11502         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11503         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11504         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11505         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11506         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11507         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11508         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11509         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11510         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11511         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11512         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11513         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11514         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11515         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11516         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11517         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11518         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11519         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11520         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11521         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11522         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11523         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11524         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11525         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11526         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11527         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11528         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
11529         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11530         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11531         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11532         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
11533         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
11534         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
11535         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
11536         * stdio-common/printf_fp.c: Likewise.
11537         * stdio-common/printf_fphex.c: Likewise.
11538         * stdio-common/printf_size.c: Likewise.
11540 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
11542         [BZ #18470]
11543         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
11544         strnlen.
11545         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
11546         Remove variable.
11547         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11548         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11549         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11550         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11551         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11552         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11553         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11554         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11555         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11556         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11558         [BZ #18468]
11559         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
11560         weak alias of __wmemchr.  Use libc_hidden_weak.
11561         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
11562         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
11563         instead of wmemchr.
11565 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11567         [BZ #18383]
11568         * elf/tst-tlsalign-extern.c: New file.
11569         * elf/tst-tlsalign-extern-static.c: New file.
11570         * elf/tst-tlsalign-vars.c: New file.
11571         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
11572         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
11573         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
11574         ($(objpfx)tst-tlsalign-extern-static): Likewise.
11575         (test-xfail-tst-tlsalign-extern-static): New variable.
11577 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
11579         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
11580         Use variable name _sc_err instead of err.
11581         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
11582         instead of ret.
11583         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
11584         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11585         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11586         (INLINE_SYSCALL): Likewise.
11588         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11589         * include/string.h (__strnlen): Use libc_hidden_proto.
11590         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11591         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11592         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11593         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11594         (libc_hidden_def): Undefine and redefine.
11595         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11596         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11597         __GI_strnlen.
11598         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11599         libc_hidden_def.
11600         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11602         [BZ #18469]
11603         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11604         weak alias of __towlower.  Use libc_hidden_weak.
11605         (towupper): Rename to __towupper and define as weak alias of
11606         __towupper.  Use libc_hidden_weak.
11607         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
11608         (__towupper): Likewise.
11609         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11610         __towlower instead of towlower.
11612 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11614         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11615         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11617 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11619         * sysdeps/aarch64/libm-test-ulps: Update.
11621 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11623         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11624         Define.
11625         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11626         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11627         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11628         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11629         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11630         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11631         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11633 2015-06-01  Martin Sebor  <msebor@redhat.com>
11635         [BZ #18116]
11636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11637         (__setcontext): Use extended four-operand version of mtsf whenever
11638         possible.
11639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11640         (__novec_swapcontext): Likewise.
11642 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11644         * benchtests/scripts/compare_bench.py: New file.
11645         * benchtests/scripts/import_bench.py (mean): New function.
11646         (split_list): Likewise.
11647         (do_for_all_timings): Likewise.
11648         (compress_timings): Likewise.
11650         * benchtests/scripts/import_bench.py: New file.
11651         * benchtests/scripts/validate_benchout.py: Import import_bench
11652         instead of jsonschema.
11653         (validate_bench): Remove function.
11654         (main): Use import_bench.
11656 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
11658         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
11659         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
11661 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11665 2015-05-28  Roland McGrath  <roland@hack.frob.com>
11667         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
11668         set THREAD_SELF->tid to a magic value and futex-wake it.
11669         Pass its address to the thread_exit system call.
11670         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
11671         bit is clear.
11672         * sysdeps/nacl/lowlevellock.h: New file.
11673         * sysdeps/nacl/lll_timedwait_tid.c: New file.
11675         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
11676         Add TIMEOUT to current time, don't subtract it.
11678 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
11680         [BZ #2981]
11681         [BZ #18422]
11682         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
11683         ($(objpfx)tst-audit2.out): Also depend on
11684         $(objpfx)tst-auditmod9b.so.
11685         * elf/tst-audit2.c: Include <dlfcn.h>.
11686         (calloc_called): New.
11687         (calloc): Allow to be called more than once.
11688         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
11690 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
11692         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
11693         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
11695 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
11697         * stdlib/monetary.h: Fix comment.
11699 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
11701         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11702         Avoid using variables in #defines that might cause shadowing.
11703         (INTERNAL_VSYSCALL_CALL): Likewise.
11705 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11707         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11709         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11710         * nptl/lll_timedlock_wait.c: ... to this new file.
11711         * nptl/Makefile (libpthread-routines): Add it.
11712         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11713         * nptl/lll_timedwait_tid.c: ... to this new file.
11714         * nptl/Makefile (libpthread-routines): Add it.
11715         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11716         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11717         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11718         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11719         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11720         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11721         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11722         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11723         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11724         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11726 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11728         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11729         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11730         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11732         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11734         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11735         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11736         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11737         * sysdeps/unix/sysv/linux/tile/sysdep.h
11738         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11739         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11740         using vDSO syscall macro.
11742 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11744         [BZ #17293]
11745         * uk_UA: Fix sorting order for Ukrainian locale
11747 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11749         * stdlib/monetary.h: Fix comment.
11751 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11753         [BZ #18234]
11754         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11755         st_mtim and st_ctim members.
11756         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11757         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11758         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11759         (struct stat64): Likewise.
11760         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11761         (struct stat64): Likewise.
11762         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11763         (struct stat64): Likewise.
11765 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11767         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11768         Define and include sysdep-vdso.h.
11769         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11770         Likewise.
11771         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11772         Likewise.
11773         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11774         Define with VDSO_SYMBOL and use PTR_MANGLE.
11775         (__vdso_clock_gettime): Likewise.
11776         (__vdso_clock_getres): Likewise.
11777         (_libc_vdso_platform_setup): Likewise.
11778         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11779         Likewise.
11780         (_libc_vdso_platform_setup): Likewise.
11781         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11782         Likewise.
11783         (__vdso_clock_gettime): Likewise.
11784         (__vdso_clock_getres): Likewise.
11785         (__vdso_get_tbfreq): Likewise.
11786         (__vdso_getcpu): Likewise.
11787         (__vdso_time): Likewise.
11788         (__vdso_sigtramp_rt64): Likewise.
11789         (__vdso_signtramp32): Likewise.
11790         (__vdso_sigtramp_rt32): Likewise.
11791         (_libc_vdso_platform_setup): Likewise.
11792         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11793         Likewise.
11794         (__vdso_clock_gettime): Likewise.
11795         (__vdso_clock_getres): Likewise.
11796         (_libc_vdso_platform_setup): Likewise.
11797         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11798         Likewise.
11799         (__vdso_clock_gettime): Likewise.
11800         (_libc_vdso_platform_setup): Likewise.
11801         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11802         Likewise.
11803         (__vdso_getcpu): Likewise.
11804         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11805         Use VDSO_SYMBOL macro to define.
11806         (__vdso_clock_gettime): Likewise.
11807         (__vdso_clock_getres): Likewise.
11808         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11809         Likewise.
11810         (__vdso_clock_gettime): Likewise.
11811         (__vdso_clock_getres): Likewise.
11812         (__vdso_get_tbfreq): Likewise.
11813         (__vdso_getcpu): Likewise.
11814         (__vdso_time): Likewise.
11815         (__vdso_sigtramp_rt64): Likewise.
11816         (__vdso_signtramp32): Likewise.
11817         (__vdso_sigtramp_rt32): Likewise.
11818         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11819         Likewise.
11820         (__vdso_clock_gettime): Likewise.
11821         (__vdso_clock_getres): Likewise.
11822         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11823         Likewise.
11824         (__vdso_clock_gettime): Likewise.
11825         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11826         Likewise.
11827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11828         macro.
11829         (INTERNAL_VSYSCALL): Likewise.
11830         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11831         Remove macro.
11832         (INTERNAL_VSYSCALL): Likewise.
11833         (INTERNAL_VSYSCALL_NCS): Likewise.
11834         (INTERNAL_VSYSCALL_CALL): New macro.
11835         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11836         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11837         Likewise.
11838         (INTERNAL_VSYSCALL): Likewise.
11839         (INTERNAL_VSYSCALL_NCS): Likewise.
11840         (INTERNAL_VSYSCALL_CALL): New macro.
11841         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11843         (INLINE_VSYSCALL): Remove macro.
11844         (INTERNAL_VSYSCALL): Remove macro.
11845         (INTERNAL_VSYSCALL_NCS): Remove macro.
11846         (INTERNAL_VSYSCALL_CALL): New macro.
11847         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11848         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11849         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11850         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11851         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11853         (INLINE_VSYSCALL): Remove macro.
11854         (INTERNAL_VSYSCALL): Likewise.
11855         (INTERNAL_VSYSCALL_NCS): Likewise.
11856         (INTERNAL_VSYSCALL_CALL): New macro.
11857         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11858         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11859         PTR_DEMANGLE on vDSO pointer.
11860         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11861         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11862         macro.
11863         (INTERNAL_SYSCALL): Likewise.
11864         (INTERNAL_VSYSCALL_NCS): Remove macro.
11865         (INTERNAL_VSYSCALL_CALL): New macro.
11866         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11867         Remove macro.
11868         (INTERNAL_VSYSCALL): Likewise.
11869         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11870         sysdep-vdso.h instead of libc-vdso.h.
11871         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11872         definition.
11873         (INLINE_VSYSCALL): Likewise.
11874         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11875         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11876         definition.
11877         (INLINE_VSYSCALL): Likewise.
11878         (INTERNAL_VSYSCALL): Likewise.
11879         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11880         * sysdeps/unix/sysv/linux/timespec_get.c
11881         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11882         (timespec_get): Use ANSI prototype.
11883         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11884         and definition for Linux.
11886 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11888         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11889         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11891 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11893         [BZ #2981]
11894         [BZ #18410]
11895         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11896         for missing DT_PLTRELSZ.
11898 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11900         Remove obsolete aliases that broke 'locale -a'
11901         [BZ #18412]
11902         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11903         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11904         breaking some applications that use 'locale -a' output.
11905         Change the encoding of this file from Latin-1 to ASCII to avoid
11906         other potential problems with people grepping this file.
11908 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11910         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11911         -fasynchronous-unwind-tables.
11912         (CFLAGS-sendto.c): Likewise.
11913         (CFLAGS-sendmsg.c): Likewise.
11914         (CFLAGS-connect.c): Likewise.
11915         (CFLAGS-recvmsg.c): Likewise.
11916         (CFLAGS-recvfrom.c): Likewise.
11917         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11918         (SOCKETCALL): New macro: non-cancellable socketcall.
11919         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11920         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11921         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11922         * sysdeps/unix/sysv/linux/accept.c: New file.
11923         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11924         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11925         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11926         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11927         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11928         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11929         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11930         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11931         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11932         * sysdeps/unix/sysv/linux/send.c: Likewise.
11933         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11934         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11935         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11936         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11937         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11938         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11939         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11940         prototype.
11941         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11942         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11943         instead of __internal_xxx function.
11944         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11945         prototype.
11946         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11947         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11948         instead of __internal_xxx function.
11949         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11950         prototype.
11951         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11952         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11953         instead of __internal_xxx function.
11954         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11955         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11956         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11957         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11958         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11959         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11960         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11961         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11962         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11963         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11964         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11965         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11966         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11967         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11968         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11969         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11970         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11971         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11972         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11973         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11976         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11977         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11978         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11979         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11980         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11981         * sysdeps/unix/sysv/linux/send.S: Likewise.
11982         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11983         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11984         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11985         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11986         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11987         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11988         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11989         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11990         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11991         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11992         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11993         socketcall is implemented in GLIBC.
11995 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11997         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11998         (__fma): Ignore uninitialized warnings around packing.
11999         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12000         (__fmaf): Ignore uninitialized warnings around packing.
12001         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12002         (__fmal): Ignore uninitialized warnings around packing.
12004         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12005         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12007         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12009         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12010         switch statement into default case.
12011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12013         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12014         a conditional in forcing "inexact".
12015         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12016         Likewise.
12018 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12020         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12021         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12022         for each INTERNAL_SYSCALL use.
12024 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12026         [BZ #438]
12027         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12028         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12029         variable.
12031         [BZ #18444]
12032         * string/basename.c (basename): Rename to __basename and define as
12033         weak alias of __basename.  Use libc_hidden_weak.
12034         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12035         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12036         __basename instead of basename.
12037         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12038         Remove variable.
12039         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12041 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12043         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12044         (_IO_JUMPS_FILE_plus): New.
12045         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12046         _IO_CAST_FIELD_ACCESS.
12047         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12048         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12049         * libio/freopen.c (freopen): Likewise.
12050         * libio/freopen64.c (freopen64): Likewise.
12051         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12052         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12053         * libio/iofwide.c (_IO_fwide): Likewise.
12054         * libio/memstream.c (open_memstream): Likewise.
12055         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12056         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12057         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12059 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12061         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12062         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12063         NADJ.
12064         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12065         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12066         NADJ.
12067         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12068         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12069         NADJ.
12071         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12072         (p == 4) case.
12074         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12075         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12076         Remove variable.
12077         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12078         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12079         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12081 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12083         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12084         Adjust jump table label generation macros.
12086 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12088         * stdio-common/vfprintf.c (vfprintf): Move local variables
12089         args_malloced, specs, specs_malloced, and the code after
12090         do_positional to the printf_positional function.
12091         (printf_positional): New function.
12093 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12095         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12096         function.
12097         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12098         STEP4_TABLE, process_arg): Move macro definitions
12099         out of the vfprintf function.  (Cosmetic change only.)
12101 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12103         * benchtests/Makefile (stdio-common-bench): Define.
12104         (benchset): Add stdio-common-bench.
12105         * sprintf-inputs: New file.
12106         * sprintf-source.c: New file.
12108 2015-05-21  Andreas Schwab  <schwab@suse.de>
12110         [BZ #13028]
12111         [BZ #17053]
12112         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12113         of struct __res_state.
12114         * resolv/res_send.c (__libc_res_nsend): Likewise.
12115         (get_nsaddr): New function.
12116         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12117         statp directly.
12119 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12121         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12122         -D_POSIX_C_SOURCE=199506L.
12124         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12126         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12127         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12128         Do not mention otherwise.
12129         [POSIX] (_XOPEN_VERSION): Do not expect.
12130         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12131         [POSIX] (_POSIX2_C_BIND): Likewise.
12132         [POSIX] (_POSIX2_VERSION): Likewise.
12133         [POSIX] (_XOPEN_XPG2): Likewise.
12134         [POSIX] (_XOPEN_XPG3): Likewise.
12135         [POSIX] (_XOPEN_XPG4): Likewise.
12136         [POSIX] (_XOPEN_UNIX): Likewise.
12137         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12138         [POSIX] (_POSIX_BARRIERS): Likewise.
12139         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12140         [POSIX] (_POSIX_CPUTIME): Likewise.
12141         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12142         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12143         [POSIX] (_POSIX_SHELL): Likewise.
12144         [POSIX] (_POSIX_SPAWN): Likewise.
12145         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12146         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12147         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12148         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12149         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12150         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12151         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12152         [POSIX] (_XBS5_LP64_OFF64): Likewise.
12153         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12154         [POSIX] (_POSIX_TIMEOUTS): Likewise.
12155         [POSIX] (_POSIX2_PBS): Likewise.
12156         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12157         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12158         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12159         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12160         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12161         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12162         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12163         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12164         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12165         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12166         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12167         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12168         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12169         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12170         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12171         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12172         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12173         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12174         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12175         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12176         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12177         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12178         [POSIX] (_SC_2_C_BIND): Likewise.
12179         [POSIX] (_SC_2_C_VERSION): Likewise.
12180         [POSIX] (_SC_2_PBS): Likewise.
12181         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12182         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12183         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12184         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12185         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12186         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12187         [POSIX] (_SC_BARRIERS): Likewise.
12188         [POSIX] (_SC_BASE): Likewise.
12189         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12190         [POSIX] (_SC_DEVICE_IO): Likewise.
12191         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12192         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12193         [POSIX] (_SC_FD_MGMT): Likewise.
12194         [POSIX] (_SC_FIFO): Likewise.
12195         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12196         [POSIX] (_SC_FILE_LOCKING): Likewise.
12197         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12198         [POSIX] (_SC_IOV_MAX): Likewise.
12199         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12200         [POSIX] (_SC_NETWORKING): Likewise.
12201         [POSIX] (_SC_PAGE_SIZE): Likewise.
12202         [POSIX] (_SC_PASS_MAX): Likewise.
12203         [POSIX] (_SC_PIPE): Likewise.
12204         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12205         [POSIX] (_SC_REGEXP): Likewise.
12206         [POSIX] (_SC_SHELL): Likewise.
12207         [POSIX] (_SC_SIGNALS): Likewise.
12208         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12209         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12210         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12211         [POSIX] (_SC_USER_GROUPS): Likewise.
12212         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12213         [POSIX] (_SC_STREAMS): Likewise.
12214         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12215         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12216         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12217         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12218         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12219         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12220         [POSIX] (_PC_FILESIZEBITS): Likewise.
12221         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12222         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12223         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12224         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12225         [POSIX] (uid_t): Likewise.
12226         [POSIX] (gid_t): Likewise.
12227         [POSIX] (off_t): Likewise.
12228         [POSIX] (pid_t): Likewise.
12229         [POSIX] (cuserid): Allow.
12230         (_SC_2_CHAR_TERM): Require constant.
12231         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12232         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12233         variable.
12235 2015-05-20  Roland McGrath  <roland@hack.frob.com>
12237         * sysdeps/nacl/pthread-pids.h: New file.
12238         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12239         (create_thread): Use __nacl_get_tid to initialize PD->tid.
12241         * nptl/pthread-pids.h: New file.
12242         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12243         * nptl/nptl-init.c: Include <pthread-pids.h>.
12244         (__pthread_initialize_minimal_internal):
12245         Call __pthread_initialize_pids instead of set_tid_address syscall.
12247         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12248         * sysdeps/posix/usleep.c: ... here.
12250 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12252         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12253         call_pselect6 object.
12254         [$(subdir) = io]: Remove call_sync_file_range object.
12255         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12256         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12257         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12258         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12260 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
12262         * math/s_cproj.c: Add include "math_private.h".
12263         * math/s_cprojf.c: Likewise.
12264         * math/s_cprojl.c: Likewise.
12266 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
12268         [BZ #18244]
12269         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12270         high mantissa bit when testing whether P is a NaN.
12271         * math/libm-test.inc (remainder_test_data): Add more tests.
12272         (remquo_test_data): Likewise.
12274         [BZ #18049]
12275         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12276         below -32, return the argument, with underflow if subnormal.
12277         * math/auto-libm-test-in: Add more tests of atanh.
12278         * math/auto-libm-test-out: Regenerated.
12280 2015-05-19  Roland McGrath  <roland@hack.frob.com>
12282         [BZ #18434]
12283         * nptl/tst-sem15.c: New file.
12284         * nptl/Makefile (tests): Add it.
12285         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12286         s/<</>>/ to fix typo in EOVERFLOW check.
12287         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12289 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12291         * manual/strings.texi (envz_remove): Fix typo in safety
12292         annotations.
12294 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
12295             Steve Ellcey  <sellcey@imgtec.com>
12297         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12298         in order to avoid strict alias warnings.
12299         (iruserok_af): Ditto for ra.
12301 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
12303         [BZ #17581]
12304         * malloc/hooks.c
12305         (magicbyte): Convert to a function and avoid returning 0x01.
12306         (mem2mem_check): Avoid using a length byte equal to the magic byte.
12307         (mem2chunk_check): Fix unsigned comparisons to zero.
12308         Hoist defs of sz and magic.
12310 2015-05-19  Richard Henderson  <rth@redhat.com>
12312         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12314         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12316 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12318         [BZ #16159]
12319         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12320         * malloc/arena.c (arena_lock): Check if arena is corrupt.
12321         (reused_arena): Find a non-corrupt arena.
12322         (heap_trim): Pass arena to unlink.
12323         * malloc/hooks.c (malloc_check_get_size): Pass arena to
12324         malloc_printerr.
12325         (top_check): Likewise.
12326         (free_check): Likewise.
12327         (realloc_check): Likewise.
12328         * malloc/malloc.c (malloc_printerr): Add arena argument.
12329         (unlink): Likewise.
12330         (munmap_chunk): Adjust.
12331         (ARENA_CORRUPTION_BIT): New macro.
12332         (arena_is_corrupt): Likewise.
12333         (set_arena_corrupt): Likewise.
12334         (sysmalloc): Use mmap if there are no usable arenas.
12335         (_int_malloc): Likewise.
12336         (__libc_malloc): Don't fail if arena_get returns NULL.
12337         (_mid_memalign): Likewise.
12338         (__libc_calloc): Likewise.
12339         (__libc_realloc): Adjust for additional argument to
12340         malloc_printerr.
12341         (_int_free): Likewise.
12342         (malloc_consolidate): Likewise.
12343         (_int_realloc): Likewise.
12344         (_int_memalign): Don't touch corrupt arenas.
12345         * malloc/tst-malloc-backtrace.c: New test case.
12347         * Makefile (summarize-tests): Fix return value on success.
12349         * manual/string.texi (Envz Functions): Add envz_remove.
12351 2015-05-18  Roland McGrath  <roland@hack.frob.com>
12353         * sysdeps/posix/opendir.c: Include <stdbool.h>.
12354         (invalid_name): New function, broken out of ...
12355         (__opendirat): ... here.  Call it.
12356         (need_isdir_precheck): New function, broken out of ...
12357         (__opendirat): ... here.  Call it.
12358         Use __fxstatat64, not __xstatat64.
12359         (opendir_oflags): New function, broken out of ...
12360         (__opendirat): ... here.  Call it.
12361         (opendir_tail): New function, broken out of ...
12362         (__opendirat): ... here.  Call it.
12363         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12364         opendir_tail, rather than punting to __opendirat.
12365         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12367 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12369         * .gitignore: Ignore generated *.pyc.
12371 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
12373         * include/stdio.h: Define __need_wint_t.
12374         * test-skeleton.c: Avoid `for' loop initial declaration.
12375         * nptl/tst-initializers1.c: Use test-skeleton.c.
12377 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12379         [BZ #18418]
12380         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12382 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12384         [BZ #16352]
12385         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12386         (__ieee754_atanh): Force underflow exception for results with
12387         small absolute value.
12388         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12389         (__ieee754_atanhf): Force underflow exception for results with
12390         small absolute value.
12391         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12392         (__ieee754_atanh): Force underflow exception for results with
12393         small absolute value.
12394         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12395         (__ieee754_atanhf): Force underflow exception for results with
12396         small absolute value.
12397         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12398         (__ieee754_atanhl): Force underflow exception for results with
12399         small absolute value.
12400         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12401         (__ieee754_atanhl): Force underflow exception for results with
12402         small absolute value.
12403         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12404         (__ieee754_atanhl): Force underflow exception for results with
12405         small absolute value.
12406         * math/auto-libm-test-in: Do not allow missing underflow
12407         exceptions from atanh.
12408         * math/auto-libm-test-out: Regenerated.
12410         [BZ #18221]
12411         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12412         2**-28 as threshold for returning x or +/- 1/x.
12413         * math/auto-libm-test-in: Add more tests of tan.
12414         * math/auto-libm-test-out: Regenerated.
12416         [BZ #18220]
12417         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12418         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12419         * math/auto-libm-test-in: Add another test of lgamma.
12420         * math/auto-libm-test-out: Regenerated.
12422 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
12424         * stdio-common/printf_fp.c (___printf_fp): Use abs.
12425         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
12426         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12427         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12428         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
12429         (ADD2A): Use fabs.  (SUB2A): Use fabs.
12430         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12431         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12432         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12433         (log1): Use fabs.  (my_log2): Use fabs.
12434         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12435         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12436         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12437         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12438         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12439         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
12440         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
12441         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
12442         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
12443         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12444         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12446 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12448         [BZ #18217]
12449         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12450         as threshold for returning 1 - x.
12451         * math/auto-libm-test-in: Add more tests of erfc.
12452         * math/auto-libm-test-out: Regenerated.
12454 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
12456         [BZ #18196]
12457         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12458         threshold for large arguments.
12459         * math/auto-libm-test-in: Add another test of atan.
12460         * math/auto-libm-test-out: Regenerated.
12462         [BZ #16339]
12463         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12464         (__log1p): Force underflow exception for results with small
12465         absolute value.
12466         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12467         (__log1pf): Force underflow exception for results with small
12468         absolute value.
12469         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12470         (__log1p): Force underflow exception for results with small
12471         absolute value.
12472         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12473         (__log1pf): Force underflow exception for results with small
12474         absolute value.
12475         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12476         (__log1pl): Force underflow exception for results with small
12477         absolute value.
12478         * math/auto-libm-test-in: Do not allow missing underflow
12479         exceptions from log1p.
12480         * math/auto-libm-test-out: Regenerated.
12482 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
12483             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12485         [BZ #16704]
12486         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12488 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
12490         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12491         (libmvec): New variable.
12492         * configure.ac: Added option for mathvec build.
12493         * configure: Regenerated.
12494         * mathvec/Depend: New file.
12495         * mathvec/Makefile: New file.
12496         * shlib-versions: Added libmvec.
12497         * math/Makefile: Added rule for libm.so installation.
12499         * bits/math-vector.h: New file.
12500         * bits/libm-simd-decl-stubs.h: New header.
12501         * math/Makefile (headers): Added new header
12502         libm-simd-decl-stubs.h.
12503         * math/math.h (__MATHCALL_VEC): New macro.
12505         * math/gen-libm-have-vector-test.sh: Script generates series of macros
12506         for conditions in testing functions.
12507         * math/Makefile: Added call of libm-have-vector-test.sh.
12508         * math/libm-test.inc (HAVE_VECTOR): New macros.
12510         * math/libm-test.inc: START refactored.
12511         * math/test-double.c (TEST_MATHVEC): Add define.
12512         * math/test-float.c: Likewise.
12513         * math/test-idouble.c: Likewise.
12514         * math/test-ifloat.c: Likewise.
12515         * math/test-ildoubl.c: Likewise.
12516         * math/test-ldouble.c: Likewise.
12517         * sysdeps/generic/math-tests-arch.h
12518         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
12519         architecture check.
12521         * math/test-double.c (FUNC_TEST): New macro.
12522         * math/test-float.c: Likewise.
12523         * math/test-idouble.c: Likewise.
12524         * math/test-ifloat.c: Likewise.
12525         * math/test-ildoubl.c: Likewise.
12526         * math/test-ldouble.c: Likewise.
12527         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
12529 2015-05-13  Roland McGrath  <roland@hack.frob.com>
12531         * sysdeps/nacl/fdopendir.c: New file.
12533         * dirent/scandir-tail.c: New file.
12534         * dirent/scandir64-tail.c: New file.
12535         * dirent/Makefile (routines): Add them.
12536         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
12537         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
12538         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
12539         [!SCANDIR] (SCANDIR_TAIL): New macro.
12540         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
12541         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
12542         (SCANDIRAT): Macro removed.
12543         (SCANDIR_TAIL): New macro.
12544         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
12545         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
12546         (SCANDIRAT): Just call __opendirat and __scandir_tail.
12547         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
12548         (READDIR): Macro removed.
12549         (SCANDIR_TAIL): New macro.
12550         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
12551         (SCANDIR_TAIL): New macro.
12553         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
12554         * dirent/scandir-cancel.c: ... to this new file.
12555         * dirent/Makefile (routines): Add it.
12556         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
12557         * sysdeps/unix/sysv/linux/i386/scandir64.c
12558         (SKIP_SCANDIR_CANCEL): Macro removed.
12559         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
12561         * dirent/tst-scandir.c: New file.
12562         * dirent/tst-scandir64.c: New file.
12563         * dirent/Makefile (tests): Add them.
12565 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12567         [BZ #18409]
12568         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
12570 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12572         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
12573         list.
12575 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
12577         * benchtests/bench-strcoll.c: New benchmark.
12578         * benchtests/Makefile: Generate locales and run benchmark.
12579         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
12580         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12581         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
12582         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
12583         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
12584         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12585         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12586         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12587         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12588         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12589         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12590         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12591         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12592         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12593         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12594         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12595         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12596         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12597         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12598         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12599         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12600         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12601         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12602         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12604 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
12606         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12607         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12609 2015-05-12  Roland McGrath  <roland@hack.frob.com>
12611         * posix/uname-values.h: New file.
12612         * posix/uname.c: Include that instead of <config-name.h>.
12613         * sysdeps/nacl/uname-values.h: New file.
12614         * sysdeps/arm/nacl/uname-values.h: New file.
12616 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
12618         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12619         splitting into fields.
12621 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
12623         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12624         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12625         * locale/localeinfo.h: Add enum collation_encoding_type.
12626         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12627         * programs/ld-collate.c (collate_output): Add encoding type info.
12628         * string/strcoll_l.c (STRDIFF): New function.
12629         * (STRCOLL): Use STRDIFF to skip over equal prefix.
12630         * wcsmbs/wcscoll_l.c: Define STRDIFF.
12632 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
12634         [BZ #18397]
12635         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12636         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
12637         <fpu_control.h> instead of <math/fpu_control.c>.
12638         * sysdeps/mips/mips32/fpu/Makefile: New file.
12640 2015-05-11  Andreas Schwab  <schwab@suse.de>
12642         [BZ #18007]
12643         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
12644         nss_endgrent.
12645         (_nss_compat_endgrent): Call nss_endgrent.
12646         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
12647         nss_endpwent.
12648         (_nss_compat_endpwent): Call nss_endpwent.
12649         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
12650         needent, call nss_setspent only if non-zero.
12651         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
12652         (internal_endspent): Don't call nss_endspent.
12653         (_nss_compat_endspent): Call nss_endspent.
12654         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
12655         Remove.  All uses removed.
12656         (internal_setent): Remove parameter stayopen, add parameter
12657         stream.  Use it instead of global variable.
12658         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
12659         (internal_endent, internal_getent): Add parameter stream.  Use it
12660         instead of global variable.
12661         (CONCAT(_nss_files_end,ENTNAME))
12662         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
12663         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
12664         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
12665         uses removed.
12666         (internal_setent, internal_endent): Add parameter stream.  Use it
12667         instead of global variable.
12668         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
12669         stream.
12670         (get_next_alias): Add parameter stream.
12671         (_nss_files_getaliasent_r): Pass global stream.
12672         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
12673         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
12674         (_nss_files_gethostbyname4_r): Pass local stream to
12675         internal_setent, internal_getent and internal_endent.  Remove
12676         locking.
12678 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12680         * tst-strfmon1.c (tests): Update expected currency symbol.
12682 2015-05-08  Roland McGrath  <roland@hack.frob.com>
12684         * sysdeps/nacl/gethostname.c: New file.
12686 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
12688         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
12689         and sinh.
12690         * math/auto-libm-test-out: Regenerated.
12691         * sysdeps/i386/fpu/libm-test-ulps: Update.
12692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12694 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
12696         [BZ #18125]
12697         * stdlib/tst-setcontext3.c: New file.
12698         * stdlib/tst-setcontext3.sh: New file.
12699         * stdlib/Makefile (tests): Add tst-setcontext3.
12700         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12701         to verify test program created output file.
12702         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12703         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12704         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12705         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12707 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12709         [BZ #18383]
12710         * elf/tst-tlsalign.c: New file.
12711         * elf/tst-tlsalign-static.c: New file.
12712         * elf/tst-tlsalign-lib.c: New file.
12713         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12714         (tests-static): Add tst-tlsalign-static.
12715         (modules-names): Add tst-tlsalign-lib.
12716         (test-xfail-tst-tlsalign): New variable.
12717         (test-xfail-tst-tlsalign-static): New variable.
12719         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12720         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12722 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12724         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12725         csqrt, erfc, sin and sincos.
12726         * math/auto-libm-test-out: Regenerated.
12727         * sysdeps/i386/fpu/libm-test-ulps: Update.
12728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12730 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12732         * sysdeps/aarch64/libm-test-ulps: Update.
12734 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12736         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12737         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12738         * math/auto-libm-test-out: Regenerated.
12739         * sysdeps/i386/fpu/libm-test-ulps: Update.
12740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12742 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12744         [BZ #18265]
12745         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12746         (wcsncpy): Likewise.
12748 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12750         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12751         Assume __ASSUME_FALLOCATE is always true.
12752         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12753         (__posix_fallocate64_l64): Likweise.
12754         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12755         (posix_fallocate): Likewise.
12756         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12757         (__posix_fallocate64_l64): Likewise.
12758         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12759         [!__ASSUME_FALLOCATE]: Add comment.
12761 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12763         * sysdeps/unix/sysv/linux/i386/Makefile
12764         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12765         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12766         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12767         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12768         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12769         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12770         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12772 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12774         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12775         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12776         tgamma.
12777         * math/auto-libm-test-out: Regenerated.
12778         * sysdeps/i386/fpu/libm-test-ulps: Update.
12779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12781 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12783         * math/auto-libm-test-in: Add more tests of tgamma.
12784         * math/auto-libm-test-out: Regenerated.
12785         * sysdeps/i386/fpu/libm-test-ulps: Update.
12786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12788         * math/auto-libm-test-in: Add more tests of tanh.
12789         * math/auto-libm-test-out: Regenerated.
12790         * sysdeps/i386/fpu/libm-test-ulps: Update.
12791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12793         * math/auto-libm-test-in: Add more tests of tan.
12794         * math/auto-libm-test-out: Regenerated.
12795         * sysdeps/i386/fpu/libm-test-ulps: Update.
12796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12798         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12799         * math/auto-libm-test-out: Regenerated.
12800         * sysdeps/i386/fpu/libm-test-ulps: Update.
12801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12803         * math/auto-libm-test-in: Add another test of pow.
12804         * math/auto-libm-test-out: Regenerated.
12805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12807         * math/auto-libm-test-in: Add more tests of lgamma.
12808         * math/auto-libm-test-out: Regenerated.
12809         * sysdeps/i386/fpu/libm-test-ulps: Update.
12810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12812         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12813         log1p.
12814         * math/auto-libm-test-out: Regenerated.
12815         * sysdeps/i386/fpu/libm-test-ulps: Update.
12816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12818 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12820         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12821         Elf64_Chdr structs and ELFCOMPRESS constants.
12823 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12825         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12826         expm1.
12827         * math/auto-libm-test-out: Regenerated.
12828         * sysdeps/i386/fpu/libm-test-ulps: Update.
12829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12831         * math/auto-libm-test-in: Add more tests of erf and erfc.
12832         * math/auto-libm-test-out: Regenerated.
12833         * sysdeps/i386/fpu/libm-test-ulps: Update.
12834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12836 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12838         * config.h.in (HAVE_AARCH64_BE): Add.
12840 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12842         * math/auto-libm-test-in: Add more tests of csqrt.
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 cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12854 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12856         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12857         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12859         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12860         (euidaccess, eaccess): Define as weak aliases.
12862         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12863         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12864         but __suseconds_t is often 'long int' so some sources assume that
12865         type is being used (e.g. they use %ld to print tv_usec).
12867 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12869         [BZ #18007]
12870         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12871         (CVE-2014-8121)
12872         * nss/tst-nss-getpwent.c: New file.
12873         * nss/Makefile (tests): Add new test.
12875 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12877         [BZ #18346]
12878         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12879         exponents less than 48 as cases where high part of mantissa needs
12880         examining to determine whether argument is integral.
12881         * math/libm-test.inc (round_test_data): Add more tests.
12883 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12885         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12887 2015-04-27  David S. Miller  <davem@davemloft.net>
12889         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12890         __tls_get_addr.
12891         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12893 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12895         [BZ#18333]
12896         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12898 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12900         [BZ#18333]
12901         * time/tzset.c (parse_tzname): Return error on memory allocation
12902         failure.
12903         * test-skeleton.c (struct temp_name_list): Change type of name
12904         member to non-const.
12905         (add_temp_file): Create a copy of the file name.
12906         (delete_temp_files): Deallocate memory.
12907         (create_temp_file): Add comment.
12909 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12911         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12912         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12914 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12916         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12917         * sysdeps/arm/configure: Regenerated.
12919 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12921         [BZ #17715]
12922         * time/tzfile.c (__tzfile_read): Check for large values of
12923         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12924         * time/tzset.c (__tzstring_len): New function, based on the old
12925         __tzstring function.
12926         (__tzstring): Call __tzstring_len.
12927         (parse_tzname): New helper function extracted from
12928         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12929         the input string.
12930         (parse_offset): New helper function extracted from
12931         __tzset_parse_tz.  Replace switch with fallthrough with
12932         initialization before sscanf.
12933         (parse_rule): Likewise.
12934         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12935         new-style function definition.
12936         * timezone/Makefile (tests): Add tst-tzset.
12937         (tst-tzset.out): Dependencies on time zone files.
12938         (tst-tzset-ENV): Set TZDIR.
12939         (testdata/XT%): Copy crafted time zone files.
12940         * timezone/README: Mention crafted time zone files.
12941         * timezone/testdata/XT1, timezone/testdata/XT2,
12942         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12943         files.
12944         * timezone/tst-tzset.c: New test.
12946 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12948         * Makeconfig (+gccwarn): Remove -Winline.
12950 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12952         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12954 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12956         * NEWS: Mention sysconf() cache information support for s390.
12957         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12959 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12961         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12962         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12963         (__nearbyint): Likewise.
12964         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12965         (copysignl): Likewise.
12967 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12969         [BZ #18287]
12970         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12971         based on padding.  (CVE-2015-1781)
12973 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12975         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12976         libc-vdso.h.
12977         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12978         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12979         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12980         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12981         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12982         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12983         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12984         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12985         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12986         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12987         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12988         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12989         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12990         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12991         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12992         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12993         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12994         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12995         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12996         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12997         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12998         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12999         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13001 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13003         * stdlib/setenv.c (__add_to_environ):
13004         Dump core quickly if setenv (..., NULL, ...) is called.
13005         This time, do it the right way, and pacify GCC with a pragma.
13007 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13009         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13010         IMAP->l_prev cannot be null, and #if out the code for the contrary
13011         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13012         believe that NS (&_dl_ns[NSID]) could point outside the array.
13014         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13015         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13016         before using NSID as an index.
13018 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13020         [BZ #17825]
13021         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13022         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13023         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13025 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13027         Add preliminary port to Google Native Client on ARM.
13028         * abi-tags (.*-.*-nacl.*): New entry.
13029         * sysdeps/arm/nacl: New directory.
13030         * sysdeps/nacl: New directory.
13032 2015-04-16  David S. Miller  <davem@davemloft.net>
13034         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13035         lowlevellock-futex.h
13037 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13039         * sysdeps/tile/configure.ac: New file.
13040         * sysdeps/tile/configure: Regenerated.
13042 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13044         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13045         conditionals for weak_alias and libc_hidden_weak.
13046         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13047         libc_hidden_weak and weak_alias.
13048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13049         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13050         and weak_alias for static one.
13052 2015-04-15  David S. Miller  <davem@davemloft.net>
13054         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13056 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13058         [BZ #18206]
13059         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13060           Use signed comparision instead of substraction to avoid
13061           overflow bug.
13062         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13063           Take the sign of ret.
13064         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13065           Do not expect precise return values. Only the sign matters.
13066         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13067         * wcsmbs/test-wcsncmp.c: New File.
13068         * string/test-strncmp.c: Add wcsncmp support.
13070 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13072         [BZ #6792]
13073         * math/w_log1p.c: New file.
13074         * math/w_log1pf.c: Likewise.
13075         * math/w_log1pl.c: Likewise.
13076         * math/Makefile (libm-calls): Add w_log1p.
13077         * math/s_log1pl.c (log1pl): Remove weak_alias.
13078         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13079         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13080         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13081         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13082         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13083         [NO_LONG_DOUBLE] (log1pl): Likewise.
13084         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13085         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13086         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13087         (log1p): Remove long_double_symbol.
13088         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13089         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13090         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13091         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13092         remove weak_alias for corresponding log1p function.
13093         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13094         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13095         * sysdeps/ia64/fpu/w_log1p.c: New file.
13096         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13097         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13098         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13100 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13102         [BZ #18247]
13103         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13104         decimal exponent by 1.
13105         * stdlib/tst-strtod-round-data: Add more tests.
13106         * stdlib/tst-strtod-round.c (tests): Regenerated.
13108 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13110         * math/auto-libm-test-in: Add more tests of clog and clog10.
13111         * math/auto-libm-test-out: Regenerated.
13112         * sysdeps/i386/fpu/libm-test-ulps: Update.
13113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13115 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13117         * Makeconfig (module-cppflags): Exclude all .v.i files.
13118         (skip-module-cppflags): Variable removed.
13120         * configure.ac (libc_config_ok): Initialize before reading
13121         preconfigure scripts, not after.
13122         * configure: Regenerated.
13124         * test-skeleton.c (TIMEOUT): Move #define to top level.
13125         (main): Grok environment variable TEST_DIRECT.  If set, print
13126         test expectation details into that file and then behave as if
13127         given --direct.
13129 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13131         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13132         warning on 32-bit.
13134 2015-04-08  David S. Miller  <davem@davemloft.net>
13136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13138 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13140         * math/auto-libm-test-in: Add more tests of atanh.
13141         * math/auto-libm-test-out: Regenerated.
13142         * sysdeps/i386/fpu/libm-test-ulps: Update.
13143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13145         * math/auto-libm-test-in: Add more tests of atan.
13146         * math/auto-libm-test-out: Regenerated.
13147         * sysdeps/i386/fpu/libm-test-ulps: Update.
13148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13150 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13152         * elf/pldd.c (main): Rewrite to use struct
13153         scratch_buffer instead of extend_alloca.
13154         * elf/pldd-xx.c (find_maps): Likewise.
13155         * grp/initgroups.c: Include <scratch_buffer.h> instead of
13156         <alloca.h>.
13157         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13158         scratch_buffer instead of extend_alloca.
13159         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13160         grp/compat-initgroups.c.
13161         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13162         Rewrite to use struct scratch_buffer instead of extend_alloca.
13163         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13164         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13166 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13168         * math/auto-libm-test-in: Add more tests of cbrt.
13169         * math/auto-libm-test-out: Regenerated.
13170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13172         * math/auto-libm-test-in: Add more tests of cabs.
13173         * math/auto-libm-test-out: Regenerated.
13174         * sysdeps/i386/fpu/libm-test-ulps: Update.
13175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13177         [BZ #18210]
13178         [BZ #18211]
13179         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13180         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13181         computations.
13182         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13183         clog10.
13184         * math/auto-libm-test-out: Regenerated.
13185         * sysdeps/i386/fpu/libm-test-ulps: Update.
13186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13188         [BZ #18197]
13189         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13190         (atan): Set FE_TONEAREST mode for internal computations.
13191         * math/auto-libm-test-in: Add more tests of atan.
13192         * math/auto-libm-test-out: Regenerated.
13194 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13196         [BZ #17930]
13197         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13199 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13201         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13203 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13205         * include/scratch_buffer.h: New file.
13206         * malloc/scratch_buffer_grow.c: Likewise.
13207         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13208         * malloc/scratch_buffer_set_array_size.c: Likewise.
13209         * malloc/tst-scratch_buffer.c: Likewise.
13210         * malloc/Makefile (routines): Add scratch_buffer_grow.
13211         (tests): Add test case.
13212         * malloc/Versions (GLIBC_PRIVATE): Export
13213         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13214         __libc_scratch_buffer_set_array_size.
13216 2015-04-06  Richard Henderson  <rth@redhat.com>
13218         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13219         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13221         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13222         unsigned int before printing.
13224 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13226         [BZ #17596]
13227         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13228         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13230 2015-04-02  Florian Weimer  <fweimer@redhat.com>
13232         * include/libc-internal.h (libc_max_align_t): Define.
13234 2015-04-02  Andreas Schwab  <schwab@suse.de>
13236         [BZ #16850]
13237         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13239 2015-04-02  Mel Gorman  <mgorman@suse.de>
13241         [BZ #17195]
13242         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13243         as well as the main arena.
13245 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13247         [BZ #18185]
13248         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13249         sharing L2 cache to 2 for Silvermont/Knights Landing.
13251 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13253         [BZ #17711]
13254         * config.make.in (have-protected-data): New.
13255         * configure.ac: Check linker support for protected data symbol.
13256         * configure: Regenerated.
13257         * elf/Makefile (modules-names): Add tst-protected1moda and
13258         tst-protected1modb if $(have-protected-data) is yes.
13259         (tests): Add tst-protected1a and tst-protected1b if
13260         $(have-protected-data) is yes.
13261         ($(objpfx)tst-protected1a): New.
13262         ($(objpfx)tst-protected1b): Likewise.
13263         (tst-protected1modb.so-no-z-defs): Likewise.
13264         * elf/tst-protected1a.c: New file.
13265         * elf/tst-protected1b.c: Likewise.
13266         * elf/tst-protected1mod.h: Likewise.
13267         * elf/tst-protected1moda.c: Likewise.
13268         * elf/tst-protected1modb.c: Likewise.
13270 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13272         [BZ #17711]
13273         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13274         indicates it is called from do_lookup_x on relocation against
13275         protected data, skip the data definion in the executable from
13276         copy reloc.
13277         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13278         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13279         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13280         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13281         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13282         otherwise to 0.
13283         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13284         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13285         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13286         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13287         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13288         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13290 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
13292         * sysdeps/nptl/pthread.h: Remove duplicate definition of
13293         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13295 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
13297         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13298         THREAD_SETMEM_NC.
13299         * sysdeps/x86_64/nptl/tls.h: Ditto.
13301 2015-03-27  Roland McGrath  <roland@hack.frob.com>
13303         * dlfcn/tststatic.c (main): Converted to ...
13304         (do_test): ... this.
13305         (TEST_FUNCTION): New macro.
13306         Include test-skeleton.c.
13308 2015-03-26  Alan Modra  <amodra@gmail.com>
13310         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13311         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
13312         zero for undefined weak.
13313         (elf_machine_plt_conflict): Similarly.
13315 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13317         * math/auto-libm-test-in: Add more tests of acosh, asinh and
13318         atanh.
13319         * math/auto-libm-test-out: Regenerated.
13320         * sysdeps/i386/fpu/libm-test-ulps: Update.
13321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13323         * math/auto-libm-test-in: Add another test of asin.
13324         * math/auto-libm-test-out: Regenerated.
13325         * sysdeps/i386/fpu/libm-test-ulps: Update.
13326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13328         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13329         Remove macro.
13330         (LLL_EBX_REG): Likewise.
13331         (LLL_ENTER_KERNEL): Likewise.
13333         * math/auto-libm-test-in: Add more tests of asin.
13334         * math/auto-libm-test-out: Regenerated.
13335         * sysdeps/i386/fpu/libm-test-ulps: Update.
13336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13338         [BZ #18138]
13339         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13340         libc_do_syscall_args): New structure.
13341         (INTERNAL_SYSCALL_MAIN_0): New macro.
13342         (INTERNAL_SYSCALL_MAIN_1): Likewise.
13343         (INTERNAL_SYSCALL_MAIN_2): Likewise.
13344         (INTERNAL_SYSCALL_MAIN_3): Likewise.
13345         (INTERNAL_SYSCALL_MAIN_4): Likewise.
13346         (INTERNAL_SYSCALL_MAIN_5): Likewise.
13347         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
13348         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13349         Replace conditional definitions by conditional definitions of ....
13350         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
13351         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13352         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13353         (libpthread-sysdep_routines): Add libc-do-syscall.
13354         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13355         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13356         to __NR_futex not 240.
13358 2015-03-25  Alan Modra  <amodra@gmail.com>
13360         * NEWS: Advertise TLS optimization.
13361         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13362         (DT_PPC_NUM): Increment.
13363         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13364         (CHECK_STATIC_TLS): Use here.
13365         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13366         TLS descriptors.
13367         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13368         * sysdeps/powerpc/dl-tls.c: New file.
13369         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13370         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13371         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13372         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13377 2015-03-25  Alan Modra  <amodra@gmail.com>
13379         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13380         for overlapping .opd entries" to "support...".
13381         * sysdeps/powerpc/powerpc64/configure: Regenerate
13383 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13385         * math/auto-libm-test-in: Add more tests of acos.
13386         * math/auto-libm-test-out: Regenerated.
13387         * sysdeps/i386/fpu/libm-test-ulps: Update.
13388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13390         * math/auto-libm-test-in: Add more tests of expm1.
13391         * math/auto-libm-test-out: Regenerated.
13392         * sysdeps/i386/fpu/libm-test-ulps: Update.
13393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13395 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
13397         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13398         * math/auto-libm-test-out: Regenerated.
13399         * sysdeps/i386/fpu/libm-test-ulps: Update.
13400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13402         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13405         * math/auto-libm-test-in: Add more tests of log2.
13406         * math/auto-libm-test-out: Regenerated.
13407         * sysdeps/i386/fpu/libm-test-ulps: Update.
13408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13410 2015-03-23  Roland McGrath  <roland@hack.frob.com>
13412         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13413         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
13414         _IO_IS_APPENDING bit in READ_WRITE instead.
13416 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13418         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13419         (__determine_cpumask_size): Replace extend_alloca with a
13420         variable-length array.  Do not treat res == 0 as an error.
13422 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13424         [BZ #18100]
13425         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13426         and integer overflow.
13427         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13428         (main): Add integer overflow tests.
13429         * manual/pattern.texi (Calling Wordexp): Document additional use
13430         for WRDE_SYNTAX.
13432 2015-03-23  Alan Modra  <amodra@gmail.com>
13434         * config.h.in: Remove HAVE_ASM_PPC_REL16.
13435         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13436         and false branch of conditional.
13437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13438         Likewise.
13440 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
13442         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13443         libc-modules.h
13444         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13445         unused declaration of _hurd_intr_rpc_msg_in_trap.
13446         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13447         defined instead of whether it is non-zero.
13448         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13449         input constraint instead of both input and output constraint.  Use ecx
13450         clobber instead of %ecx.
13451         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13452         mutex_unlock): Use a statement expression instead of an expression list.
13453         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13454         type to vm_size_t instead of vm_address_t.
13455         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13456         defined instead of whether it is non-zero.
13457         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13458         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13459         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13460         comparisons with mapaddr.
13461         * nscd/nscd-client.h: Include <time.h>.
13462         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13463         9th parameter to __vm_region instead of int.
13464         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13465         * scripts/check-local-headers.sh (exclude): Add device/,
13466         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13467         cthreads.h.
13469 2015-03-19  Roland McGrath  <roland@hack.frob.com>
13471         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13472         to account for alignment padding.
13473         * sysdeps/arm/memmove.S: Likewise.
13475 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
13477         * sysdeps/unix/sysv/linux/generic/README: New file.
13479 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
13481         [BZ #18138]
13482         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13483         (futex_abstimed_wait)
13484         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13485         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13486         of lll_futex_timed_wait.
13488 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
13490         [BZ #17542]
13491         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13493 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
13495         [BZ #17090]
13496         [BZ #17620]
13497         [BZ #17621]
13498         [BZ #17628]
13499         * NEWS: Update.
13500         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13501         entries with Static TLS too.  Skip entries past the end of the
13502         allocated DTV, from Alan Modra.
13503         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
13504         Static TLS DTV entry set up from...
13505         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13506         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13507         * nptl/allocatestack.c (init_one_static_tls): ... and here...
13508         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13509         for Static TLS.
13510         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
13511         that the slot we find is associated with the given map before
13512         using its generation count.
13513         * nptl_db/db_info.c: Include ldsodefs.h.
13514         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
13515         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
13516         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
13517         (link_map::l_tls_offset): New struct field.
13518         (dtv_t::counter): Likewise.
13519         (rtld_global): New struct.
13520         (_rtld_global): New rtld variable.
13521         (dl_tls_dtv_slotinfo_list): New rtld global field.
13522         (dtv_slotinfo_list): New struct.
13523         (dtv_slotinfo): Likewise.
13524         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
13525         (td_lookup): Rename to...
13526         (td_mod_lookup): ... this.  Use new mod parameter instead of
13527         LIBPTHREAD_SO.
13528         * nptl_db/td_thr_tlsbase.c: Include link.h.
13529         (dtv_slotinfo_list, dtv_slotinfo): New functions.
13530         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
13531         addresses even if the DTV is out of date or missing them.
13532         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
13533         index zero-length arrays.
13534         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
13535         (td_lookup): Make it a macro implemented in terms of...
13536         (td_mod_lookup): ... this declaration.
13537         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
13538         (DB_MAIN_VARIABLE): Likewise.
13540 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13542         [BZ #18134]
13543         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13545 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
13547         * stdlib/setenv.c (__add_to_environ): Revert previous change.
13549 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13551         [BZ #18128]
13552         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
13553         (atomic_add, atomic_increment_and_test)
13554         (atomic_decrement_and_test): Fix 64-bit arithmetic.
13556 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
13558         * stdlib/setenv.c (__add_to_environ):
13559         Dump core quickly if setenv (..., NULL, ...) is called.
13561 2015-03-13  Roland McGrath  <roland@hack.frob.com>
13563         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
13564         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
13565         all the necessary asm magic in one place.
13566         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
13567         using those.
13569 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
13571         [BZ #14906]
13572         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
13573         traced file mtime. Use consistent log message.
13574         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
13575         (register_traced_file): Call install_watches. Always set mtime.
13576         (invalidate_cache): Iterate over all trace files. Call install_watches.
13577         (inotify_check_files): Don't inline. Handle watching parent
13578         directories and configuration file movement in and out.
13579         (handle_inotify_events): New function.
13580         (main_loop_poll): Call handle_inotify_events.
13581         (main_loop_epoll): Likewise.
13582         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
13583         (struct traced_file): Use array of inotify fds. Add parent directory,
13584         and basename.
13585         (struct database_dyn): Remove unused file_mtime.
13586         (init_traced_file): New inline function.
13587         (define_traced_file): New macro.
13588         * nss/nss_db/db-init.c: Use define_traced_file.
13589         (_nss_db_init): Use init_traced_file.
13590         * nss/nss_files/files-init.c: Use define_traced_file.
13591         (_nss_files_init): Use init_traced_file.
13593 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
13595         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13596         [_LIBC]: Do not include <stdlib.h>.
13597         [!_LIBC] (abort): Remove declaration.
13598         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13599         _FP_STATIC_ASSERT instead of conditionally calling abort.
13600         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13601         (_FP_EXTEND_CNAN): Likewise.
13602         (FP_TRUNC): Likewise.
13603         (__FP_CLZ): Likewise.
13604         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13606 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
13608         * manual/string.texi (XPG basename): Fix prototype.
13610 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13612         [BZ #18080]
13613         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13614         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13615         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13616         (__setcontext): Likewise.
13617         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13618         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13619         Call rt_sigprocmask syscall one time to set new signal mask
13620         and retrieve the current signal mask instead of two calls.
13621         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13622         (__swapcontext): Likewise.
13623         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13624         * stdlib/tst-setcontext2.c: New file.
13626 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13628         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13630 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
13632         [BZ #18093]
13633         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13634         the wrong size.
13636 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13638         [BZ #18043]
13639         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
13641 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13643         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
13644         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
13645         Remove define.
13646         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
13647         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13648         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
13649         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
13650         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
13651         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
13652         define.
13653         * nptl_db/td_symbol_list.c (td_lookup): Remove
13654         HAVE_ASM_GLOBAL_DOT_NAME code.
13655         * sysdeps/powerpc/powerpc64/configure.ac: Remove
13656         HAVE_ASM_GLOBAL_DOT_NAME check.
13657         * sysdeps/powerpc/powerpc64/configure: Regenerate.
13658         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
13659         (DOT_LABEL): Remove define.
13660         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
13661         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
13662         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
13663         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
13664         (__TLS_GET_ADDR): Likewise.
13665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
13666         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
13668 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
13670         [BZ #18111]
13671         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
13672         (_FPU_SETCW): Initialize cw from fpsr before storing.
13673         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
13674         (fesetexceptflag): Rewrite using fpu_control.h.
13675         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
13677 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
13679         [BZ #18110]
13680         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
13681         asms.
13682         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13684 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
13686         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
13687         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
13688         abort.
13689         (_FP_FMA): Likewise.
13690         (_FP_DIV): Likewise.
13692 2015-03-10  Roland McGrath  <roland@hack.frob.com>
13694         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
13695         with 0 in that case.
13696         * Makefile (summarize-tests): New canned sequence, factored out of
13697         commands for targets tests and xtests.  Display summary lines that
13698         don't start with PASS: or XFAIL: rather than ones that do start with
13699         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
13700         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13701         do start with ERROR: or FAIL:.
13702         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13703         (except for [$(build-shared) = yes]).
13704         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13705         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13706         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13707         * nptl/Makefile: Revert 2015-03-04 changes.
13708         [$(CXX) empty] (tests-unsupported): New variable.
13709         * debug/Makefile: Likewise.
13711         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13712         gnulib file.  Replace __attribute with __attribute__ throughout.
13714 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13716         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13718 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13720         [BZ #18104]
13721         * math/auto-libm-test-in: Add another test of pow.
13722         * math/auto-libm-test-out: Regenerated.
13724 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13726         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13727         $(config-cflags-nofma).
13729 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13731         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13732         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13733         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13734         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13735         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13736         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13737         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13738         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13739         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13740         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13741         Add comment on closing #endif.
13743 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13745         * posix/wordexp.c (CHAR_IN_SET): New macro.
13746         (parse_param): Use it.
13748 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13750         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13752 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13754         [BZ #18043]
13755         * posix/wordexp.c (parse_param): Fix buffer overflow.
13756         * posix/wordexp-test.c (test_case): Add test case.
13758 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13760         [BZ #18042]
13761         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13762         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13764 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13766         [BZ #18043]
13767         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13768         (do_bz18043): Delete.
13769         (at_page_end): New.
13770         (testit): Refactor to have words at the edge of unreadable page.
13772 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13774         [BZ #16734]
13775         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13776         Cleanup read-only streams as well.
13777         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13779 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13781         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13782         <bits/libc-lockP.h>
13784 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13786         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13787         on [__KERNEL__].
13788         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13789         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13790         * soft-fp/op-common.h (_FP_DECL): Likewise.
13792 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13794         * elf/ifuncdep2.c (global): Replace
13795         __attribute__((visibility("protected"))) with
13796         asm (".protected global").
13797         * elf/ifuncmod1.c (global): Likewise.
13798         * elf/ifuncmod5.c (global): Likewise.
13800 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13802         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13803         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13805 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13807         * manual/install.texi (Configuring and compiling):
13808         Document test-wrapper-env-only.
13809         * INSTALL: Regenerated.
13811 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13813         [BZ #18043]
13814         * posix/wordexp.c (parse_param): Fix buffer overflow.
13815         * posix/wordexp-test.c (do_bz18043): Add test case.
13817 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13819         * time/tst-strptime2.c (do_test): Ensure failing tests are
13820         reported correctly.
13821         * time/tst-strptime3.c (do_test): Likewise.
13823 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13825         Fix aio_error thread-safety.
13826         * sysdeps/pthread/aio_error.c: New file
13827         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13828         synchronization.
13830 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13832         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13833         (group_number, vfprintf): Use it.
13834         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13835         (JUMP, REF): Use it.
13836         (WORK_BUFFER_SIZE): New enum constant.
13837         (process_arg, vfprintf): Use it.
13839 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13841         * manual/errno.texi (Error Messages): Complete example function
13842         by adding missing #define.
13843         (program_invocation_name): Add statement indicating GNU
13844         extension and reference which header file declares the variable.
13845         (program_invocation_short_name): Likewise.
13847 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13849         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13850         compatibility note.
13852 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13854         * Makeconfig (test-wrapper-env-only): New variable.
13855         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13856         then use that with $(test-wrapper-env-only) rather than using
13857         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13859 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13861         [BZ #18082]
13862         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13863         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13864         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13865         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13866         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13867         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13868         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13869         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13870         Likewise.
13871         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13872         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13873         Likewise.
13874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13875         Likewise.
13876         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13877         Likewise.
13878         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13879         Likewise.
13880         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13881         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13882         Likewise.
13883         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13884         Likewise.
13885         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13886         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13888 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13890         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13891         (ETH_ALEN): New macro.
13892         (struct ether_addr): Use it for length of ether_addr_octet.
13894         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13895         (setdb): Don't call __nss_configure_lookup for "rpc".
13896         (do_test): Don't call test_rpc.
13897         (output_rpcent, test_rpc): Functions moved ...
13898         * sunrpc/test-rpcent.c: ... to this new file.
13899         * sunrpc/Makefile (tests): Add it.
13901         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13902         __xpg_sigpause.
13903         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13904         * nptl/tst-signal6.c: Likewise.
13905         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13906         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13908         * configure.ac (libc_cv_cxx_link_ok): New check.
13909         Reset CXX to empty if it fails to link.
13910         * configure: Regenerated.
13911         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13912         bug-atexit3-lib only if $(CXX) is nonempty.
13913         * nptl/Makefile (tests): Likewise for tst-cancel24.
13914         (tests, tests-static): Likewise for tst-cancel24-static.
13915         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13916         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13917         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13918         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13920 2015-03-04  Andreas Schwab  <schwab@suse.de>
13922         [BZ #17631]
13923         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13924         for non-GCC compilers.
13925         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13926         Likewise.
13928 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13930         [BZ #17776]
13931         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13932         integer before bitwise and assembly operations.
13933         (feclearexcept): Likewise.
13934         * math/test-fenvinline.c: New file.
13935         * math/Makefile: Add test-fenvinline test.
13937 2015-03-03  Alan Modra  <amodra@gmail.com>
13939         [BZ #16512]
13940         * scripts/localplt.awk: Strip off symbol version.
13941         * NEWS: Mention bug fix.
13943 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13945         * sysdeps/pthread/timer_routines.c
13946         (timer_free_list, thread_free_list, thread_active_list): Make static.
13948 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13950         [BZ #17779]
13951         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13952         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13953         Undefine.
13954         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13955         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13956         Likewise.
13957         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13958         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13959         Likewise.
13961 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13963         [BZ #18036]
13964         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13965         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13967 2015-03-02  Andreas Schwab  <schwab@suse.de>
13969         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13970         variable name.
13972 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13974         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13975         Return error status.
13977 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13979         [BZ #15969]
13980         * locale/findlocale.c (_nl_find_locale): Introduce const
13981         version of loc_name and drop unsafe type casts.
13983 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13985         * dlfcn/tststatic2.c (main): Converted to ...
13986         (do_test): ... this.
13987         (TEST_FUNCTION): New macro.
13988         Include test-skeleton.c.
13990 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13992         [BZ #17711]
13993         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13994         (tests-pie): Add vismain.
13995         (CFLAGS-vismain.c): New.
13996         * elf/vismain.c: Add comments for PIE requirement.
13998 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14000         [BZ #18046]
14001         [BZ #18047]
14002         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14003         0x1p-56L as threshold for just returning the argument.
14004         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14005         0x1p-32L as threshold for just returning the argument.
14006         * math/auto-libm-test-in: Add more tests of atanh.
14007         * math/auto-libm-test-out: Regenerated.
14008         * sysdeps/i386/fpu/libm-test-ulps: Update.
14009         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14011 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14013         * string/bcopy.c (bcopy): Call memmove for performance.
14015 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14017         * string/bzero.c (__bzero): Call memset for performance.
14019 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14021         [BZ #18068]
14022         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14023         to 00100000.
14025 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14027         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14029 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14031         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14032         (__kernel_standard): Use CSTR macro when setting exc.name.
14033         * sysdeps/ieee754/Makefile [$(subdir) = math]
14034         (CFLAGS-k_standard.c): Remove variable.
14036         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14037         setting p and q from "else if" to "else".
14038         (qzero): Likewise.
14039         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14040         (qone): Likewise.
14041         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14042         (qzerof): Likewise.
14043         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14044         (qonef): Likewise.
14045         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14046         (qzero): Likewise.
14047         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14048         (qone): Likewise.
14050         [BZ #18038]
14051         [BZ #18039]
14052         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14053         return pi/2 for arguments below 0x1p-113L.
14054         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14055         return pi/2 for arguments below 0x1p-106L.
14056         * math/auto-libm-test-in: Add more tests of acos.
14057         * math/auto-libm-test-out: Regenerated.
14059         [BZ #16351]
14060         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14061         (MO): New macro.
14062         (__ieee754_asin): Force underflow exception for results with small
14063         absolute value.
14064         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14065         (MO): New macro.
14066         (__ieee754_asinf): Force underflow exception for results with
14067         small absolute value.
14068         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14069         (__ieee754_asin): Force underflow exception for results with small
14070         absolute value.
14071         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14072         (__ieee754_asinf): Force underflow exception for results with
14073         small absolute value.
14074         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14075         (__ieee754_asinl): Force underflow exception for results with
14076         small absolute value.
14077         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14078         (__ieee754_asinl): Force underflow exception for results with
14079         small absolute value.
14080         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14081         (__ieee754_asinl): Force underflow exception for results with
14082         small absolute value.
14083         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14084         Include <math.h>.
14085         * math/auto-libm-test-in: Do not mark underflow exceptions as
14086         possibly missing for bug 16351.
14087         * math/auto-libm-test-out: Regenerated.
14089         [BZ #18030]
14090         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14091         of power of 2 down when low part has opposite sign.
14092         * math/libm-test.inc (logb_test_data): Add more tests.
14094 2015-02-26  Andreas Schwab  <schwab@suse.de>
14096         [BZ #18032]
14097         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14098         over collating symbol inside a bracket expression.  Minor cleanup.
14099         * posix/tst-fnmatch3.c (do_test): Add test case.
14101 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14103         [BZ #18029]
14104         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14105         Adjust exponent of power of 2 down when low part has opposite
14106         sign.
14107         * math/libm-test.inc (ilogb_test_data): Add more tests.
14109 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14111         [BZ #15969]
14112         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14113         the previous change.
14115         [BZ #15969]
14116         * locale/findlocale.c (_nl_find_locale): Retry archive search
14117         after alias expansion.
14119 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14121         * iconv/tst-iconv3.c (main): Converted to ...
14122         (do_test): ... this.
14123         (TEST_FUNCTION): New macro.
14124         Include test-skeleton.c.
14126         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14127         (convert): Make function static.
14128         (test_unalign): Likewise.  Add const to argument pointee types.
14129         (main): Replace with static function do_test.
14130         Print "Succeeded." only if RET is zero.
14131         (TEST_FUNCTION): New macro.
14132         Include test-skeleton.c.
14134         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14135         returns a null pointer.
14137 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14139         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14140         to __memcpy_ppc only for static builds.
14142 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14144         [BZ #18020]
14145         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14146         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14147         * math/auto-libm-test-in: Add more tests of asinh.
14148         * math/auto-libm-test-out: Regenerated.
14149         * sysdeps/i386/fpu/libm-test-ulps: Update.
14150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14152 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
14154         [BZ #15850]
14155         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14156         and ip6_mtuinfo definitions here.
14157         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14158         in this define too.  Update comment.
14160 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14162         * elf/sprof.c (load_shobj): Tweak error message to match others.
14164 2015-02-24  Kevin Easton  <kevin@guarana.org>
14166         [BZ #16145] (partial fix)
14167         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14168         to reduce lock contention.
14170 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14172         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14173         (struct timex): Update time comment.
14174         (ADJ_SETOFFSET): Define.
14176 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14178         [BZ #18019]
14179         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14180         2**56 not 2**28 as threshold for log (2x) formula.
14181         * math/auto-libm-test-in: Add more tests of acosh.
14182         * math/auto-libm-test-out: Regenerated.
14183         * sysdeps/i386/fpu/libm-test-ulps: Update.
14184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14186 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14188         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14189         parenthesis around the buf assignment.
14190         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14192 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14194         [BZ #16783]
14195         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14196         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14197         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14198         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14199         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14200         * math/libm-test.inc (scalb_test_data): Add more tests.
14202 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14204         [BZ #17916]
14205         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14206         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14208 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14210         [BZ #17523]
14211         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14212         * io/bits/fcntl2.h (open): Use it.
14213         (openat): Likewise.
14214         * io/open.c (__libc_open): Likewise.
14215         * io/open64.c (__libc_open64): Likewise.
14216         * io/open64_2.c (__open64_2): Likewise.
14217         * io/open_2.c (__open_2): Likewise.
14218         * io/openat.c (__openat): Likewise.
14219         * io/openat64.c (__openat64): Likewise.
14220         * io/openat64_2.c (__openat64_2): Likewise.
14221         * io/openat_2.c (__openat_2): Likewise.
14222         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14223         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14224         * sysdeps/posix/open64.c (__libc_open64): Likewise.
14225         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14226         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14227         (__open_nocancel): Likewise.
14228         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14229         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14230         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14232 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14234         [BZ #14841]
14235         * resolv/gethnamaddr.c (getanswer): Skip logging if
14236         RES_USE_DNSSEC is set.
14237         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14239 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14241         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14243 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
14245         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14246         201304L, for Unicode 7.
14248 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
14250         [BZ #17836]
14251         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14252         shared library.  Add gmon-start.os otherwise.
14253         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14254         $(objpfx)gmon-start.os if builing shared library.
14255         ($(objpfx)g$(static-start-installed-name)): Likewise.
14257 2015-02-23  Andreas Schwab  <schwab@suse.de>
14259         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14261 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14263         [BZ #17269]
14264         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14265         (enlarge_userbuf): Likewise.
14267 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
14269         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14270         * math/atest-exp.c (TIMEOUT): Adjust to 200.
14271         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14272         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14274 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
14276         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14277         expression inside statement expression.
14279 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14281         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14282         <sysdeps/nptl/lowlevellock.h> and remove macros and
14283         functions that are now defined there.
14284         (SYS_futex): Remove.
14285         (lll_compare_and_swap): Remove.
14286         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14288 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
14290         [BZ #17999]
14291         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14292         instead of scandirat.
14293         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14294         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14295         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14296         __scandirat.
14297         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14298         (__scandirat): Declare.  Use libc_hidden_proto.
14299         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14300         Remove variable.
14301         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14303 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14305         [BZ #15319]
14306         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14307         (MO): New macro.
14308         (__ieee754_atan2): For results with small absolute value, force
14309         underflow exception and remove excess range and precision from
14310         return value.
14311         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14312         (MO): New macro.
14313         (__ieee754_atan2f): For results with small absolute value, force
14314         underflow exception and remove excess range and precision from
14315         return value.
14316         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14317         (MO): New macro.
14318         (__atan): For results with small absolute value, force underflow
14319         exception and remove excess range and precision from return value.
14320         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14321         (MO): New macro.
14322         (__atanf): For results with small absolute value, force underflow
14323         exception and remove excess range and precision from return value.
14324         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14325         <math.h>.
14326         (__ieee754_atan2): Force underflow exception for results with
14327         small absolute value.
14328         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14329         <math_private.h>.
14330         (atan): Force underflow exception for results with small absolute
14331         value.
14332         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14333         (__atanf): Force underflow exception for results with small
14334         absolute value.
14335         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14336         <math.h>.
14337         (__atanl): Force underflow exception for results with small
14338         absolute value.
14339         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14340         (__atanl): Force underflow exception for results with small
14341         absolute value.
14342         * sysdeps/x86/fpu/bits/mathinline.h
14343         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14344         (__ieee754_atan2): Only define inline for long double.
14345         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14346         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14347         * math/auto-libm-test-in: Do not mark underflow exceptions as
14348         possibly missing for bug 15319.  Add more tests of atan2.
14349         * math/auto-libm-test-out: Regenerated.
14350         * math/libm-test.inc (casin_test_data): Do not mark underflow
14351         exceptions as possibly missing for bug 15319.
14352         (casinh_test_data): Likewise.
14353         * sysdeps/i386/fpu/libm-test-ulps: Update.
14355 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
14357         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14358         * sysdeps/mips/bits/endian.h: Fix comments.
14360 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14362         [BZ #17996]
14363         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14364         (hdestroy_r): Likewise.
14365         (hsearch_r): Likewise.
14366         (__hcreate_r): Declare and use libc_hidden_proto.
14367         (__hdestroy_r): Likewise.
14368         (__hsearch_r): Likewise.
14369         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14370         (hcreate): Call __hcreate_r instead of hcreate_r.
14371         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14372         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14373         as weak alias of __hcreate_r.
14374         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14375         __hdestroy_r.
14376         (hsearch_r): Rename to __hsearch_r and define as weak alias of
14377         __hsearch_r.
14378         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14379         Remove variable.
14380         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14381         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14382         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14383         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14385 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14387         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14388         arena_lock into a single arena_get.
14390 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
14392         * dl-reloc.c: Inlucde libc-internal.h.
14393         (_dl_try_allocate_static_tls): Call ALIGN_UP.
14394         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14395         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14396         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14397         (grow_heap): Likewise.
14398         * malloc/malloc.c: Include libc-internal.h.
14399         (do_check_malloc): Call powerof2.
14400         (sysmalloc): Use pagesize. Call ALIGN_UP.
14401         (systrim): Use pagesize.
14402         (mremap_chunk): Use pagesize. Call ALIGN_UP.
14403         (__libc_valloc): Use pagesize.
14404         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14406 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14408         [BZ #17991]
14409         * include/sys/resource.h (__getrlimit64): Declare.  Use
14410         libc_hidden_proto.
14411         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14412         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
14413         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14414         getrlimit64.
14415         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14416         __getrlimit64.
14417         [!getrlimit64] (getrlimit64): Define as weak alias of
14418         __getrlimit64.  Use libc_hidden_weak.
14419         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14420         using __getrlimit64 not __new_getrlimit64.
14421         (__GI_getrlimit64): Likewise.
14422         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14423         Likewise.
14424         (__GI_getrlimit64): Likewise.
14425         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14427         (getrlimit): Add __getrlimit64 alias.
14428         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14429         Likewise.
14430         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14431         Remove variable.
14432         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14433         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14435 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14437         * libio/fileops.c: Add missing sys/mman.h
14438         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14440 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14442         * manual/math.texi (Errors in Math Functions): Clarify goals
14443         regarding inexact and underflow exceptions.
14445 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14447         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14448         * sysdeps/mips/memset.S: Ditto.
14450 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14452         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14454 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14456         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14457         (__v1longjmp): Remove versioned symbol.
14458         (__v1siglongjmp): Remove alias and versioned symbol.
14459         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14460         (__v2siglongjmp): Likewise.
14462 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14464         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14466 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
14468         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14470 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14472         [BZ #17987]
14473         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14474         zero result does not depend on the sign resulting from
14475         subtraction.
14476         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14477         Likewise.
14478         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14479         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14480         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14481         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14482         * math/libm-test.inc (remquo_test_data): Add more tests.
14484 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
14486         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14487         Problem reported by J William Piggott.
14489 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14491         [BZ #17978]
14492         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14493         products 4 * y and 2 * y where those would overflow.
14494         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14495         Likewise.
14496         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14497         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14498         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14499         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14500         * math/libm-test.inc (remquo_test_data): Add more tests.
14502         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14504         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14505         [defined _COMPILING_NEWLIB].
14506         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14507         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14509         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14510         [!defined __mips_isa_rev || __mips_isa_rev < 6].
14512 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14514         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
14515         acquired.
14517 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
14519         [BZ #17792]
14520         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
14521         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
14522         HOST_STACK_END_ADDR): Likewise.
14524 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
14526         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
14527         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
14528         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
14530 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14532         * sysdeps/generic/c++-types.data: New file.
14533         * sysdeps/generic/ld.abilist: New file.
14534         * sysdeps/generic/libBrokenLocale.abilist: New file.
14535         * sysdeps/generic/libanl.abilist: New file.
14536         * sysdeps/generic/libc.abilist: New file.
14537         * sysdeps/generic/libcrypt.abilist: New file.
14538         * sysdeps/generic/libdl.abilist: New file.
14539         * sysdeps/generic/libm.abilist: New file.
14540         * sysdeps/generic/libpthread.abilist: New file.
14541         * sysdeps/generic/libresolv.abilist: New file.
14542         * sysdeps/generic/librt.abilist: New file.
14544 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14546         [BZ #17569]
14547         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14548         Compute absolute value of x as modified by fmod, not original
14549         value of x.
14550         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
14551         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
14552         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
14553         RUN_TEST_ffI_f1_mod8.
14554         (remquo_test_data): Add more tests.
14556 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14558         * sysdeps/init_array/pt-crti.S: New file.
14560 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14562         [BZ #17967]
14563         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
14564         __builtin_fmaf instead of relying on contraction of a * b + c.
14566 2015-02-12  J William Piggott  <elseifthen@gmx.com>
14568         [BZ #17969]
14569         * manual/time.texi: correct the zoneinfo path in the TZ Variable
14570         node.
14572 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14574         [BZ #17964]
14575         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
14576         __builtin_fma instead of relying on contraction of a * b + c.
14578 2015-02-12  Roland McGrath  <roland@hack.frob.com>
14580         * Makeconfig (ASFLAGS): Add -Werror=undef.
14581         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
14582         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
14583         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14585         * Makeconfig (after-link): New variable.
14586         (+link-pie, +link-pie-tests): Use it.
14587         (+link-static, +link-static-tests): Likewise.
14588         (+link, +link-tests): Likewise.
14589         * Makerules (build-module, build-module-asneeded): Likewise.
14590         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14591         Likewise.
14592         * elf/Makefile ($(objpfx)ld.so): Likewise.
14594 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
14596         [BZ #17965]
14597         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14598         both struct timeval and struct timespec.
14600 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14602         [BZ #16560]
14603         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14604         and redefine.
14605         (__ieee754_exp2l): Do not multiply small fractional parts by
14606         M_LN2l.
14607         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14608         small argument.
14609         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14610         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14611         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14612         * math/auto-libm-test-in: Add more tests of exp2.
14613         * math/auto-libm-test-out: Regenerated.
14615 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14617         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14618         unaligned path.
14620 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14622         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14623         little endian.
14625 2015-02-12  Andreas Schwab  <schwab@suse.de>
14627         [BZ #15790]
14628         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14629         Filter out elision flags from value returned in kind.
14630         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14631         * nptl/tst-pthread-mutexattr.c: New file.
14633 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14635         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14636         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14637         into gnu-gnu, and update comment to refer to abi-tags.
14639 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
14641         [BZ #15467]
14642         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
14643         (__sincos): Set errno to EDOM for infinite argument.
14644         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
14645         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
14646         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
14647         (__sincosl): Set errno to EDOM for infinite argument.
14648         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
14649         (__sincosl): Set errno to EDOM for infinite argument.
14650         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
14651         (__sincosl): Set errno to EDOM for infinite argument.
14652         * math/libm-test.inc (sincos_test_data): Test errno setting.
14654 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
14656         * string/strxfrm_l.c: Remove #define STRCMP.
14657         * string/strcoll_l.c: Remove #define STRLEN.
14658         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
14659         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
14661 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
14663         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
14664         * sysdeps/mips/mips32/sfp-machine.h: ... here.
14665         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
14666         * sysdeps/mips/mips64/Makefile: ... here.
14667         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
14668         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
14669         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
14670         * sysdeps/mips/mips64/sfp-machine.h: ... here.
14671         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
14672         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
14673         * sysdeps/mips/mips64/n64/Implies: Likewise.
14675 2015-02-10  Roland McGrath  <roland@hack.frob.com>
14677         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
14678         <sys/time.h>, <string.h>, and <errno.h>.
14679         (dest_offset, dest_address, value, zero): Remove unused variables.
14680         (ldouble): Remove typedef.
14681         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
14682         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
14683         1).  Fix code style.
14684         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
14685         (check): Function removed.
14686         (CHECK): New macro.
14687         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
14688         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
14689         Don't call set_sigaction_FP and remove_sigaction_FP here.
14690         (ldouble_test): Just use 'long double' as macro argument, no need for
14691         the 'ldouble' typedef.
14692         (do_test): Set up SIGFPE handler at start, using plain signal rather
14693         than sigaction.  Fix code style.
14695 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
14697         [BZ #17949]
14698         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
14699         jump label.
14701 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14703         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14704         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14706         * sysdeps/powerpc/configure.ac: Remove file.
14707         * sysdeps/powerpc/configure: Likewise.
14709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14710         [sysdep_routines]: Remove wordcopy-power6 object.
14711         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14712         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14713         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14714         (__memmove_ppc32): Likewise.
14715         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14716         file.
14717         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14718         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14719         Remove preprocessor.
14721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14722         [sysdep_routines]: Remove wide chars objects.
14723         [wcsmbs]: New rule for wide char objects.
14725         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14726         Remove wordcopy-power6 obejct.
14727         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14728         Use local call for wordcopy and memcpy symbols.
14729         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14730         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14731         implementation for loader.
14732         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14734         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14735         Remove wordcopy-power7 object.
14736         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14737         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14738         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14739         (_wordcopy_fwd_dest_aligned): Likewise.
14740         (_wordcopy_bwd_aligned): Likewise.
14741         (_wordcopy_bwd_dest_aligned): Likewise.
14743         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14744         Rewrite to call __memmove_ppc instead of include default
14745         implementation.
14747         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14748         Remove wide chars objects.
14749         [wcsmbs]: New rule for wide char objects.
14751 2015-02-09  Andreas Schwab  <schwab@suse.de>
14753         [BZ #17912]
14754         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14755         in terms of __O_DIRECTORY.
14757 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14759         * time/getdate.c: Include <stdbool.h>.
14760         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14761         call PTR_MANGLE.
14762         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14763         PTR_DEMANGLE.
14765 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14767         Add ersatz _Static_assert on older C hosts
14768         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14769         pre-C11 C platform that is not known to support _Static_assert.
14771 2015-02-07  Richard Braun  <rbraun@sceen.net>
14773         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14774         sigstate.
14775         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14777 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14779         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14780         priority against unexistent AIO_PRIO_DELTA_MAX.
14781         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14782         instead of int.
14783         * misc/fchflags.c (fchflags): Likewise.
14784         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14785         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14786         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14787         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14788         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14789         Declare macros.
14790         [__USE_MISC] (chflags, fchflags): Declare functions.
14791         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14792         EINVAL when nfds is greater than FD_SETSIZE.
14793         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14794         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14795         45.
14796         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14797         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14798         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14799         MACH_RCV_TIMED_OUT.
14800         * hurd/hurd/signal.h (_hurd_self_sigstate,
14801         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14802         Explicit casts from void *.
14803         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14804         * abi-tags: Rename gnu-gnu os into gnu.
14806         [BZ #4719]
14807         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14808         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14809         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14810         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14811         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14812         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14814         [BZ #17944]
14815         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14816         duplicates ADDR->sun_path with sockaddr LEN limitation.
14817         * sysdeps/mach/hurd/connect.c: Include <string.h>
14818         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14819         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14820         * sysdeps/mach/hurd/sendto.c: Likewise.
14821         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14822         implementing it by hand.
14824 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14826         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14827         Use sfi_breg on ldr.
14828         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14829         Likewise.
14831         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14832         it's defined.
14833         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14834         Test SIGSETXID only if it's defined.
14836         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14838         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14839         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14841         * nptl/tst-align2.c: Moved ...
14842         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14843         * nptl/Makefile (tests): Remove tst-align2.
14844         * sysdeps/unix/sysv/linux/Makefile
14845         [$(subdir) = nptl] (tests): Add tst-align-clone.
14846         * nptl/tst-getpid1.c: Moved ...
14847         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14848         * nptl/tst-getpid2.c: Moved ...
14849         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14850         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14851         * sysdeps/unix/sysv/linux/Makefile
14852         [$(subdir) = nptl] (tests): ... here.
14853         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14854         * sysdeps/unix/sysv/linux/Makefile
14855         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14857         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14858         Drop trailing \n from perror argument.  Use return rather than exit.
14860         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14861         on [SA_SIGINFO].
14862         * nptl/tst-cancel21.c (do_test): Likewise.
14863         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14864         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14865         [!SA_SIGINFO]: Make it a stub test.
14867         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14868         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14870         * posix/tst-getlogin.c: Move to ...
14871         * login/tst-getlogin.c: ... here.
14872         * posix/Makefile (tests): Move tst-getlogin to ...
14873         * login/Makefile (tests): ... here.
14875         * libio/tst-atime.c (do_test): Move local variables SV and E
14876         inside [ST_NOATIME] conditional.
14878         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14880         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14882         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14883         (wait_code): New function replaces macro.
14884         Call nanosleep rather than syscall.
14886         * nptl/pt-system.c: Rewritten.  Put everything under
14887         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14888         Use IFUNC to redirect when possible.
14890         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14891         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14892         Use IFUNC to redirect when possible.
14894         * nptl/pt-fork.c: Rewritten.  Put everything under
14895         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14896         Use IFUNC to redirect when possible.
14897         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14899         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14900         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14901         unconditionally nowadays.  This included the only reference to
14902         __vdso_clock_gettime that appears outside libc proper.
14903         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14904         Remove version set (containing only __vdso_clock_gettime).
14905         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14906         Add attribute_hidden.
14907         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14908         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14909         libc_hidden_data_def.
14910         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14911         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14913         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14914         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14915         setrpcent, and getrpcport to ...
14916         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14917         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14918         getrpcbynumber_r, and getrpcent_r to ...
14919         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14920         * inet/getrpcbyname.c: Moved ...
14921         * sunrpc/getrpcbyname.c: ... here.
14922         * inet/getrpcbyname_r.c: Moved ...
14923         * sunrpc/getrpcbyname_r.c: ... here.
14924         * inet/getrpcbynumber.c: Moved ...
14925         * sunrpc/getrpcbynumber.c: ... here.
14926         * inet/getrpcbynumber_r.c: Moved ...
14927         * sunrpc/getrpcbynumber_r.c: ... here.
14928         * inet/getrpcent.c: Moved ...
14929         * sunrpc/getrpcent.c: ... here.
14930         * inet/getrpcent_r.c: Moved ...
14931         * sunrpc/getrpcent_r.c: ... here.
14932         * inet/Makefile (routines): Move those to ...
14933         * sunrpc/Makefile (routines): ... here.
14934         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14935         the $(subdirs) list.
14936         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14937         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14938         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14939         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14941         * elf/Makefile (routines): Include $(all-dl-routines), not just
14942         $(dl-routines).
14943         (rtld-routines): Likewise.  Use = rather than :=.
14944         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14945         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14946         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14947         * sysdeps/arm/Makefile: Likewise.
14948         * sysdeps/i386/Makefile: Likewise.
14949         * sysdeps/x86_64/Makefile: Likewise.
14950         * sysdeps/hppa/Makefile [$(subdir) = elf]
14951         (sysdep_routines, sysdep-rtld-routines): Don't add
14952         $(sysdep-dl-routines) to these.
14953         * sysdeps/ia64/Makefile: Likewise.
14954         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14955         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14956         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14957         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14958         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14959         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14960         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14961         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14962         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14963         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14964         these; sysdep-dl-routines alone is enough.
14966 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14968         [BZ #17932]
14969         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14970         where multiplication results in zero and third argument is finite
14971         and nonzero.
14972         * math/auto-libm-test-in: Add more tests of fma.
14973         * math/auto-libm-test-out: Regenerated.
14975         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14976         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14977         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14978         (_FP_CMP_EQ): Likewise.
14979         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14981         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14982         extra argument CHECK_NAN.  Redefine as wrapper around
14983         _FP_EXTEND_CNAN.
14985 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14987         * version.h (RELEASE): Set to "stable".
14988         (VERSION): Set to "2.21"
14989         * include/features.h (__GLIBC_MINOR__): Set to 21.
14991         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14993 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14994             Paul Eggert  <eggert@cs.ucla.edu>
14996         [BZ #16618]
14997         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14998         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14999         size in bytes. Store needed elements in wpmax. Use needed size
15000         in bytes for extend_alloca.
15002 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15004         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15005         binutls 2.25, and texinfo 5.2.
15006         * INSTALL: Regenerate.
15007         * sysdeps/nios2/configure: Regenerate.
15008         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15009         * manual/contrib.texi: Update.
15010         * po/be.po: Update.
15011         * po/bg.po: Update.
15012         * po/ca.po: Update.
15013         * po/cs.po: Update.
15014         * po/da.po: Update.
15015         * po/de.po: Update.
15016         * po/el.po: Update.
15017         * po/eo.po: Update.
15018         * po/es.po: Update.
15019         * po/fi.po: Update.
15020         * po/fr.po: Update.
15021         * po/gl.po: Update.
15022         * po/hr.po: Update.
15023         * po/hu.po: Update.
15024         * po/ia.po: Update.
15025         * po/id.po: Update.
15026         * po/it.po: Update.
15027         * po/ja.po: Update.
15028         * po/ko.po: Update.
15029         * po/lt.po: Update.
15030         * po/nb.po: Update.
15031         * po/nl.po: Update.
15032         * po/pl.po: Update.
15033         * po/pt_BR.po: Update.
15034         * po/ru.po: Update.
15035         * po/rw.po: Update.
15036         * po/sk.po: Update.
15037         * po/sl.po: Update.
15038         * po/sv.po: Update.
15039         * po/tr.po: Update.
15040         * po/uk.po: Update.
15041         * po/vi.po: Update.
15042         * po/zh_CN.po: Update.
15043         * po/zh_TW.po: Update.
15045         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15046         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15047         * sysdeps/hppa/dl-irel.h: Remove #warning.
15048         * sysdeps/hppa/entry.h: Provide prototype for
15049         __canonicalize_funcptr_for_compare and cast argument.
15050         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15051         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15052         * sysdeps/hppa/sotruss-lib.c: New file.
15053         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15054         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15055         (atomic_compare_and_exchange_bool_acq): Likewise.
15056         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15057         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15059         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15060         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15061         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15063 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15065         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15066         called function in non-PIC case.
15068 2015-01-31  David S. Miller  <davem@davemloft.net>
15070         * sysdeps/sparc/sparc32/bits/atomic.h
15071         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15072         unlock not after it.
15073         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15074         volatile register usage warnings from the compiler.
15076         * sysdeps/sparc/nptl/sem_init.c: Delete.
15077         * sysdeps/sparc/nptl/sem_post.c: Delete.
15078         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15079         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15080         * sysdeps/sparc/sparc32/sem_init.c: New file.
15081         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15082         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15083         padding explicitly initialized.
15084         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15085         padding for in-semaphore spinlock.
15086         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15087         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15088         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15089         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15090         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15091         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15092         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15093         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15094         version.
15095         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15096         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15098 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15100         [BZ #17801]
15101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15102         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15103         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15104         New.
15105         (index_AVX_Fast_Unaligned_Load): Likewise.
15106         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15107         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15108         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15109         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15110         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15111         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15112         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15113         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15114         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15116 2015-01-29  Andreas Schwab  <schwab@suse.de>
15118         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15120 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15122         [BZ #17892]
15123         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15125 2015-01-28  Martin Sebor  <msebor@redhat.com>
15127         * math/README.libm-test: Clarify. Add "How to read the test output."
15129 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15131         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15132         Define to 0.
15134 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15136         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15137         (__HAVE_64B_ATOMICS): Define to 0.
15139 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15141         [BZ #17885]
15142         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15143         value to set as new flag.
15145         [BZ #16576]
15146         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15147         and use _ARCH_PPCSQ instead.
15148         (__ieee754_sqrt): Likewise.
15149         (__ieee754_sqrtf): Likewise.
15150         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15151         _ARCH_PPCSQ is defined.
15152         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15153         fsqrt instruction.
15154         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15155         _ARCH_PPCSQ is defined.
15156         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15157         fsqrts instruction.
15158         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15160 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15162         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15163         bug (GCC BZ #64739).
15165 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15167         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15168         Mark _retval as used.
15169         (lll_futex_wake_unlock): Likewise.
15170         (lll_futex_timed_wait_requeue_pi): Likewise.
15172         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15173         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15174         register variables.
15176         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15177         libm_hidden_def.
15179         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15180         (__bswap_64): Mark as __always_inline.
15182 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15184         [BZ #15378]
15185         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15186         when none of the search directories exist.
15188 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15190         [BZ #17869]
15191         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15192         power8 in .machine directive.
15194         [BZ #17868]
15195         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15196         set dependency from opd value.
15198 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15201         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15202         architecture.
15204 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15206         [BZ #17870]
15207         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15208         with uint64_t.
15209         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15210         (uint64_t) 1.
15211         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15212         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15213         Replace 1UL with (uint64_t) 1.
15214         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15215         int with uint64_t.
15217 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15219         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15220         (if_freenameindex): Likewise.
15222         * resource/getrlimit64.c: Add missing libc_hidden_def.
15224 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
15226         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15227         __label__.
15228         (_FP_FMA): Likewise.
15229         (_FP_TO_INT_ROUND): Likewise.
15230         (_FP_FROM_INT): Likewise.
15232 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15234         [BZ #16418]
15235         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15236         Make code racy and cancel safe.
15238 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
15240         * sysdeps/arm/unwind-resume.h: Fix copyright year.
15241         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15242         attribution.
15244         * pwd/tst-getpw.c: Rewrite.
15246         [BZ #17702]
15247         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15248         (modules-names): Add moddummy1 and moddummy2.
15249         ($(objpfx)tst-rec-dlopen): Define.
15250         * dlfcn/moddummy1.c: New file.
15251         * dlfcn/moddummy2.c: New file.
15252         * dlfcn/tst-rec-dlopen.c: New file.
15253         * elf/dl-cache.c (_dl_load_cache_lookup):
15254         Return char*. Copy result with alloca/strcpy/strdup.
15255         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15256         returns char*. Free cached. If not saving realname
15257         free cached.
15258         * elf/dl-open.c (dl_open_worker): Do not assert that
15259         _r_debug->r_state is RT_CONSISTENT.
15260         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15261         returns char*.
15263 2015-01-21  Torvald Riegel  <triegel@redhat.com>
15264             Carlos O'Donell  <carlos@redhat.com>
15266         [BZ #12674]
15267         * nptl/sem_waitcommon.c: New file.
15268         * nptl/sem_wait.c: Include sem_waitcommon.c.
15269         (__sem_wait_cleanup, do_futex_wait): Remove.
15270         (__new_sem_wait): Adapt.
15271         (__new_sem_trywait): New function.
15272         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15273         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15274         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15275         (sem_timedwait): Adapt.
15276         * nptl/sem_post.c (__new_sem_post): Adapt.
15277         (futex_wake): New function.
15278         (__old_sem_post): Add release MO fence.
15279         * nptl/sem_open.c (sem_open): Adapt.
15280         * nptl/sem_init.c (__new_sem_init): Adapt.
15281         (futex_private_if_supported): New function.
15282         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15283         (__old_sem_getvalue): Add using previous code.
15284         * sysdeps/nptl/internaltypes.h: Adapt.
15285         * nptl/tst-sem13.c (do_test): Adapt.
15286         * nptl/tst-sem11.c (main): Adapt.
15287         * nptl/sem_trywait.c: Remove.
15288         * nptl/DESIGN-sem.txt: Remove.
15289         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15290         (gen-as-const-headers): Remove structsem.sym.
15291         * nptl/structsem.sym: Remove.
15292         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15293         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15294         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15295         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15296         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15297         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15298         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15299         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15300         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15301         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15302         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15303         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15304         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15305         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15306         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15307         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15308         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15309         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15310         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15311         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15312         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15313         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15315 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
15317         * INSTALL: Regenerated.
15319         * po/libc.pot: Regenerated.
15321 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
15322             Sandra Loosemore  <sandra@codesourcery.com>
15323             Andrew Jenner  <andrew@codesourcery.com>
15324             Joseph Myers  <joseph@codesourcery.com>
15325             Nathan Sidwell  <nathan@codesourcery.com>
15327         * NEWS: Mention new Nios II port.
15328         * sysdeps/nios2/Implies: New file.
15329         * sysdeps/nios2/Makefile: New file.
15330         * sysdeps/nios2/Subdirs: New file.
15331         * sysdeps/nios2/Versions: New file.
15332         * sysdeps/nios2/__longjmp.S: New file.
15333         * sysdeps/nios2/abort-instr.h: New file.
15334         * sysdeps/nios2/backtrace.c: New file.
15335         * sysdeps/nios2/bits/endian.h: New file.
15336         * sysdeps/nios2/bits/fenv.h: New file.
15337         * sysdeps/nios2/bits/link.h: New file.
15338         * sysdeps/nios2/bits/setjmp.h: New file.
15339         * sysdeps/nios2/bsd-_setjmp.S: New file.
15340         * sysdeps/nios2/bsd-setjmp.S: New file.
15341         * sysdeps/nios2/configure: New generated file.
15342         * sysdeps/nios2/configure.ac: New file.
15343         * sysdeps/nios2/crti.S: New file.
15344         * sysdeps/nios2/crtn.S: New file.
15345         * sysdeps/nios2/dl-init.c: New file.
15346         * sysdeps/nios2/dl-machine.h: New file.
15347         * sysdeps/nios2/dl-sysdep.h: New file.
15348         * sysdeps/nios2/dl-tls.h: New file.
15349         * sysdeps/nios2/dl-trampoline.S: New file.
15350         * sysdeps/nios2/gccframe.h: New file.
15351         * sysdeps/nios2/gmp-mparam.h: New file.
15352         * sysdeps/nios2/jmpbuf-offsets.h: New file.
15353         * sysdeps/nios2/jmpbuf-unwind.h: New file.
15354         * sysdeps/nios2/ldsodefs.h: New file.
15355         * sysdeps/nios2/libc-tls.c: New file.
15356         * sysdeps/nios2/libm-test-ulps: New file.
15357         * sysdeps/nios2/machine-gmon.h: New file.
15358         * sysdeps/nios2/math-tests.h: New file.
15359         * sysdeps/nios2/math_private.h: New file.
15360         * sysdeps/nios2/memusage.h: New file.
15361         * sysdeps/nios2/nptl/Makefile: New file.
15362         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15363         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15364         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15365         * sysdeps/nios2/nptl/pthreaddef.h: New file.
15366         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15367         * sysdeps/nios2/nptl/tls.h: New file.
15368         * sysdeps/nios2/preconfigure: New file.
15369         * sysdeps/nios2/s_fma.c: New file.
15370         * sysdeps/nios2/s_fmaf.c: New file.
15371         * sysdeps/nios2/setjmp.S: New file.
15372         * sysdeps/nios2/sfp-machine.h: New file.
15373         * sysdeps/nios2/sotruss-lib.c: New file.
15374         * sysdeps/nios2/stackguard-macros.h: New file.
15375         * sysdeps/nios2/stackinfo.h: New file.
15376         * sysdeps/nios2/start.S: New file.
15377         * sysdeps/nios2/sysdep.h: New file.
15378         * sysdeps/nios2/tls-macros.h: New file.
15379         * sysdeps/nios2/tst-audit.h: New file.
15380         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15381         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15382         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15383         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15384         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15385         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15386         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15387         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15388         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15389         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15390         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15391         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15392         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15393         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15394         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15395         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15396         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15397         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15398         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15399         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15400         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15401         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15402         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15403         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15404         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15405         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15406         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15407         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15408         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15409         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15410         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15411         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15412         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15413         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15414         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15415         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15416         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15417         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15418         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15419         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15420         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15421         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15422         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15423         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15425 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15427         [BZ #17844]
15428         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15429         (getutent): Use weak_alias in non SHARED case
15430         and default_symbol_version in SHARED case.
15431         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15432         (getutent_r, pututline): Likewise.
15433         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15434         (getutid): Likewise.
15435         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15436         (getutid_r): Likewise.
15437         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15438         (getutline): Likewise.
15439         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15440         (getutline_r): Likewise.
15441         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15442         (updwtmp): Likewise.
15444 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15446         [BZ #17848]
15447         * sysdeps/s390/s390-32/memcmp.S
15448         (memcmp_g5): Rename to __memcmp_g5.
15449         * sysdeps/s390/s390-32/memcpy.S
15450         (memcpy_g5): Rename to __memcpy_g5.
15451         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15452         (memcpy_mvcle) Rename to __memcpy_mvcle.
15453         * sysdeps/s390/s390-32/memset.S
15454         (memset_g5): Rename to __memset_g5.
15455         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15456         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15457         and use prefixed functions.
15458         * sysdeps/s390/s390-32/multiarch/memcmp.S
15459         (memcmp_z196): Rename to __memcmp_z196.
15460         (memcmp_z10): Rename to __memcmp_z10.
15461         (memcmp): Set alias to __memcmp_g5.
15462         (bcmp): Set alias to __memcmp_g5.
15463         * sysdeps/s390/s390-32/multiarch/memcpy.S
15464         (memcpy_z196): Rename to __memcpy_z196.
15465         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15466         (memcpy_z10): Rename to __memcpy_z10.
15467         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15468         (memcpy): Set alias to __memcpy_g5.
15469         * sysdeps/s390/s390-32/multiarch/memset.S
15470         (memset_z196): Rename to __memset_z196.
15471         Jump to __memset_mvcle instead of memset_mvcle.
15472         (memset_z10): Rename to __memset_z10.
15473         Jump to __memset_mvcle instead of memset_mvcle.
15474         (memset_mvcle) Rename to __memset_mvcle.
15475         (memset): Set alias to __memset_g5.
15476         * sysdeps/s390/s390-64/memcmp.S
15477         (memcmp_z900): Rename to __memcmp_z900.
15478         * sysdeps/s390/s390-64/memcpy.S
15479         (memcpy_z900): Rename to __memcpy_z900.
15480         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15481         (memcpy_mvcle) Rename to __memcpy_mvcle.
15482         * sysdeps/s390/s390-64/memset.S
15483         (memset_z900): Rename to __memset_z900.
15484         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15485         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15486         and use prefixed functions.
15487         * sysdeps/s390/s390-64/multiarch/memcmp.S
15488         (memcmp_z196): Rename to __memcmp_z196.
15489         (memcmp_z10): Rename to __memcmp_z10.
15490         (memcmp): Set alias to __memcmp_z900.
15491         (bcmp): Set alias to __memcmp_z900.
15492         * sysdeps/s390/s390-64/multiarch/memcpy.S
15493         (memcpy_z196): Rename to __memcpy_z196.
15494         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15495         (memcpy_z10): Rename to __memcpy_z10.
15496         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15497         (memcpy): Set alias to __memcpy_z900.
15498         * sysdeps/s390/s390-64/multiarch/memset.S
15499         (memset_z196): Rename to __memset_z196.
15500         Jump to __memset_mvcle instead of memset_mvcle.
15501         (memset_z10): Rename to __memset_z10.
15502         Jump to __memset_mvcle instead of memset_mvcle.
15503         (memset_mvcle) Rename to __memset_mvcle.
15504         (memset): Set alias to __memset_z900.
15506 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
15508         [BZ #17748]
15509         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15510         __fesetenv instead of fesetenv.
15512 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15514         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
15515         macro.
15517 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15519         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
15520         regression on LE.
15522         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
15523         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
15524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15525         strncmp-power8 object.
15526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15527         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
15528         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
15529         * NEWS: Update.
15531 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15532             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15534         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
15535         trailing byte check.
15537 2015-01-13  David S. Miller  <davem@davemloft.net>
15539         * include/signal.h (__sigreturn): Guard with __USE_MISC.
15541 2015-01-13  Roland McGrath  <roland@hack.frob.com>
15543         * login/logout.c (logout): Use memset rather than bzero.
15544         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15545         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
15546         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
15547         (_gethtbyaddr): Likewise.
15548         * locale/programs/simple-hash.c (bcopy): Macro removed.
15550 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15552         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15553         Add strcmp-power8 object.
15554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15555         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
15556         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
15557         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
15558         __strcmp_power8 implementation.
15559         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
15560         * NEWS: Update.
15562         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15563         Add strncpy-power8 and stpncpy-power8 objects.
15564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15565         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
15566         implementations.
15567         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
15568         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
15569         __stpncpy_power8 implementation.
15570         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
15571         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
15572         __strncpy_power8 implementation.
15573         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15574         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
15575         * NEWS: Update.
15577         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
15578         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
15579         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
15581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15582         strncat-power8 object.
15583         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
15584         __strcat_power8 implementation.
15585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15586         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15587         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15588         optimized strcat for power8.
15590         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15591         strcpy-power8 and stpcpy-power8 objects.
15592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15593         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15594         implementations.
15595         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15596         multiarch stpcpy implementation for POWER8.
15597         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15598         multiarch strcpy implementation for POWER8.
15599         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15600         __strcpy_power8 function.
15601         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15602         stpcpy for POWER8.
15603         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15604         strcpy for POWER8.
15605         * NEWS: Update.
15607 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
15609         [BZ #16009]
15610         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15611         weights and rules. Use do_xfrm_cached if data fits in cache,
15612         do_xfrm otherwise.  Moved former main loop to...
15613         * (do_xfrm_cached): New function.
15614         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15615         find_idx, find_position and stack_push.
15616         * (find_idx): New function.
15617         * (find_position): Likewise.
15618         * localedata/sort-test.sh: Added test run for do_xfrm.
15619         * localedata/xfrm-test.c (main): Added command line option
15620         -nocache to run the test with strings that are too large for
15621         the STRXFRM cache.
15623 2015-01-13  Torvald Riegel  <triegel@redhat.com>
15625         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15626         variable to lll_futex_wake call, not the value itself.
15628 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
15630         [BZ #17803]
15631         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15632         twom64.  Adjust value to 0x1p-64L.
15633         (__scalblnl): Only return standard underflowing result for K <=
15634         -64 not K <= -63; adjust exponent for underflowing result by 64
15635         not 63.
15636         * math/libm-test.inc (scalbn_test_data): Add more tests.
15637         (scalbln_test_data): Likewise.
15639         [BZ #17834]
15640         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15641         0x1p63L.
15642         (__scalblnl): Get new exponent of adjusted subnormal value from ES
15643         not HX.
15644         * math/libm-test.inc (scalbn_test_data): Add more tests.
15645         (scalbln_test_data): Likewise.
15647 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15648             Stefani Seibold  <stefani@seibold.net>
15650         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15651         (sysdep_routines): Add dl-vdso here, ...
15652         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
15653         (sysdep_routines): ... not here.
15654         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
15655         fallback when vDSO is not presented.
15656         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15657         Define with libc_hidden_proto/libc_hidden_data_def definitions.
15658         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
15659         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
15660         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15661         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
15662         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
15663         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
15664         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
15665         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
15666         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
15667         fallback configurable symbol when vDSO is not available.
15668         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
15669         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
15670         be able to redefine fallback symbol when vDSO is not available.
15671         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
15672         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
15674 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15676         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
15677         (TLS_INIT_TP): Add tm_capable initialization.
15678         (TLS_DEFINE_INIT_TP): Likewise.
15679         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
15680         TCB.
15681         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
15682         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
15683         calculation.
15684         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
15685         transactoion is lock elision is built and TCB tm_capable is set.
15686         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
15687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15688         (INTERNAL_SYSCALL_NCS): Likewise.
15689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15690         (INTERNAL_SYSCALL_NCS): Likewise.
15691         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
15693         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
15694         for powerpc.
15695         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15696         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
15697         and remove it for 32 bits case.
15698         [pthread_rwlock_t] (__rwelision): New field for lock elision.
15699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15700         initialization.
15701         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15702         Disable lock elision with rdlocks if elision is not available.
15704         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15705         (sysdep_routines): Add lock elision objects.
15706         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15707         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15708         [pthread_mutex_t] (__elision): Add field.
15709         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15710         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15711         elision definitions for powerpc.
15712         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15713         implementation of lock elision for powerpc.
15714         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15715         implementation of timed lock elision for powerpc.
15716         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15717         implementation of trylock with lock elision for powerpc.
15718         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15719         implementaion of unlock for lock elision for powerpc.
15720         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15721         automatic enable lock elision for mutexes.
15722         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15723         transaction execution definitions for powerpc.
15724         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15725         definitions.
15726         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15727         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15728         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15729         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15730         * NEWS: Update.
15732 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15734         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15735         for #include of <shm-directory.h>.
15737 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15739         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15740         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15742 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15744         [BZ #17791]
15745         * NEWS: Mention bug fix.
15746         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15747         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15748         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15750 2015-01-09  Torvald Riegel <triegel@redhat.com>
15752         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15754 2015-01-09  Torvald Riegel <triegel@redhat.com>
15756         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15758 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15760         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15761         pointer and cast to uintptr_t.
15763 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15765         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15766         removed.
15767         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15769 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15771         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15772         of 0.
15774 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15776         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15777         <nptl/pthreadP.h> instead.
15778         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15780         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15781         already defined.
15782         [__SIGRTMIN] (init): Function removed.
15783         [__SIGRTMIN] (initialized): Variable removed.
15784         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15785         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15786         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15787         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15788         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15789         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15790         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15791         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15792         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15793         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15794         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15795         * sysdeps/nptl/allocrtsig.c: New file.
15796         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15797         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15798         * sysdeps/generic/testrtsig.h: File removed.
15800         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15801         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15803         * nptl/nptl-init.c (pthread_functions): Conditionalize
15804         .ptr__nptl_setxid initialization on [SIGSETXID].
15806         * sysdeps/nptl/sys/procfs.h: New file.
15807         * nptl_db/Makefile (headers): Add it.
15808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15810         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15811         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15812         * nptl/pthread_attr_setaffinity.c: Include it.
15813         * nptl/pthread_setattr_default_np.c: Likewise.
15814         * nptl/check-cpuset.h: New file.
15816 2015-01-08  Richard Henderson  <rth@redhat.com>
15818         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15819         (CFLAGS-tst-execstack-prog.c): Likewise.
15820         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15822 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15823             Sandra Loosemore  <sandra@codesourcery.com>
15824             Andrew Jenner  <andrew@codesourcery.com>
15825             Joseph Myers  <joseph@codesourcery.com>
15826             Nathan Sidwell  <nathan@codesourcery.com>
15828         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15829         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15830         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15831         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15832         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15833         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15834         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15835         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15836         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15837         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15838         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15839         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15840         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15841         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15842         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15843         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15844         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15846 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15848         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15849         timespec struct member in syscall macro.
15850         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15851         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15852         first timeval struct member in syscall macro.
15853         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15855 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15857         [BZ #17748]
15858         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15859         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15860         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15861         __feupdateenv and define as weak alias of __feupdateenv.  Use
15862         libm_hidden_weak.
15863         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15864         libm_hidden_def.
15865         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15866         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15867         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15868         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15869         libm_hidden_def.
15870         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15871         __feupdateenv and define as weak alias of __feupdateenv.  Use
15872         libm_hidden_weak.
15873         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15874         libm_hidden_def.
15875         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15876         __feupdateenv and define as weak alias of __feupdateenv.  Use
15877         libm_hidden_weak.
15878         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15879         libm_hidden_def.
15880         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15881         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15882         (__feupdateenv): Likewise.
15883         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15884         __feupdateenv and define as weak alias of __feupdateenv.  Use
15885         libm_hidden_weak.
15886         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15887         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15888         libm_hidden_def.
15889         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15890         function.
15891         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15892         libm_hidden_def.
15893         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15894         __feupdateenv instead of feupdateenv.
15895         (default_libc_feupdateenv_test): Likewise.
15896         (libc_feresetround_ctx): Likewise.
15898 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15900         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15901         prototype.
15903 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15905         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15906         COLL_SYM in a couple of places to avoid uninitialized variable
15907         wanings on tilegx gcc 4.8.2.
15909 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15911         * sysdeps/aarch64/strcpy.S: New file.
15912         * sysdeps/aarch64/stpcpy.S: New file.
15913         * NEWS: Updated.
15915 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15917         * sysdeps/aarch64/strrchr.S: New file.
15918         * NEWS: Updated.
15920 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15922         [BZ #17658]
15923         * stdlib/setenv.c: Fix memory leak when setting large,
15924         duplicate string.
15926 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15928         [BZ #17273]
15929         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15930         and tabs from buffer before parsing fstab entry.
15931         * misc/tst-mntent.c (main): Add test for mount entry with
15932         trailing spaces and tabs.
15934 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15936         [BZ #17748]
15937         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15938         * math/fesetround.c (fesetround): Rename to __fesetround and
15939         define as weak alias of __fesetround.  Use libm_hidden_weak.
15940         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15941         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15942         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15943         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15944         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15945         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15946         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15947         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15948         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15949         __fesetround_inline.
15950         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15951         __fesetround_inline instead of __fesetround.
15952         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15953         __fesetround and define as weak alias of __fesetround.  Use
15954         libm_hidden_weak.  Call __fesetround_inline instead of
15955         __fesetround.
15956         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15957         __fesetround and define as weak alias of __fesetround.  Use
15958         libm_hidden_weak.
15959         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15960         Likewise.
15961         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15962         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15963         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15964         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15965         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15966         __fesetround and define as weak alias of __fesetround.  Use
15967         libm_hidden_weak.
15968         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15969         __fesetround instead of fesetround.
15970         (default_libc_feholdexcept_setround): Likewise.
15971         (libc_feholdsetround_ctx): Likewise.
15972         (libc_feholdsetround_noex_ctx): Likewise.
15974         [BZ #17748]
15975         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15976         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15977         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15978         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15979         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15980         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15981         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15982         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15983         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15984         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15985         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15986         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15987         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15988         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15989         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15990         libm_hidden_def.
15991         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15992         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15993         Likewise.
15994         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15995         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15996         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15997         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15998         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15999         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16000         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16001         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16002         __fesetenv instead of fesetenv.
16003         (libc_feresetround_noex_ctx): Likewise.
16004         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16005         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16006         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16007         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16008         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16009         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16010         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16011         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16012         (__feupdateenv): Likewise.
16013         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16014         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16015         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16016         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16018 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16020         [BZ #17806]
16021         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16022         addresses have been freed.
16024 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16026         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16027         and nservall.
16029 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16031         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16032         Clean up check_pf allocation pattern. addresses
16034 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16036         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16037         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16038         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16039         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16040         * nptl/pthread_join.c (pthread_join): Likewise.
16041         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16042         * sysdeps/posix/waitid.c (__waitid): Likewise.
16043         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16044         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16045         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16046         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16047         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16048         Likewise.
16049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16050         (__libc_pread64): Likewise.
16051         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16052         (__libc_pwrite): Likewise.
16053         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16054         (__libc_pwrite64): Likewsie.
16055         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16056         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16057         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16058         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16059         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16060         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16061         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16063         Likewise.
16064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16065         (__libc_pread64): Likewise.
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16067         Likewise.
16068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16069         (__libc_pwrite64): Likewise.
16070         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16071         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16072         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16073         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16074         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16075         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16076         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16077         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16078         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16079         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16080         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16081         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16082         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16083         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16084         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16085         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16086         Likewise.
16088 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16090         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16091         (CFLAGS-test-double.c): Likewise.
16092         (CFLAGS-test-ldouble.c): Likewise.
16093         (CPPFLAGS-test-ifloat.c): Likewise.
16094         (CPPFLAGS-test-idouble.c): Likewise.
16095         (CPPFLAGS-test-ildoubl.c): Likewise.
16096         (CFLAGS-test-test-fenv.c): Remove variable.
16097         (CFLAGS-test-misc.c): Likewise.
16099 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16101         [BZ #17797]
16102         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16103         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16104         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16105         CLOCKS_PER_SEC == 1000000.
16106         * time/clocktest.c (main): Replace %ld with %jd and cast to
16107         intmax_t.
16109 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16111         * sysdeps/generic/unwind-resume.h: New file.
16112         * sysdeps/gnu/unwind-resume.c: Include it.
16113         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16114         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16115         argument list.
16116         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16117         global rather than static.
16118         (_Unwind_Resume): Update user.
16119         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16120         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16121         rather than static.  Add __attribute__ ((cold)).
16122         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16123         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16124         * sysdeps/arm/arm-unwind-resume.S: New file.
16125         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16126         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16127         * sysdeps/arm/Makefile [$(subdir) = csu]
16128         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16129         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16130         Add rt-arm-unwind-resume.
16131         [$(subdir) = nptl]
16132         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16133         Add pt-arm-unwind-resume.
16134         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16135         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16137 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16139         [BZ #17748]
16140         * include/fenv.h (__feholdexcept): Declare.  Use
16141         libm_hidden_proto.
16142         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16143         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16144         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16145         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16146         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16147         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16148         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16149         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16150         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16151         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16152         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16153         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16154         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16155         (feholdexcept): Likewise.
16156         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16157         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16158         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16159         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16160         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16161         __feholdexcept instead of feholdexcept.
16162         (default_libc_feholdexcept_setround): Likewise.
16164 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16166         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16167         to avoid using stl/str to align destination.
16169 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16171         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16173 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16175         [BZ #17796]
16176         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16177         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16178         Define as weak alias not strong alias.
16180 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16182         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16183         bltzal with addiupc.
16184         (RTLD_START): Ditto.
16186 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16188         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16189         for __vdso_* functions in declarations.
16190         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16191         definitions.
16192         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16193         INTERNAL_VSYSCALL): Use struct return types to check for error.
16195         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16196         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16197         function with cast from llround().
16198         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16199         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16200         Define.
16202 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16204         [BZ #17793]
16205         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16206         Define as weak alias not strong alias.
16208         [BZ #17635]
16209         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16210         ...
16211         * ctype/ctype-extn.c: ... here.
16212         (__isblank_l): Move to ...
16213         * ctype/ctype-c99_l.c: ... here.  New file.
16214         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16215         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16216         Remove variable.
16217         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16218         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16219         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16220         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16221         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16223         [BZ #17777]
16224         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16225         (posix_fadvise64): Define as weak alias not strong alias.
16226         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16227         (posix_fallocate64): Likewise.
16228         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16229         Remove variable.
16230         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16231         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16232         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16233         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16234         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16236 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
16238         [BZ #16191]
16239         * NEWS: Mention bug fix.
16240         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16241         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16242         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16243         (HOST_STACK_END_ADDR): Likewise.
16245 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16247         [BZ #17748]
16248         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
16249         * math/fegetround.c (fegetround): Rename to __fegetround and
16250         define as weak alias of __fegetround.  Use libm_hidden_weak.
16251         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16252         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16253         * sysdeps/arm/fegetround.c (fegetround): Likewise.
16254         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16255         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16256         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16257         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16258         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16259         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16260         Undefine after rather than before function definition; use
16261         parentheses around function name in definition.
16262         (__fegetround): Also undefine macro after function definition.
16263         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16264         __fegetround and define as weak alias of __fegetround.  Use
16265         libm_hidden_weak.  Do not undefine as macro.
16266         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16267         Likewise.
16268         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16269         __fegetround and define as weak alias of __fegetround.  Use
16270         libm_hidden_weak.
16271         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16272         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16273         * sysdeps/tile/math_private.h (__fegetround): New inline function.
16274         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16275         __fegetround and define as weak alias of __fegetround.  Use
16276         libm_hidden_weak.
16277         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16278         __fegetround instead of fegetround.
16280         [BZ #17782]
16281         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16282         Condition macro definition on [__USE_MISC].
16284         [BZ #17781]
16285         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16286         (struct sigaction): Change type of sa_flags field to int.
16288         [BZ #17780]
16289         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16290         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16291         __glibc_reserved0.
16293         * nptl/version.c (banner): Use single year in copyright notice.
16295         * NEWS: Update copyright dates.
16296         * catgets/gencat.c (print_version): Likewise.
16297         * csu/version.c (banner): Likewise.
16298         * debug/catchsegv.sh: Likewise.
16299         * debug/pcprofiledump.c (print_version): Likewise.
16300         * debug/xtrace.sh (do_version): Likewise.
16301         * elf/ldconfig.c (print_version): Likewise.
16302         * elf/ldd.bash.in: Likewise.
16303         * elf/pldd.c (print_version): Likewise.
16304         * elf/sotruss.sh: Likewise.
16305         * elf/sprof.c (print_version): Likewise.
16306         * iconv/iconv_prog.c (print_version): Likewise.
16307         * iconv/iconvconfig.c (print_version): Likewise.
16308         * locale/programs/locale.c (print_version): Likewise.
16309         * locale/programs/localedef.c (print_version): Likewise.
16310         * login/programs/pt_chown.c (print_version): Likewise.
16311         * malloc/memusage.sh (do_version): Likewise.
16312         * malloc/memusagestat.c (print_version): Likewise.
16313         * malloc/mtrace.pl: Likewise.
16314         * manual/libc.texinfo: Likewise.
16315         * nptl/version.c (banner): Likewise.
16316         * nscd/nscd.c (print_version): Likewise.
16317         * nss/getent.c (print_version): Likewise.
16318         * nss/makedb.c (print_version): Likewise.
16319         * posix/getconf.c (main): Likewise.
16320         * scripts/test-installation.pl: Likewise.
16321         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16323 2015-01-02  Will Newton  <will.newton@linaro.org>
16325         * sysdeps/arm/armv7/configure: Removed.
16326         * sysdeps/arm/armv7/configure.ac: Likewise.
16328 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16330         * All files with FSF copyright notices: Update copyright dates
16331         using scripts/update-copyrights.
16332         * intl/plural.c: Regenerated.
16333         * locale/programs/charmap-kw.h: Likewise.
16334         * locale/programs/locfile-kw.h: Likewise.
16336 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16338         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16340 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16342         [BZ #17748]
16343         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16344         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16345         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16346         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16347         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16348         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16349         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16350         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16351         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16352         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16353         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16354         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16355         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16356         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16357         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16358         libm_hidden_def.
16359         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16360         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16361         Likewise.
16362         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16363         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16364         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16365         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16366         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16367         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16368         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16369         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16370         __fegetenv instead of fegetenv.
16371         (libc_feholdsetround_noex_ctx): Likewise.
16373 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16375         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16376         (Elf_MIPS_ABIFlags_v0): New structure.
16377         (EF_MIPS_FP64): Define.
16378         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16379         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16380         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16381         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16382         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16383         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16384         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16385         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16386         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16387         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16388         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16389         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16390         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16391         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16392         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16393         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16394         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16395         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16396         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16397         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16398         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16399         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16400         field.
16401         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16402         EF_MIPS_FP64.
16403         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16404         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16405         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16406         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16407         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16408         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16409         * sysdeps/mips/tst-abi-interlink.c: Likewise.
16410         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16411         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16412         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16413         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16414         record the current FP ABI extension.
16415         (mips-mode-switch): Define to show if kernel headers support mode
16416         switching.
16417         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16418         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16419         supported SYSV ABI version to 3.
16420         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16421         feature.
16423 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16424             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16426         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16427         path.
16428         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16430 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16432         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16433         __fegetround and redefine to call __fegetround.  Remove condition
16434         on [!__NO_MATH_INLINES].
16435         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16436         function.
16437         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16438         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16439         Remove macro.
16440         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16441         instead of <fenv_libc.h>.
16442         (__llrintl): Call fegetround instead of __fegetround.
16443         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16444         instead of <fenv_libc.h>.
16445         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16446         (__lrintl): Call fegetround instead of __fegetround.
16447         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16448         instead of <fenv_libc.h>.
16449         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16450         (__rintl): Call fegetround instead of __fegetround.
16452 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16454         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16455         arrays.
16457 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16459         [BZ #17775]
16460         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16461         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16462         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16464 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16466         * sysdeps/i386/tls-macros.h: Include <features.h>.
16467         (TLS_LE): Use non-PIC version for GCC >= 5.0.
16468         (TLS_IE): Likewise.
16469         (TLS_LD): Likewise.
16470         (TLS_GD): Likewise.
16471         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16472         define for GCC >= 5.0.
16474 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
16476         * math/test-fenv.c (test_single_exception, set_single_exc,
16477         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16478         feexcp_mask_test, feenable_test, fe_single_test): Add
16479         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16480         case where they are not used.
16481         * math/libm-test.inc: Likewise.
16482         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16483         unused in the absence of FP rounding/exception support.
16484         * stdio-common/tst-printf-round.c: Likewise.
16485         * stdlib/tst-strtod-round.c: Likewise.
16486         * stdlib/tst-strtod-underflow.c: Likewise.
16488 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
16490         [BZ #17723]
16491         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16492         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16493         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16494         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16495         libm_hidden_weak.
16496         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16497         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16498         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16499         libm_hidden_def.
16500         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16501         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16502         libm_hidden_weak.
16503         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16504         Likewise.
16505         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16506         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16507         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16508         libm_hidden_weak.
16509         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16510         libm_hidden_def.
16511         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16512         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16513         (__feraiseexcept): Likewise.
16514         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16515         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16516         libm_hidden_weak.
16517         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16518         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16519         libm_hidden_def.
16520         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
16521         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
16522         Use libm_hidden_def.
16523         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
16524         libm_hidden_def.
16525         (feraiseexcept): Define as weak not strong alias.  Use
16526         libm_hidden_weak.
16527         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
16528         New inline function.  Factored out of ...
16529         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
16530         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
16531         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
16532         feraiseexcept.
16533         * math/w_acos.c (__acos): Likewise.
16534         * math/w_asin.c (__asin): Likewise.
16535         * math/w_ilogb.c (__ilogb): Likewise.
16536         * math/w_j0.c (y0): Likewise.
16537         * math/w_j1.c (y1): Likewise.
16538         * math/w_jn.c (yn): Likewise.
16539         * math/w_log.c (__log): Likewise.
16540         * math/w_log10.c (__log10): Likewise.
16541         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
16542         * sysdeps/aarch64/fpu/math_private.h
16543         (libc_feupdateenv_test_aarch64): Likewise.
16544         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16545         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
16546         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
16547         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16548         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16549         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16550         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
16551         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16552         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16553         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16555 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16557         [BZ #17732]
16558         * io/test-utime.c (main): Replace %ld with %jd and cast to
16559         intmax_t.
16560         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
16561         * nptl/tst-mutex5.c: Include <stdint.h>.
16562         (do_test): Replace %ld with %jd and cast to intmax_t.
16563         * posix/tst-regex.c (run_test): Likewise.
16564         (run_test_backwards): Likewise.
16565         * rt/tst-clock.c: Include <stdint.h>.
16566         (clock_test): Replace %ld with %jd and cast to intmax_t.
16567         * rt/tst-cpuclock1.c: Include <stdint.h>.
16568         (do_test): Replace %lu with %ju and cast to uintmax_t.
16569         * rt/tst-cpuclock2.c: Include <stdint.h>.
16570         (do_test): Replace %lu with %ju and cast to uintmax_t.
16571         * rt/tst-mqueue1.c: Include <stdint.h>.
16572         (check_attrs): Replace %ld with %jd and cast to intmax_t.
16573         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
16574         intmax_t.
16575         * rt/tst-mqueue4.c (do_test): Likewise.
16576         * rt/tst-timer4.c: Include <stdint.h>.
16577         (check_ts): Replace %ld with %jd and cast to intmax_t.
16578         (do_test): Likewise.
16579         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
16580         and cast to intmax_t.
16581         * sysdeps/pthread/tst-timer.c (main): Likewise.
16582         * time/clocktest.c (main): Likewise.
16583         * time/tst-posixtz.c (do_test): Likewise.
16584         * timezone/tst-timezone.c (main): Likewise.
16586 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16587             H.J. Lu  <hongjiu.lu@intel.com>
16589         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16590         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16591         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16592         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16593         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16594         version if bit_Fast_Unaligned_Load is set.
16595         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16596         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16597         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16598         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16599         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16600         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16601         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16602         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16603         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16604         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16605         to 4.
16606         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16607         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16608         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16609         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16611 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
16613         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16614         instead of #if to avoid a Wundef warning.
16615         * stdlib/tst-limits.c (do_test): Likewise.
16617         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16618         parallel other exception macros.
16619         (fegetenv): Convert from macro to extern inline so that it applies
16620         retroactively to inline functions already seen by the compiler.
16621         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16623         * posix/Makefile (before-compile): Use $(objpfx) for
16624         posix-conf-vars-def.h.
16626 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16628         * posix/getconf.c (main): Use size_t for type of I.
16629         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16630         NSPEC.
16632         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16633         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16634         * posix/posix-envs.def: Likewise.
16635         * sysdeps/posix/sysconf.c: Likewise.
16636         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16637         (specs): Remove array.
16638         * scripts/gen-posix-conf-vars.awk: Support generation of specs
16639         array.
16641         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
16642         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
16643         (__sysconf): Use CONF_IS_* macros.
16645         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
16646         ($(objpfx)posix-conf-vars-def.h): New target.
16647         * posix/posix-conf-vars.list: New file.
16648         * posix/posix-conf-vars.h: New file.
16649         * posix/confstr.c: Include posix-conf-vars.h.
16650         (confstr): Use CONF_IS_* macros.
16651         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
16652         CONF_IS_* macros.
16653         * scripts/gen-posix-conf-vars.awk: New file.
16655 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
16657         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
16658         fegetround): Add no-op macros to avoid linknamespace issues.
16660         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
16661         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
16663         * sysdeps/unix/sysv/linux/tile/sysdep.h
16664         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
16665         assembly-specific section to avoid a redefinition warning.
16667         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
16668         long before casting to pointer to avoid a cast warning.
16670 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
16672         * sysdeps/tile/tilegx/Implies: New file.
16674 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
16676         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
16678 2014-12-23  Florian Weimer  <fweimer@redhat.com>
16680         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
16682 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16684         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
16685         not define.
16686         * sysdeps/unix/sysv/linux/utimes.c: Do not include
16687         <kernel-features.h>.
16688         (__utimes) [__NR_utimes]: Make code unconditional.
16689         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
16690         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16691         (__ASSUME_UTIMES): Do not undefine.
16692         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16693         (__ASSUME_UTIMES): Likewise.
16694         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16695         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
16696         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16697         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
16699 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16701         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16703 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16705         [BZ #17747]
16706         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16707         alias to weak alias for j0l, y0l.
16708         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16709         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16711         [BZ #17746]
16712         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16713         conversion.
16715 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16717         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16718         to zero if not already defined.
16720 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16722         [BZ #17724]
16723         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16724         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16725         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16726         (char *) casts added.
16727         * sysdeps/ieee754/k_standardf.c: New file.
16728         * sysdeps/ieee754/k_standardl.c: Likewise.
16729         * math/Makefile (libm-support): Remove k_standard.
16730         (libm-calls): Add k_standard.
16732 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16734         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16735         Optimize to avoid an unnecessary FPCR read.
16737 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16739         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16740         Optimize to reduce FPCR/FPSR accesses.
16742 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16744         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16745         Call libc_fetestexcept_aarch64.
16747 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16749         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16750         Call libc_fesetround_aarch64.
16752 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16754         [BZ #17733]
16755         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16756         (__bind): Do not define as weak alias.
16757         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16758         define.
16759         (__getsockname): Do not define as weak alias.
16761 2014-12-22  Will Newton  <will.newton@linaro.org>
16763         * manual/install.texi: Document that we require bison 2.7
16764         or above.
16765         * INSTALL: Regenerate.
16766         * configure.ac: Use AC_CHECK_PROG_VER instead of
16767         AC_PATH_PROG when checking for bison and check for
16768         version 2.7 or above.
16769         * configure: Regenerate.
16771 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16773         [BZ #17745]
16774         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16775         * sysdeps/tile/ffsll.c (ffsll): To here.
16777         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16779 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16781         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16782         if not defined.
16783         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16784         definition.
16785         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16786         hidden ___tls_get_addr.
16787         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16788         hidden __tls_get_addr.
16789         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16790         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16791         Likewise.
16793 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16795         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16796         _dl_init call.
16798 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16800         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16801         from "call _dl_init@PLT".
16802         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16804 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16806         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16807         guarantees.
16809 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16811         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16813 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16815         [BZ #17744]
16816         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16817         strnlen.
16819 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16821         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16822         of multu on MIPSr6.
16823         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16824         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16825         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16826         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16827         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16829 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16831         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16832         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16833         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16834         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16835         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16836         mips32r6/mips64r6.
16837         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16839 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16841         * string/strncat.c (STRNCAT): Simplify implementation.
16843 2014-12-19  David S. Miller  <davem@davemloft.net>
16845         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16846         access the quad as both a long double and as a series of 4 words.
16848         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16849         link_map->l_info array access.
16851 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16853         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16855         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16856         * math/atest-exp2.c (TIMEOUT): Likewise.
16857         * math/atest-sincos.c (TIMEOUT): Likewise.
16859 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16861         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16862         -Wno-error with -fno-builtin-lround.
16864 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16866         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16867         Contains futex constants and functions moved over from ...
16868         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16869         <lowlevellock-futex.h>.
16870         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16871         (lll_timedwait_tid): Add comments and parentheses around macro
16872         arguments.
16874 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16876         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16877         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16878         (__lll_private_flag): Remove.
16879         (lll_futex_wait): Likewise.
16880         (lll_futex_timed_wait): Likewise.
16881         (lll_futex_wake): Likewise.
16882         (lll_futex_requeue): Likewise.
16883         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16884         (__lll_timedwait_tid): Spell out argument names.
16885         (lll_timedwait_tid): Add comments and parentheses around macro
16886         arguments.
16887         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16888         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16890 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16892         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16893         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16894         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16895         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16896         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16897         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16898         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16899         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16900         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16901         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16902         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16903         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16904         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16905         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16906         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16907         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16908         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16909         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16910         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16912 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16914         * sysdeps/x86_64/x32/Makefile: New file.
16916 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16918         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16919         1L with (mp_limb_t) 1.
16921 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16923         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16924         * nptl/libc_pthread_init.c: ... here.
16925         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16926         * nptl/register-atfork.c: ... here.
16928         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16929         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16930         Use assert_perror to check its return value.
16931         (__gai_create_helper_thread): Likewise.
16933         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16935         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16937 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16939         [BZ #17725]
16940         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16941         __profil_counter.
16942         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16943         Likewise.
16944         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16945         Likewise.
16946         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16947         Likewise.
16948         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16949         (profil_counter): Likewise.
16950         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16951         (profil_counter): Likewise.
16952         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16953         Likewise.
16954         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16955         Likewise.
16956         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16957         (profil_counter): Likewise.
16958         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16959         Likewise.
16960         [!__profil_counter] (profil_counter): Define as weak alias of
16961         __profil_counter.
16962         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16963         (profil_counter): Rename to __profil_counter.
16964         [!__profil_counter] (profil_counter): Define as weak alias of
16965         __profil_counter.
16966         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16967         (profil_counter): Rename to __profil_counter.
16968         [!__profil_counter] (profil_counter): Define as weak alias of
16969         __profil_counter.
16970         * sysdeps/posix/profil.c: Update comment referring to
16971         profil_counter.
16972         (__profil): Use __profil_counter instead of profil_counter.
16973         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16974         __profil_counter.  Use __profil_counter_ushort and
16975         __profil_counter_uint in definitions.
16976         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16977         instead of profil_counter_uint and profil_counter_ushort.
16979         [BZ #17722]
16980         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16981         define as weak alias of __inet_makeaddr.
16982         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16983         as weak alias of __inet_addr.
16984         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16985         as weak alias of __inet_pton.  Use libc_hidden_weak.
16986         * include/arpa/inet.h (__inet_pton): Declare.  Use
16987         libc_hidden_proto.
16988         (inet_makeaddr): Don't use libc_hidden_proto.
16989         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16990         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16991         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16992         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16993         Remove variable.
16994         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16995         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16997 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16999         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17001 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17003         * stdio-common/bug-vfprintf-nargs.c (do_test):
17004         Cast value to intptr_t to avoid format warning
17005         for usage with PRIdPTR printing macro.
17007 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17009         * libio/tst-widetext.c (do_test):
17010         Use format type %td instead of %Zd for ptrdiff_t
17011         in order to avoid format warning.
17013 2014-12-17  Andreas Schwab  <schwab@suse.de>
17015         * nscd/mem.c (gc): Add size_t cast to match printf format.
17017 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17019         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17020         (init): Apply PTR_MANGLE to pointers before storing them.
17021         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17022         before using them.
17024 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17026         [BZ #17719]
17027         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17028         define as weak alias of __memrchr.
17029         (__memrchr): Do not define as strong alias of memrchr.
17030         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17031         Remove variable.
17032         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17033         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17034         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17036         [BZ #17717]
17037         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17038         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17039         (if_indextoname): Rename to __if_indextoname and define as weak
17040         alias of __if_indextoname.  Use libc_hidden_weak.
17041         (if_freenameindex): Rename to __if_freenameindex and define as
17042         weak alias of __if_freenameindex.
17043         (if_nameindex): Rename to __if_nameindex and define as weak alias
17044         of __if_nameindex.
17045         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17046         __if_nametoindex and define as weak alias of __if_nametoindex.
17047         Use libc_hidden_weak.
17048         (if_freenameindex): Rename to __if_freenameindex and define as
17049         weak alias of __if_freenameindex.
17050         (if_nameindex): Rename to __if_nameindex and define as weak alias
17051         of __if_nameindex.
17052         (if_indextoname): Rename to __if_indextoname and define as weak
17053         alias of __if_indextoname.  Use libc_hidden_weak.
17054         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17055         __if_nametoindex and define as weak alias of __if_nametoindex.
17056         Use libc_hidden_weak.
17057         (if_freenameindex): Rename to __if_freenameindex and define as
17058         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17059         (if_nameindex_netlink): Use __if_freenameindex instead of
17060         if_freenameindex.
17061         (if_nameindex): Rename to __if_nameindex and define as weak alias
17062         of __if_nameindex.  Use libc_hidden_weak.
17063         (if_indextoname): Rename to __if_indextoname and define as weak
17064         alias of __if_indextoname.  Use libc_hidden_weak.
17065         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17066         libc_hidden_proto.
17067         [!_ISOMAC] (__if_freenameindex): Likewise.
17068         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17069         if_nametoindex.
17070         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17071         variable.
17072         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17073         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17074         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17075         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17076         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17077         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17078         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17080         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17081         Remove variable.
17082         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17083         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17085 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17087         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17088         subscript above bounds'
17090         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17091         bounds.
17093 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17095         * libio/tst-fopenloc.c: Use test-skeleton.c.
17097         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17098         (entry): Rename to ITEM.
17099         (do_test, comp): Adjust.
17101         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17103 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17105         * string/tester.c: Include <libc-internal.h>.
17106         (test_memset): Ignore -Wmemset-transposed-args.
17108 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17110         * misc/tst-mntent2.c (do_test): Fix warning.
17112 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17114         * elf/tst-unique4lib.cc(a): Mark as used.
17116 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17118         [BZ #17630]
17119         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17120         names.
17122 2014-12-16  Allan McRae  <allan@archlinux.org>
17124         * stdio-common/Makefile (tests): Re-add bug26.
17126 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17128         [BZ #17657]
17129         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17130         static array.
17132 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17134         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17135         (__lll_lock_wait): Likewise.
17136         (__lll_timedlock_wait): Likewise.
17137         (__lll_timedwait_tid): Likewise.
17138         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17139         (__lll_robust_timedlock_wait): Likewise.
17140         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17141         (lll_cond_trylock): Likewise.
17142         (__lll_lock): Likewise.
17143         (__lll_robust_lock): Likewise.
17144         (__lll_cond_lock): Likewise.
17145         (lll_robust_cond_lock): Likewise.
17146         (__lll_timedlock): Likewise.
17147         (__lll_robust_timedlock): Likewise.
17148         (__lll_unlock): Likewise.
17149         (__lll_robust_unlock): Likewise.
17150         (lll_wait_tid): Likewise.
17151         (lll_timedwait_tid): Likewise.
17153 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17155         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17157 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17159         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17161 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17163         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17164         * stdio-common/tst-sprintf.c: Likewise.
17166 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17168         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17170 2014-12-15  Jeff Law  <law@redhat.com>
17172         [BZ #16617]
17173         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17174         on the heap.  (CVE-2012-3406)
17175         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17176         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17177         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17179 2014-12-15  Will Newton  <will.newton@linaro.org>
17181         * manual/install.texi: Bump required version of texinfo
17182         to 4.7 from 4.5.
17183         * INSTALL: Regenerated.
17184         * configure.ac: Check for makeinfo version 4.7 and above.
17185         * configure: Regenerated.
17187 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17189         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17190         PREFIX, string constant to insert between directory and name.
17191         * sysdeps/posix/shm_open.c: Update caller.
17192         * sysdeps/posix/shm_unlink.c: Likewise.
17193         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17194         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17195         (SEM_SHM_PREFIX): New macro.
17196         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17197         [$(have-thread-library) = no].
17198         * nptl/Makefile (libpthread-routines): Add shm-directory.
17199         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17200         * sysdeps/nptl/shm-directory.h: New file.
17201         * sysdeps/posix/shm-directory.c
17202         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17203         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17204         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17205         INTERNAL_SYSCALL.
17206         (__where_is_shmfs): Function removed.
17207         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17208         Variables removed.
17209         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17210         Use SHM_GET_NAME.
17211         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17213         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17214         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17215         unconditional for use inside libpthread.
17216         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17218 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17220         * nptl/pthread_getaffinity.c: New file.
17221         * nptl/pthread_setaffinity.c: New file.
17222         * nptl/pthread_getname.c: New file.
17223         * nptl/pthread_setname.c: New file.
17225         * nptl/pthread_create.c (START_THREAD_DEFN)
17226         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17228 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17229             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17231         * resolv/res_send.c (send_vc): Disable warning resplen may
17232         be used uninitialized.
17234 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17236         * nptl/tst-mutex6.c
17237         (ATTR_NULL): New define checks ATTR against NULL.
17238         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17239         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17241 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
17243         [BZ #17581]
17244         * malloc/hooks.c
17245         (mem2mem_check): Revert my previous change.
17246         (malloc_check_get_size): Revert my previous change.
17247         (mem2chunk_check): Revert my previous change.
17249 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17251         * sysdeps/posix/shm-directory.c: New file.
17252         * sysdeps/posix/shm-directory.h: New file.
17253         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17254         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17255         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
17256         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17257         Transmute EPERM to EACCES.
17258         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17259         from ...
17260         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
17261         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17263 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17265         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17266         pointer and cast to uintptr_t.
17267         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17268         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17269         Add cast to avoid warning.
17270         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17272 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17274         * nptl/semaphore.h: Move to ...
17275         * sysdeps/pthread/semaphore.h: ... here.
17276         * Makefile (installed-headers): Change nptl/semaphore.h to
17277         sysdeps/pthread/semaphore.h.
17279 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17281         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17282         generated error format strings.
17284         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17285         -Wformat-extra-args warnings for scanf formats.
17286         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17287         test of zero-length format (duh).
17288         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17289         corner-case scanf format test.
17290         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17291         generated fprintf format string.
17292         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17293         corner-case sprintf format tests.
17294         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17295         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17296         -Wformat-extra-args warnings throughout.
17297         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17298         (CFLAGS-scanf4.c): Likewise.
17299         (CFLAGS-scanf7.c): Likewise.
17300         (CFLAGS-tst-sprintf.c): Likewise.
17301         (CFLAGS-tst-printf.c): Likewise.
17302         (CFLAGS-tst-printfsz.c): Likewise.
17304 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17306         * include/cpio.h: New file.
17307         * include/fmtmsg.h: Likewise.
17309         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
17310         corresponding format argument to size_t.
17311         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
17312         arguments.
17313         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
17314         corresponding format argument to size_t.
17315         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
17316         arguments.
17317         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
17318         corresponding format argument to size_t.
17319         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17320         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17321         (CFLAGS-tst-mbswcs2.c): Likewise.
17322         (CFLAGS-tst-mbswcs3.c): Likewise.
17323         (CFLAGS-tst-mbswcs4.c): Likewise.
17324         (CFLAGS-tst-mbswcs5.c): Likewise.
17325         (CFLAGS-tst-trans.c): Likewise
17327 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17329         * posix/regexbug1.c (main): Use "%s" format with regerror results,
17330         rather than assuming they won't contain any '%'s.
17332 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
17334         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17335         inhibit_loop_to_libcall to avoid recursive calls.
17336         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17337         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17339 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17341         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17342         prototype.
17344 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17346         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17347         integer value instead of boolean.
17349 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17351         * malloc/malloc.c: Fix powerof2 check.
17353 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17355         * locale/programs/locfile.h (maybe_swap_uint32):
17356         Remove inline and add unused attribute.
17358 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17360         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17361         Truncating assembler expression to a .long expression.
17363 2014-12-11  Andreas Schwab  <schwab@suse.de>
17365         * elf/rtld.c (struct map_args): Constify str member.
17366         (do_preload): Constify fname argument.
17368 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17371         constants definition.
17373 2014-12-11  Andreas Schwab  <schwab@suse.de>
17375         [BZ #16657]
17376         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17377         FORCE_ELISION instead of DO_ELISION.
17378         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17379         Remove.
17380         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17381         Likewise.
17383         * iconvdata/gconv-modules: Remove duplicate entry.
17385 2014-12-11  Will Newton  <will.newton@linaro.org>
17387         Merge gettext 0.19.3 into intl/.
17389         This involves a number of cosmetic changes to comments
17390         and ANSI function definitions and prototypes throughout
17391         all the files. The gettext copyright header is used but
17392         with the date ranges taken from the glibc copy.
17394         * NEWS: Add gettext merge to 2.21.
17395         * intl/bindtextdom.c: Switch to gettext copyright.
17396         Use ANSI definitions and prototypes.
17397         Use gl_* locking primitives rather than __libc_* ones.
17398         Use __builtin_expect rather than __glibc_likely/unlikely.
17399         * intl/dcgettext.c: Switch to gettext copyright.
17400         Use ANSI definitions and prototypes.
17401         * intl/dcigettext.c: Switch to gettext copyright.
17402         Use ANSI definitions and prototypes.
17403         (INTDIV0_RAISES_SIGFPE): New define.
17404         Use gl_* locking primitives rather than __libc_* ones.
17405         Include eval-plural.h instead of plural-eval.c.
17406         Use __builtin_expect rather than __glibc_likely/unlikely.
17407         * intl/dcngettext.c: Switch to gettext copyright.
17408         Use ANSI definitions and prototypes.
17409         * intl/dgettext.c: Likewise.
17410         * intl/dngettext.c: Likewise.
17411         * intl/plural-eval.c: Renamed to...
17412         * intl/eval-plural.h: ...this.
17413         * intl/explodename.c: Switch to gettext copyright.
17414         Use ANSI definitions and prototypes.
17415         (_nl_explode_name): Use strchr instead of __rawmemchr.
17416         * intl/finddomain.c: Switch to gettext copyright.
17417         Use ANSI definitions and prototypes.
17418         Use gl_* locking primitives rather than __libc_* ones.
17419         (_nl_find_domain): Use malloc rather than alloca for
17420         allocation of temporary locale name.
17421         * intl/gettext.c: Switch to gettext copyright.
17422         Use ANSI definitions and prototypes.
17423         * intl/gettextP.h: Switch to gettext copyright.
17424         Use ANSI definitions and prototypes.
17425         Use gl_* locking primitives rather than __libc_* ones.
17426         * intl/gmo.h: Switch to gettext copyright.
17427         (struct sysdep_string): Move struct segment_pair outside of
17428         struct definition.
17429         * intl/hash-string.c: Use ANSI definitions and prototypes.
17430         * intl/hash-string.h: Switch to gettext copyright.
17431         Use ANSI definitions and prototypes.
17432         * intl/l10nflist.c: Switch to gettext copyright.
17433         Use ANSI definitions and prototypes.
17434         (_nl_normalize_codeset): Avoid integer overflow.
17435         * intl/loadinfo.h: Switch to gettext copyright.
17436         Use ANSI definitions and prototypes.
17437         (LIBINTL_DLL_EXPORTED): New define.
17438         (PATH_SEPARATOR): New define.
17439         * intl/loadmsgcat.c: Switch to gettext copyright.
17440         * intl/localealias.c: Switch to gettext copyright.
17441         Use ANSI definitions and prototypes.
17442         (_nl_expand_alias): Use PATH_SEPARATOR.
17443         * intl/ngettext.c: Switch to gettext copyright.
17444         Use ANSI definitions and prototypes.
17445         * intl/plural-exp.c: Likewise.
17446         * intl/plural-exp.h: Switch to gettext copyright.
17447         Use ANSI definitions and prototypes.
17448         (struct expression): Move definition of enum operator outside
17449         of struct definition.
17450         * intl/plural.c: Regenerate.
17451         * intl/plural.y: Switch to gettext copyright.
17452         Use ANSI definitions and prototypes.
17453         Port to bison 3.0.
17454         * intl/textdomain.c: Switch to gettext copyright.
17455         Use ANSI definitions and prototypes.
17456         Use gl_* locking primitives rather than __libc_* ones.
17458 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
17460         * debug/warning-nop.c: Add used atrribute.
17462 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17464         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17466         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17467         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17468         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17470 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17471             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17473         [BZ #17634]
17474         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17475         Undefine after defining function.  Define as weak alias of
17476         __wcschr.  Use libc_hidden_weak.
17477         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
17478         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17479         (libc_hidden_def): Also define __GI___wcschr alias.
17480         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17481         __wcschr and define as weak alias of __wcschr.
17482         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17483         __wcschr.
17484         [!WCSCHR] (DEFAULT_WCSCHR): Define.
17485         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17486         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
17487         libc_hidden_weak.  Do not use libc_hidden_def.
17488         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17489         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17490         __GI___wcschr alias.
17491         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17492         [IS_IN (libc)] (wcschr): Define as macro expanding to
17493         __redirect_wcschr.
17494         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17495         [IS_IN (libc)] (__wcschr_power6): Likewise.
17496         [IS_IN (libc)] (__wcschr_power7): Likewise.
17497         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
17498         instead of wcschr.
17499         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17500         __libc_wcschr.
17501         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17502         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17503         __wcschr and define as weak alias of __wcschr.  Use
17504         libc_hidden_builtin_def.
17505         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17506         as weak alias of __wcschr.  Use libc_hidden_weak.
17507         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17508         wcschr.
17509         * time/era.c (_nl_init_era_entries): Likewise.
17510         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17511         variable.
17512         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17513         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17515 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17517         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
17518         format for long int variable.
17520 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
17522         [BZ #10672]
17523         * manual/search.texi: (Array Sort Function): Remove claim how to make
17524         qsort stable.
17526 2014-12-10  Andreas Schwab  <schwab@suse.de>
17528         [BZ #12847]
17529         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
17530         user-controlled locks.
17532 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
17534         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
17535         register.
17537 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17539         * configure.ac (--disable-werror): New configure option.
17540         (enable_werror): New AC_SUBST.
17541         * configure: Regenerated.
17542         * config.make.in (enable-werror): New variable.
17543         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
17544         -Wno-error=undef.
17545         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
17546         * manual/install.texi (Configuring and compiling): Document
17547         --disable-werror.
17548         * INSTALL: Regenerated.
17549         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
17550         (CFLAGS-tst-chk2.c): Likewise.
17551         (CFLAGS-tst-chk3.c): Likewise.
17552         (CFLAGS-tst-chk4.cc): Likewise.
17553         (CFLAGS-tst-chk5.cc): Likewise.
17554         (CFLAGS-tst-chk6.cc): Likewise.
17555         (CFLAGS-tst-lfschk1.c): Likewise.
17556         (CFLAGS-tst-lfschk2.c): Likewise.
17557         (CFLAGS-tst-lfschk3.c): Likewise.
17558         (CFLAGS-tst-lfschk4.cc): Likewise.
17559         (CFLAGS-tst-lfschk5.cc): Likewise.
17560         (CFLAGS-tst-lfschk6.cc): Likewise.
17562         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
17563         (main): Disable -Wdeprecated-declarations around calls to
17564         register_printf_function.
17566         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
17567         (do_test): Disable -Wdiv-by-zero around some calls to
17568         fwrite_unlocked and fread_unlocked.
17570         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
17571         (DIAG_POP_NEEDS_COMMENT): Likewise.
17572         (_DIAG_STR1): Likewise.
17573         (_DIAG_STR): Likewise.
17574         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
17575         * stdio-common/bug21.c: Include <libc-internal.h>.
17576         (do_test): Disable -Wformat around call to sscanf.
17577         * stdio-common/scanf14.c: Include <libc-internal.h>.
17578         (main): Disable -Wformat around some calls to scanf functions.
17580 2014-12-09  Torvald Riegel  <triegel@redhat.com>
17582         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
17584 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17586         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17587         stack variable alignment.
17589 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
17591         [BZ #17682]
17592         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17593         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17594         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17595         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17596         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17597         __getrlimit instead of getrlimit.
17598         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17599         __gettimeofday instead of gettimeofday.
17600         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17601         Likewise.
17602         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17603         Likewise.
17604         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17605         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17606         Remove variable.
17607         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17608         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17610 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17612         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17613         for wide-character tests.
17615 2014-12-04  Roland McGrath  <roland@hack.frob.com>
17617         * io/openat64.c: #include <libc-internal.h>
17618         (__openat64): Prototypify.  Use ignore_value on MODE.
17619         * io/openat.c: Likewise.
17620         * misc/reboot.c: #include <libc-internal.h>
17621         (reboot): Prototypify.  Use ignore_value on HOWTO.
17622         * misc/ptrace.c: #include <libc-internal.h>
17623         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
17625 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
17627         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17628         XPG4, UNIX98 and XOPEN2K.
17629         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17630         Remove variable.
17631         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17633 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17635         * libio/fileops.c: Use ISO C style for function definitions.
17636         * libio/iofopen.c: Likewise.
17637         * libio/wfileops.c: Likewise.
17639         [BZ #17653]
17640         * libio/fileops.c (_IO_new_file_underflow): Unset cached
17641         offset on EOF.
17642         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17643         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
17644         (fgets_func): Function pointer to fgets and fgetws.
17645         (do_ftell_test): Add test to verify ftell value after read
17646         EOF.
17647         (do_test): Set fgets_func.
17649         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
17650         O_TRUNC flag for w and w+ modes.
17651         (do_rewind_test): Likewise.
17652         (do_ftell_test): Likewise.
17653         (do_write_test): Likewise.
17655         [BZ #17647]
17656         * libio/fileops.c (do_ftell): Seek only when there are
17657         unflushed writes.
17658         * libio/wfileops.c (do_ftell_wide): Likewise.
17659         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
17660         test case.
17661         (do_one_test): Call it.
17663 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
17665         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
17666         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
17667         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
17668         Remove variable.
17669         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17670         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17671         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17673 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17675         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
17676         Remove variable.
17677         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17679         [BZ #17668]
17680         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
17681         as weak alias of __getifaddrs.  Use libc_hidden_weak.
17682         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17683         __freeifaddrs.  Use libc_hidden_weak.
17684         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
17685         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
17686         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17687         __freeifaddrs.  Use libc_hidden_weak.
17688         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
17689         __getifaddrs and define as weak alias of __getifaddrs.  Use
17690         libc_hidden_weak.
17691         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17692         __freeifaddrs.  Use libc_hidden_weak.
17693         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
17694         Remove variable.
17695         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17696         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17698 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17700         [BZ #17601]
17701         * sysdeps/mips/start.S (__start): Use indirect jump to call
17702         __libc_start_main.
17704 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17706         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17708         * nptl/tst-mutex1.c: Include <stdbool.h>.
17709         [!ATTR] (ATTR_NULL): New macro.
17710         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17711         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17712         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17714         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17715         to char *.
17717         [BZ #17665]
17718         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17719         Change conditional to [__USE_MISC].
17721         [BZ #17664]
17722         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17723         fgets_unlocked.
17724         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17725         __fgets_unlocked.
17726         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17727         fgets_unlocked.
17728         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17729         Remove variable.
17730         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17731         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17732         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17733         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17734         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17735         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17736         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17737         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17738         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17740         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17742 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17744         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17745         Remove strpbrk objects.
17746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17747         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17748         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17749         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17750         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17751         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17753         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17754         Remove strcspn objects.
17755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17756         (__libc_ifunc_impl_list): Remove strcspn implementation.
17757         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17758         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17759         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17760         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17762         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17763         Remove strspn objetcs.
17764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17765         (__libc_ifunc_impl_list): Remove strspn implementation.
17766         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17767         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17768         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17769         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17771 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17773         [BZ #17581]
17774         * malloc/hooks.c
17775         (mem2mem_check): Add a terminator to the chain of checking blocks.
17776         (malloc_check_get_size): Use it here.
17777         (mem2chunk_check): Ditto.
17779 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17781         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17782         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17784 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17786         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17788         * nptl/nptl-init.c: Include libc-internal.h.
17789         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17791         * elf/ldconfig.c (search_dir): Expand comment.
17793 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17795         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17796         variable.
17797         (linknamespace-symlist-stdlibs-tests): Likewise.
17798         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17799         instead of $(objpfx)symlist-stdlibs.
17800         (linknamespace-libs-isoc): New variable.
17801         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17802         (linknamespace-libs-ISO): New variable.
17803         (linknamespace-libs-ISO99): Likewise.
17804         (linknamespace-libs-ISO11): Likewise.
17805         (linknamespace-libs-XPG3): Likewise.
17806         (linknamespace-libs-XPG4): Likewise.
17807         (linknamespace-libs-POSIX): Likewise.
17808         (linknamespace-libs-UNIX98): Likewise.
17809         (linknamespace-libs-XOPEN2K): Likewise.
17810         (linknamespace-libs-POSIX2008): Likewise.
17811         (linknamespace-libs-XOPEN2K8): Likewise.
17812         ($(objpfx)symlist-stdlibs): Replace by
17813         $(linknamespace-symlist-stdlibs-tests).  Use
17814         $(linknamespace-libs-$*) as set of libraries.
17815         ($(linknamespace-header-tests)): Update dependencies.  Use
17816         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17817         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17818         * conform/linknamespace.pl: Remove comment about considering
17819         definitions of symbols from irrelevant libraries.
17821 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17823         [BZ #13862]
17824         * elf/dl-tls.c: Include <atomic.h>.
17825         (oom): Remove #ifdef SHARED/#endif.
17826         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17827         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17828         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17829         big enough.
17830         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17831         * nptl/Makefile (tests): Add tst-stack4.
17832         (modules-names): Add tst-stack4mod.
17833         ($(objpfx)tst-stack4): New.
17834         (tst-stack4mod.sos): Likewise.
17835         ($(objpfx)tst-stack4.out): Likewise.
17836         ($(tst-stack4mod.sos)): Likewise.
17837         (clean): Likewise.
17838         * nptl/tst-stack4.c: New file.
17839         * nptl/tst-stack4mod.c: Likewise.
17841 2014-11-27  J. Brown  <jb999@gmx.de>
17843         * sysdeps/x86/bits/string.h: Add recent CPUs.
17845 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17847         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17848         sigblock.
17850         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17851         feof.
17853         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17854         variable.
17856 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17858         * nscd/connections.c: Include libc-internal.h because of macro
17859         usage ignore_value.
17861 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17863         * string/bits/string3.h (__warn_memset_zero_len): Don't
17864         declare for gcc newer than 5.0.
17865         (memset): Don't test for zero-length __LEN for gcc newer than
17866         5.0.
17868 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17870         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17871         size_t for %zu format.
17873         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17874         difference, not %ju.
17876 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17878         * include/libc-internal.h (ignore_value): New macro.
17879         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17880         with ignore_value.
17882         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17883         definition.
17885         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17886         pthread_cleanup_push to void *.
17888         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17889         Undefine.
17891         [BZ #16619]
17892         [BZ #16740]
17893         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17894         instead of 1L << 52.
17896         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17897         * libio/bug-rewind2.c (do_test): Likewise.
17899         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17900         * debug/test-strcpy_chk-ifunc.c: Likewise.
17901         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17902         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17903         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17904         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17905         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17906         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17907         * Rules [$(multi-arch) = no] (tests): Do not filter out
17908         $(tests-ifunc).
17909         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17910         * debug/Makefile (tests-ifunc): Remove variable.
17911         (tests): Do not add $(tests-ifunc).
17912         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17913         (tests): Do not add $(tests-ifunc).
17914         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17915         [TEST_IFUNC]: Remove conditionals.
17916         * string/test-string.h (TEST_IFUNC): Remove macro.
17917         [TEST_IFUNC]: Remove conditionals.
17919         * string/test-strchr.c [!WIDE] (L): New macro.
17920         [WIDE] (L): Likewise.
17921         (check1): Use CHAR instead of char.  Use L on string and character
17922         constants.
17924 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17926         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17927         tests.
17928         * sysdeps/powerpc/bits/atomic.h
17929         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17930         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17931         (atomic_exchange_and_add_acq): Likewise.
17932         (atomic_exchange_and_add_rel): Likewise.
17933         * sysdeps/powerpc/powerpc32/bits/atomic.h
17934         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17935         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17936         * sysdeps/powerpc/powerpc64/bits/atomic.h
17937         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17938         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17940 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17942         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17943         Change synchronization of __sched_fifo_min_prio and
17944         __sched_fifo_max_prio.
17945         * nptl/pthread_mutexattr_getprioceiling.c
17946         (pthread_mutexattr_getprioceiling): Likewise.
17947         * nptl/pthread_mutexattr_setprioceiling.c
17948         (pthread_mutexattr_setprioceiling): Likewise.
17949         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17950         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17951         Likewise.
17953 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17955         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17956         void.
17958 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17960         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17961         third argument const.
17963 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17965         fnmatch: work around GCC compiler warning bug with uninit var
17966         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17967         This works around a bug with x86-64 GCC 4.9.2 and earlier
17968         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17969         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17970         used uninitialized in this function [-Wmaybe-uninitialized]".
17972 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17974         * posix/bug-regex31.c (main): Return RES not 0.
17976 2014-11-25  Anton Blanchard <anton@samba.org>
17978         * sysdeps/powerpc/bits/atomic.h
17979         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17981 2014-11-24  Sterling Augustine  <saugustine@google.com>
17983         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17985 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17987         [BZ #17608]
17988         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17990 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17992         [BZ #17633]
17993         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17994         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17995         variable.
17996         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17997         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17999 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18001         * string/strncpy.c (strncpy): Improve performance by using memset.
18003 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18005         * string/strcpy.c (strcpy):
18006         Improve performance by using strlen and memcpy.
18008 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18010         * string/strcoll_l.c (get_next_seq): __always_inline.
18011         * string/strcoll_l.c (do_compare): __always_inline.
18013 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18015         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18016         defined.
18017         * include/mqueue.h: Likewise.
18018         * include/stdlib.h: Likewise.
18020         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18021         (get_null_defines): Adjust.
18022         * sunrpc/Makefile: Adjust comment.
18023         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18024         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18025         (CFLAGS-interp.c): Likewise.
18026         (CFLAGS-ldconfig.c): Likewise.
18027         (CPPFLAGS-.os): Likewise.
18028         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18029         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18030         * extra-modules.mk (extra-modules.mk): Likewise.
18031         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18032         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18033         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18034         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18035         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18036         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18037         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18038         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18039         * iconvdata/Makefile (CPPFLAGS): Likewise.
18040         (cpp-srcs-left): Add libof for all iconvdata routines.
18041         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18042         * include/assert.h: Likewise.
18043         * include/ctype.h: Likewise.
18044         * include/errno.h: Likewise.
18045         * include/libc-symbols.h: Likewise.
18046         * include/math.h: Likewise.
18047         * include/netdb.h: Likewise.
18048         * include/resolv.h: Likewise.
18049         * include/stdio.h: Likewise.
18050         * include/stdlib.h: Likewise.
18051         * include/string.h: Likewise.
18052         * include/sys/stat.h: Likewise.
18053         * include/wctype.h: Likewise.
18054         * intl/l10nflist.c: Likewise.
18055         * libidn/idn-stub.c: Likewise.
18056         * libio/libioP.h: Likewise.
18057         * nptl/libc_multiple_threads.c: Likewise.
18058         * nptl/pthreadP.h: Likewise.
18059         * posix/regex_internal.h: Likewise.
18060         * resolv/res_hconf.c: Likewise.
18061         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18062         * sysdeps/arm/memmove.S: Likewise.
18063         * sysdeps/arm/sysdep.h: Likewise.
18064         * sysdeps/generic/_itoa.h: Likewise.
18065         * sysdeps/generic/symbol-hacks.h: Likewise.
18066         * sysdeps/gnu/errlist.awk: Likewise.
18067         * sysdeps/gnu/errlist.c: Likewise.
18068         * sysdeps/i386/i586/memcpy.S: Likewise.
18069         * sysdeps/i386/i586/memset.S: Likewise.
18070         * sysdeps/i386/i686/memcpy.S: Likewise.
18071         * sysdeps/i386/i686/memmove.S: Likewise.
18072         * sysdeps/i386/i686/mempcpy.S: Likewise.
18073         * sysdeps/i386/i686/memset.S: Likewise.
18074         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18075         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18076         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18077         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18078         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18079         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18080         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18081         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18082         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18083         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18084         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18085         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18086         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18087         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18088         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18089         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18090         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18091         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18092         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18093         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18094         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18095         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18096         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18097         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18098         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18099         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18100         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18101         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18102         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18103         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18104         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18105         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18106         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18107         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18108         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18109         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18110         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18111         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18112         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18113         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18114         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18115         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18116         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18117         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18118         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18119         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18120         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18121         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18122         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18123         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18124         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18125         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18126         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18127         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18128         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18129         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18130         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18131         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18132         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18133         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18134         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18135         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18136         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18137         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18138         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18139         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18140         * sysdeps/posix/closedir.c: Likewise.
18141         * sysdeps/posix/opendir.c: Likewise.
18142         * sysdeps/posix/readdir.c: Likewise.
18143         * sysdeps/posix/rewinddir.c: Likewise.
18144         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18145         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18146         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18147         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18148         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18149         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18150         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18152         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18153         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18154         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18155         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18156         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18157         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18158         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18159         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18160         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18161         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18162         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18163         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18164         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18165         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18166         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18167         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18168         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18169         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18170         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18171         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18172         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18176         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18178         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18179         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18180         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18181         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18182         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18183         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18184         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18185         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18186         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18187         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18188         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18189         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18190         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18191         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18192         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18193         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18194         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18195         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18196         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18197         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18198         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18199         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18200         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18201         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18202         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18203         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18204         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18205         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18206         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18207         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18208         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18209         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18210         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18211         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18212         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18213         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18214         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18215         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18216         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18217         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18218         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18219         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18220         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18221         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18222         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18223         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18224         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18225         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18226         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18227         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18228         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18229         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18230         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18231         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18232         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18233         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18234         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18235         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18236         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18237         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18238         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18239         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18240         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18241         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18242         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18243         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18244         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18245         * sysdeps/unix/alpha/sysdep.S: Likewise.
18246         * sysdeps/unix/alpha/sysdep.h: Likewise.
18247         * sysdeps/unix/make-syscalls.sh: Likewise.
18248         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18249         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18250         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18251         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18252         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18253         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18254         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18255         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18256         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18257         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18258         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18259         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18260         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18261         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18262         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18263         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18264         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18265         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18266         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18267         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18268         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18269         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18270         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18271         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18272         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18273         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18274         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18277         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18278         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18280         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18282         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18285         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18286         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18287         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18288         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18289         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18290         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18291         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18292         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18293         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18295         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18298         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18299         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18300         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18301         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18302         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18303         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18304         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18306         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18307         * sysdeps/x86_64/memcpy.S: Likewise.
18308         * sysdeps/x86_64/memmove.c: Likewise.
18309         * sysdeps/x86_64/memset.S: Likewise.
18310         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18311         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18312         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18313         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18314         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18315         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18317         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18318         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18319         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18320         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18321         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18322         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18323         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18324         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18325         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18326         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18327         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18328         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18329         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18330         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18331         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18332         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18333         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18334         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18335         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18336         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18337         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18338         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18339         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18340         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18341         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18342         * sysdeps/x86_64/strcmp.S: Likewise.
18344         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18346         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18347         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18348         * elf/rtld-Rules: Likewise.
18349         * elf/setup-vdso.h: Likewise.
18350         * include/assert.h: Likewise.
18351         * include/bits/stdlib-float.h: Likewise.
18352         * include/errno.h: Likewise.
18353         * include/sys/stat.h: Likewise.
18354         * include/unistd.h: Likewise.
18355         * sysdeps/aarch64/setjmp.S: Likewise.
18356         * sysdeps/alpha/setjmp.S: Likewise.
18357         * sysdeps/arm/__longjmp.S: Likewise.
18358         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18359         * sysdeps/arm/setjmp.S: Likewise.
18360         * sysdeps/arm/sysdep.h: Likewise.
18361         * sysdeps/generic/_itoa.h: Likewise.
18362         * sysdeps/generic/dl-sysdep.h: Likewise.
18363         * sysdeps/generic/ldsodefs.h: Likewise.
18364         * sysdeps/i386/dl-tls.h: Likewise.
18365         * sysdeps/i386/setjmp.S: Likewise.
18366         * sysdeps/m68k/setjmp.c: Likewise.
18367         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18368         * sysdeps/mach/hurd/opendir.c: Likewise.
18369         * sysdeps/posix/getcwd.c: Likewise.
18370         * sysdeps/posix/opendir.c: Likewise.
18371         * sysdeps/posix/profil.c: Likewise.
18372         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18373         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18374         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18375         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18376         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18377         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18378         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18379         * sysdeps/s390/dl-tls.h: Likewise.
18380         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18381         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18382         * sysdeps/sh/sh3/setjmp.S: Likewise.
18383         * sysdeps/sh/sh4/setjmp.S: Likewise.
18384         * sysdeps/unix/alpha/sysdep.h: Likewise.
18385         * sysdeps/unix/arm/sysdep.S: Likewise.
18386         * sysdeps/unix/i386/sysdep.S: Likewise.
18387         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18388         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18389         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18390         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18391         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18392         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18393         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18394         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18395         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18396         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18397         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18398         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18399         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18402         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18403         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18405         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18406         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18407         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18410         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18411         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18412         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18414         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18415         * sysdeps/x86_64/setjmp.S: Likewise.
18417         * include/math.h: Use IS_IN instead of IS_IN_libm.
18418         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18419         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18420         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18421         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18422         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18423         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18424         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18425         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18426         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18427         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18428         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18429         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18430         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18431         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18432         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18433         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18434         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18435         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18436         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18437         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18438         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18439         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18440         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18441         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18442         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18443         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18444         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18445         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18446         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18447         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18448         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18449         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18450         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18452         Likewise.
18453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18454         Likewise.
18455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18456         Likewise.
18457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18458         Likewise.
18459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18460         Likewise.
18461         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18462         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18463         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18464         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18465         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18466         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18472         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18473         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18474         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18475         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18476         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18477         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18478         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18479         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18480         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18481         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18482         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18483         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18484         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18485         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18487         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18489         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18490         * nptl/pthreadP.h: Likewise.
18491         * nptl_db/structs.def: Likewise.
18492         * sysdeps/arm/sysdep.h: Likewise.
18493         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18494         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18495         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18496         * sysdeps/unix/alpha/sysdep.h: Likewise.
18497         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18499         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18500         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18501         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18502         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18503         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18504         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18505         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18506         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18507         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18508         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18509         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18510         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18514         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18515         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18516         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18517         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18518         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18519         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18520         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18521         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
18522         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18524         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
18525         * nptl/pthreadP.h: Likewise.
18526         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18527         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18528         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18529         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18530         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18531         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18532         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18533         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18534         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18535         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18536         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18537         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18539         Likewise.
18540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18541         Likewise.
18542         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18544         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18546         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18547         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18548         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18549         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18551         * dlfcn/dladdr.c: Use IS_IN.
18552         * dlfcn/dladdr1.c: Likewise.
18553         * dlfcn/dlclose.c: Likewise.
18554         * dlfcn/dlerror.c: Likewise.
18555         * dlfcn/dlinfo.c: Likewise.
18556         * dlfcn/dlmopen.c: Likewise.
18557         * dlfcn/dlopen.c: Likewise.
18558         * dlfcn/dlsym.c: Likewise.
18559         * dlfcn/dlvsym.c: Likewise.
18561         * include/ifaddrs.h: Use IS_IN.
18562         * inet/check_pf.c: Likewise.
18563         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18564         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
18566         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
18567         IS_IN_ldconfig.
18568         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
18569         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
18571         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
18572         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
18573         IS_IN (libc).
18575         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18577         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
18578         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18579         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18580         * include/libc-symbols.h (IS_IN_LIB): New macro.
18581         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
18582         * include/netdb.h: Likewise.
18583         * include/stap-probe.h: Remove all uses of IN_LIB.
18585         * Makeconfig (module-cppflags-real): Define MODULE_NAME
18586         instead of IN_MODULE.
18587         * include/libc-symbols.h (IN_MODULE): Define using
18588         MODULE_NAME.
18589         (PASTE_NAME, PASTE_NAME1): New macros.
18590         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18591         of IN_LIB.
18592         (STAP_PROBE_ASM): Likewise.
18594 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18596         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18597         __mach_init in dlopened libc.
18599 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
18601         * sysdeps/arm/preconfigure.ac: Delete EABI check.
18602         * sysdeps/arm/preconfigure: Regenerate.
18604 2014-11-21  Roland McGrath  <roland@hack.frob.com>
18606         * nptl/pthread_create.c (__pthread_create_2_1): Set
18607         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18608         when copying values from IATTR into PD.
18610 2014-11-21  Will Newton  <will.newton@linaro.org>
18611             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
18613         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18614         Refactor inline-asm.  Also add comment.
18616         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18617         ElfW macro instead of hardcoded Elf64 types.
18618         (la_aarch64_gnu_pltenter): Likewise.
18619         * sysdeps/aarch64/dl-machine.h
18620         (elf_machine_runtime_setup): Use ElfW(Addr).
18622         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18623         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18624         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18625         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18626         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18627         (R_AARCH64_TLS_DTPMOD64): Rename to ..
18628         (R_AARCH64_TLS_DTPMOD): This.
18629         (R_AARCH64_TLS_DTPREL64): Rename to ...
18630         (R_AARCH64_TLS_DTPREL): This.
18631         (R_AARCH64_TLS_TPREL64): Rename to ...
18632         (R_AARCH64_TLS_TPREL): This.
18633         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18634         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18635         R_AARCH64_TLS_TPREL64.
18636         (elf_machine_rela): Likewise.
18638 2014-11-21  Torvald Riegel  <triegel@redhat.com>
18640         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
18641         by setting it to 0.  64b atomics are not supported currently.
18643 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18645         [BZ #16469]
18646         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
18647         search domain names.
18649 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18651         [BZ #16469]
18652         * NEWS: Update.
18653         * resolv/res_query.c (__libc_res_nquerydomain): Retain
18654         trailing dot.
18655         * posix/tst-getaddrinfo5.c: New.
18656         * posix/Makefile (tests): Add it.
18658 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18660         [BZ #14498]
18661         * NEWS: Fixed.
18662         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
18663         after parsing line but before break_if_match.
18664         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
18665         if there is a protocol mismatch.
18667 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
18669         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
18670         because the potential race is on the user-supplied stream.
18672 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18674         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
18675         string literal if not passed a buffer.
18676         * manual/job.texi (ctermid): Update reasoning, note deviation
18677         from posix, suggest mtasurace when not passed a buffer, for
18678         future non-preliminary safety notes.
18680 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18682         * manual/users.texi (cuserid): Fix MT-Safety note for the case
18683         of not passing it a buffer.
18684         Reported by Peng Haitao.
18686 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18688         * manual/Makefile ($(objpfx)stamp-summary): Require
18689         check-safety.sh to pass.
18690         * manual/check-safety.sh: Wish for verification that every
18691         @deftypefn and @deftypefun is followed by a @safety remark.
18693 2014-11-20  Roland McGrath  <roland@hack.frob.com>
18695         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18697         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
18698         PTHREAD_CANCEL_ASYNCHRONOUS.
18699         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18700         send SIGCANCEL.
18702         * nptl/default-sched.h: New file.
18703         * sysdeps/unix/sysv/linux/default-sched.h: New file.
18704         * nptl/pthread_create.c: Include it.
18705         (__pthread_create_2_1): Use collect_default_sched instead of making
18706         Linux syscalls here directly.
18708 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18710         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18711         __pthread_once): Use C11 atomics.
18713 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18715         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18717 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18719         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18720         atomic_thread_fence_acquire, atomic_thread_fence_release,
18721         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18722         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18723         atomic_compare_exchange_weak_relaxed,
18724         atomic_compare_exchange_weak_acquire,
18725         atomic_compare_exchange_weak_release,
18726         atomic_exchange_acquire, atomic_exchange_release,
18727         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18728         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18729         atomic_fetch_and_acquire,
18730         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18732 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18734         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18735         USE_ATOMIC_COMPILER_BUILTINS): Define.
18736         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18738         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18740         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18742         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18744         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18746         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18748         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18750         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18751         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18752         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18754         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18756         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18758         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18760         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18762         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18764         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18766         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18768         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18770         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18771         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18772         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18774         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18777 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18779         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18780         the sched_priority value here.  It was already checked when the user
18781         called pthread_attr_setschedparam.
18783         * nptl/tst-bad-schedattr.c: New file.
18784         * nptl/Makefile (tests): Add it.
18786 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18787             Florian Weimer  <fweimer@redhat.com>
18788             Joseph Myers  <joseph@codesourcery.com>
18789             Adam Conrad  <adconrad@0c3.net>
18790             Andreas Schwab  <schwab@suse.de>
18791             Brooks  <bmoses@google.com>
18793         [BZ #17625]
18794         * wordexp-test.c (__dso_handle): Add prototype.
18795         (__register_atfork): Likewise.
18796         (__app_register_atfork): New function.
18797         (registered_forks): New global.
18798         (register_fork): New function.
18799         (test_case): Add 3 new tests for WRDE_CMDSUB.
18800         (main): Call __app_register_atfork.
18801         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18802         fork count is non-zero fail the test.
18803         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18804         is set.
18805         (parse_dollars): Remove check for WRDE_NOCMD.
18806         (parse_dquote): Likewise.
18808 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18810         * Makeconfig (built-modules): List non-library modules to be
18811         built.
18812         (module-cppflags): Include libc-modules.h for
18813         everything except shlib-versions.v.i.
18814         (CPPFLAGS): Use it.
18815         (before-compile): Add libc-modules.h.
18816         ($(common-objpfx)libc-modules.h,
18817         $(common-objpfx)libc-modules.stmp): New targets.
18818         (common-generated): Add libc-modules.h and libc-modules.stmp.
18819         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18820         * include/libc-symbols.h: Don't include libc-modules.h.
18821         * include/libc-modules.h: Remove file.
18822         * scripts/gen-libc-modules.awk: New script to generate
18823         libc-modules.h.
18824         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18825         Depend on libc-modules.stmp.
18827         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18829         * Makeconfig (in-module): Get value of libof set for the
18830         translation unit.
18831         (CPPFLAGS): Use $(in-module).
18832         * Makerules: Don't suffix routine names for nonlib.
18833         * include/libc-modules.h: New file.
18834         * include/libc-symbols.h: Include libc-modules.h
18835         (IS_IN): New macro to replace IS_IN_* macros.
18836         * elf/Makefile: Set libof-* for each routine.
18837         * elf/rtld-Rules: Likewise.
18838         * extra-modules.mk: Likewise.
18839         * iconv/Makefile: Likewise.
18840         * iconvdata/Makefile: Likewise.
18841         * locale/Makefile: Likewise.
18842         * malloc/Makefile: Likewise.
18843         * nss/Makefile: Likewise.
18844         * sysdeps/gnu/Makefile: Likewise.
18845         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18846         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18847         * sysdeps/s390/s390-64/Makefile: Likewise.
18848         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18849         CPPFLAGS for nscd instead of nonlib.
18851 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18853         * nptl/createthread.c: New file.
18855         * nptl/createthread.c: Moved ...
18856         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18858         * nptl/createthread.c: Add proper top-line comment.
18859         (do_clone): Folded into ...
18860         (create_thread): ... here.  Take new arguments STOPPED_START and
18861         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18862         increment __nptl_threads, do event-reporting logic, do
18863         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18864         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18865         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18866         just send SIGCANCEL.
18867         * nptl/pthread_create.c: Forward-declare create_thread before
18868         including createthread.c.
18869         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18870         declaration, and new macro START_THREAD_SELF to replace argument.
18871         Remove return statement.
18872         (report_thread_creation): New function.
18873         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18874         synchronization logic, and __nptl_nthreads increment here, around
18875         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18876         PD->parent_cancelhandling here, before create_thread.  When
18877         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18878         __deallocate_stack, and ENOMEM translation here.
18880 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18882         [BZ #17616]
18883         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18884         (mptwo): Rename to __mptwo.
18885         (__inv): Use __mptwo instead of mptwo.
18886         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18887         (mptwo): Rename to __mptwo.
18888         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18889         of mpone and __mptwo instead of mptwo.
18890         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18891         instead of mpone.
18892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18893         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18894         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18895         of mpone and __mptwo instead of mptwo.
18896         (__mpranred): Use __mpone instead of mpone.
18897         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18898         variable.
18899         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18900         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18901         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18902         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18903         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18904         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18905         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18906         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18907         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18908         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18909         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18910         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18911         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18912         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18913         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18914         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18915         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18916         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18917         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18919 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18921         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18922         replace BSD Handler xref with BSD Signal Handling.
18924 2014-11-17  Richard Henderson  <rth@redhat.com>
18926         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18927         (_FP_PACK_RAW_2): Remove.
18928         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18929         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18930         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18931         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18932         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18933         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18934         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18935         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18936         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18937         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18938         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18939         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18940         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18941         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18942         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18943         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18945 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18947         * signal/signal.h [__USE_MISC]
18948         (struct sigvec): Remove type.
18949         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18950         (sigvec): Remove declaration.
18951         * sysdeps/posix/sigvec.c: Moved ...
18952         * signal/sigvec.c: ... here, replacing old file.
18953         (struct sigvec): New type, copied from old signal.h definition.
18954         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18955         (__sigvec): Convert definition to prototype.
18956         (sigvec): Replace weak_alias with compat_symbol.
18957         * signal/Versions (libc: GLIBC_2.21): New version set.
18958         * include/signal.h: Remove __sigvec declaration.
18959         * sysdeps/unix/bsd/sigvec.c: Remove file.
18960         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18961         * manual/signal.texi (BSD Handler): Remove subsection.
18962         Move siginterrupt up to ...
18963         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18964         (Blocking in BSD): Fold subsection into its parent.
18965         * NEWS: Mention sigvec removal.
18967 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18969         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18970         (DLA_FMS): Make definition conditional only on [__FMA4__].
18971         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18972         definition.
18974         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18975         Make definition conditional only on [PROF].
18976         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18977         definition.
18978         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18979         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18981         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18982         !__GNUC__].
18983         * include/signal.h (__sigpause): Move declaration above call to
18984         libc_hidden_proto.
18985         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18986         variable.
18987         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18988         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18990 2014-11-14  David S. Miller  <davem@davemloft.net>
18992         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18993         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18995 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18997         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18998         * configure: Regenerated.
18999         * manual/install.texi (Tools for Compilation): Document a
19000         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19001         compiler verified to work.
19002         * INSTALL: Regenerated.
19004         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19005         redeclare with asm name.
19006         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19007         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19008         including <string.h>.
19009         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19010         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19011         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19012         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19013         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19014         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19015         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19017 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19019         * stdlib/strtol.c (__strtol): Use prototype definition.
19021         [BZ #17594]
19022         * stdlib/strtol.c (SYM__): New macro.
19023         (SYM__1): Likewise.
19024         (__strtol): Likewise.
19025         (strtol): Rename to __strtol and define as weak alias of
19026         __strtol.  Use libc_hidden_weak.
19028 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19030         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19031         Use numbered labels in inline assembly.
19033 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19035         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19036         Add setjmp LIBC_PROBE.
19037         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19038         Likewise.
19039         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19040         Add longjmp, longjmp_target LIBC_PROBE.
19041         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19042         Likewise.
19044 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19046         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19047         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19048         to get rid of unused variable warning.
19050 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19052         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19053         Check for unwind_backtrace ==  NULL only in SHARED case.
19054         (__backchain_backtrace): Compile only in SHARED case.
19055         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19056         Likewise.
19057         (__backchain_backtrace): Declare as static.
19059 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19061         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19062         (__libc_multiple_threads_ptr): Variable moved ...
19063         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19065 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19067         * conform/GlibcConform.pm: New file.
19068         * conform/conformtest.pl: Use GlibcConform module.
19069         * conform/linknamespace.pl: New file.
19070         * conform/list-header-symbols.pl: Likewise.
19071         * conform/Makefile (linknamespace-symlists-base): New variable.
19072         (linknamespace-symlists-tests): Likewise.
19073         (linknamespace-header-base): Likewise.
19074         (linknamespace-header-tests): Likewise.
19075         (tests-special): Add new tests.
19076         ($(linknamespace-symlists-tests)): New rule.
19077         (linknamespace-libs): New variable.
19078         ($(objpfx)symlist-stdlibs): New rule.
19079         ($(linknamespace-header-tests)): Likewise.
19080         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19081         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19082         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19083         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19084         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19085         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19086         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19087         (test-xfail-ISO/math.h/linknamespace): Likewise.
19088         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19089         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19090         (test-xfail-ISO/time.h/linknamespace): Likewise.
19091         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19092         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19093         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19094         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19095         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19096         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19097         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19098         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19099         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19100         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19101         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19102         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19103         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19104         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19105         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19106         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19107         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19108         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19109         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19110         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19111         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19112         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19113         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19114         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19115         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19116         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19117         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19118         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19119         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19120         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19121         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19122         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19123         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19124         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19125         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19126         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19127         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19128         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19129         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19130         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19131         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19132         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19133         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19134         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19135         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19136         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19137         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19138         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19139         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19140         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19141         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19142         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19143         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19144         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19145         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19146         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19147         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19148         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19149         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19150         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19151         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19152         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19153         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19154         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19155         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19156         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19157         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19158         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19159         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19160         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19161         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19162         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19163         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19164         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19165         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19166         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19167         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19168         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19169         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19170         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19171         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19172         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19173         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19174         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19175         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19176         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19177         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19178         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19179         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19180         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19181         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19182         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19183         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19184         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19185         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19186         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19187         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19188         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19189         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19190         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19191         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19192         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19193         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19194         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19195         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19196         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19197         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19198         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19199         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19200         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19201         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19202         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19203         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19204         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19205         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19206         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19207         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19208         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19209         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19210         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19211         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19212         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19213         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19214         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19215         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19216         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19217         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19218         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19219         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19220         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19221         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19222         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19223         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19224         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19225         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19226         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19227         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19228         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19229         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19230         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19231         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19232         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19233         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19234         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19235         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19236         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19237         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19238         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19239         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19240         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19242         [BZ #17589]
19243         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19244         of fgets_unlocked.
19246         [BZ #17585]
19247         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19248         (memmem): Rename to __memmem and define as weak alias of
19249         __memmem.  Use libc_hidden_weak.
19250         (__memmem): Use libc_hidden_def.
19251         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
19252         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19253         memmem.
19255         [BZ #17582]
19256         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19257         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
19258         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19259         and define as weak alias of __fgets_unlocked.  Use
19260         libc_hidden_weak.
19261         (__fgets_unlocked): Use libc_hidden_def.
19262         * include/stdio.h (__fgets_unlocked): Declare.  Use
19263         libc_hidden_proto.
19264         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19265         __fgets_unlocked instead of fgets_unlocked.
19266         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19267         (GET_NPROCS_CONF_PARSER): Likewise.
19268         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19269         (GET_NPROCS_CONF_PARSER): Likewise.
19271         [BZ #17574]
19272         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19273         weak alias of __wmemset.  Use libc_hidden_weak.
19274         (__wmemset): Use libc_hidden_def.
19275         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
19276         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19277         of wmemset.
19279         [BZ #17573]
19280         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19281         with asm name __mempcpy.
19282         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19284         [BZ #17572]
19285         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19286         and define as weak alias of __rawmemchr.
19287         (__rawmemchr): Do not define as strong alias of rawmemchr.
19289         [BZ #17571]
19290         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19291         alias of __qsort_r.
19292         (qsort): Call __qsort_r instead of qsort_r.
19293         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19294         (__qsort_r): Declare.  Call libc_hidden_proto.
19295         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19296         instead of qsort_r.
19297         * nscd/gai.c (__qsort_r): Define to qsort_r.
19298         * posix/tst-rfc3484.c (__qsort_r): Likewise.
19299         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19300         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19302         [BZ #17570]
19303         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19304         define as weak alias of __malloc_info.
19306         [BZ #17584]
19307         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19308         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19309         (__rewinddir): Use libc_hidden_def.
19310         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19311         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19312         (__rewinddir): Use libc_hidden_def.
19313         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19314         weak alias of __rewinddir.  Don't use libc_hidden_def.
19315         (__rewinddir): Use libc_hidden_def.
19316         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19317         (__rewinddir): Use libc_hidden_proto.
19318         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19319         rewinddir.
19320         (__getcwd): Use __rewinddir instead of rewinddir.
19322         [BZ #17583]
19323         * libio/fileno.c (fileno): Rename to __fileno and define as weak
19324         alias of __fileno.  Use libc_hidden_weak.
19325         (__fileno): Use libc_hidden_def.
19326         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19327         * libio/ftello.c (ftello): Rename to __ftello and define as weak
19328         alias of __ftello.
19329         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19330         __ftello.
19331         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19332         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
19333         libc_hidden_def.
19334         (fread_unlocked): Don't use libc_hidden_ver.
19335         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19336         and define as weak alias of __fread_unlocked.  Don't use
19337         libc_hidden_def.
19338         (__fread_unlocked): Use libc_hidden_def.
19339         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
19340         (ftello): Don't use libc_hidden_proto.
19341         (__ftello): Declare.  Use libc_hidden_proto.
19342         (fread_unlocked): Don't use libc_hidden_proto.
19343         (__fread_unlocked): Declare.  Use libc_hidden_proto.
19344         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19345         and __ftello instead of fileno, fread_unlocked and ftello.
19347 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19349         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19350         GOT12.
19351         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19352         Likewise.
19353         (_dl_start_user): Likewise.
19354         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19356 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
19357             Siddhesh Poyarekar  <siddhesh@redhat.com>
19359         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19360         Move argv and envp down instead of moving argc up.
19361         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19363 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
19365         [BZ #17506]
19366         * test-skeleton.c (main): Return successful if one of
19367         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19368         * string/tst-strcoll-overflow.c: Define expected status.
19370 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
19372         [BZ #17475]
19373         * locale/iso-639.def: Define Bhili and Tulu language codes.
19375 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
19377         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19379 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
19381         [BZ #17555]
19382         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19384 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19386         * configure.ac: Updated check of minimal required version to
19387         2.22.
19388         * manual/install.texi (Tools for Compilation): Updated version
19389         number.
19390         * configure: Regenerated.
19391         * INSTALL: Likewise.
19393 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
19395         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19396         __tls_get_addr.
19398 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
19400         * include/sys/wait.h (__libc_waitpid): Remove declaration.
19401         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19402         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19403         libc_hidden_weak.
19404         (waitpid): Define as alias of __waitpid.
19405         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19406         __waitpid.
19407         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19408         libc_hidden_weak.
19409         (waitpid): Define as alias of __waitpid.
19410         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19411         __libc_waitpid alias.
19412         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19413         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19414         Likewise.
19415         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19416         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19417         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19418         alias.
19419         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19420         __waitpid.
19421         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19422         libc_hidden_weak.
19423         (waitpid): Define as alias of __waitpid.
19425 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
19427         * manual/llio.texi: Add comment that write safety has been
19428         fixed in Linux.
19430         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19431         (localplt-build-dso): Add elf/ld.so.
19432         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19433         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19434         and free for ld.so.
19435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19436         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19438         Likewise.
19439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19440         Likewise.
19441         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19442         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19443         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19444         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19445         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19446         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19447         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19448         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19449         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19450         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19451         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19453 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
19455         [BZ #14132]
19456         * include/libc-symbols.h (INTUSE): Remove macro.
19457         (INTDEF): Likewise.
19458         (INTVARDEF): Likewise.
19459         (_INTVARDEF): Likewise.
19460         (INTDEF2): Likewise.
19461         (INTVARDEF2): Likewise.
19462         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19463         rtld_hidden_def instead of INTVARDEF.
19464         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19465         (_dl_starting_up_internal): Remove declaration.
19466         (_dl_starting_up): Use rtld_hidden_proto.
19467         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19468         declaration.
19469         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19470         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19471         _dl_starting_up.
19472         * elf/dl-writev.h (_dl_writev): Likewise.
19473         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19474         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19475         _dl_starting_up_internal.
19477 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19479         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19480         test-skeleton.c.
19482 2014-11-05  Will Newton  <will.newton@linaro.org>
19484         * benchtests/Makefile: (bench-malloc): Add malloc thread
19485         scalability benchmark.
19486         * benchtests/bench-malloc-threads.c: New file.
19488 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
19490         * sysdeps/aarch64/strchrnul.S: New file.
19492 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19494         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19495         definition.
19496         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19497         Likwise.
19498         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19499         Likewise.
19500         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19501         Likewise.
19502         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19503         Likewise.
19504         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19505         Likewise.
19507 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
19509         * catgets/test-gencat.c: Use test-skeleton.c.
19510         * catgets/tst-catgets.c: Likewise.
19511         * csu/tst-empty.c: Likewise.
19512         * elf/tst-audit2.c: Likewise.
19513         * elf/tst-global1.c: Likewise.
19514         * elf/tst-pathopt.c: Likewise.
19515         * elf/tst-piemod1.c: Likewise.
19516         * elf/tst-tls10.c: Likewise.
19517         * elf/tst-tls11.c: Likewise.
19518         * elf/tst-tls12.c: Likewise.
19519         * gnulib/tst-gcc.c: Likewise.
19520         * iconvdata/tst-e2big.c: Likewise.
19521         * iconvdata/tst-loading.c: Likewise.
19522         * iconv/tst-iconv1.c: Likewise.
19523         * iconv/tst-iconv2.c: Likewise.
19524         * inet/test-inet6_opt.c: Likewise.
19525         * inet/tst-gethnm.c: Likewise.
19526         * inet/tst-network.c: Likewise.
19527         * inet/tst-ntoa.c: Likewise.
19528         * intl/tst-codeset.c: Likewise.
19529         * intl/tst-gettext2.c: Likewise.
19530         * intl/tst-gettext3.c: Likewise.
19531         * intl/tst-ngettext.c: Likewise.
19532         * intl/tst-translit.c: Likewise.
19533         * io/test-stat.c: Likewise.
19534         * libio/test-fmemopen.c: Likewise.
19535         * libio/tst-freopen.c: Likewise.
19536         * libio/tst-sscanf.c: Likewise.
19537         * libio/tst-ungetwc1.c: Likewise.
19538         * libio/tst-ungetwc2.c: Likewise.
19539         * libio/tst-widetext.c: Likewise.
19540         * localedata/tst-ctype.c: Likewise.
19541         * localedata/tst-digits.c: Likewise.
19542         * localedata/tst-leaks.c: Likewise.
19543         * localedata/tst-mbswcs1.c: Likewise.
19544         * localedata/tst-mbswcs2.c: Likewise.
19545         * localedata/tst-mbswcs3.c: Likewise.
19546         * localedata/tst-mbswcs4.c: Likewise.
19547         * localedata/tst-mbswcs5.c: Likewise.
19548         * localedata/tst-setlocale.c: Likewise.
19549         * localedata/tst-trans.c: Likewise.
19550         * localedata/tst-wctype.c: Likewise.
19551         * localedata/tst-xlocale1.c: Likewise.
19552         * login/tst-grantpt.c: Likewise.
19553         * malloc/tst-calloc.c: Likewise.
19554         * malloc/tst-malloc.c: Likewise.
19555         * malloc/tst-mallocstate.c: Likewise.
19556         * malloc/tst-mcheck.c: Likewise.
19557         * malloc/tst-mtrace.c: Likewise.
19558         * malloc/tst-obstack.c: Likewise.
19559         * math/atest-exp2.c: Likewise.
19560         * math/atest-exp.c: Likewise.
19561         * math/atest-sincos.c: Likewise.
19562         * math/test-matherr.c: Likewise.
19563         * math/test-misc.c: Likewise.
19564         * math/test-powl.c: Likewise.
19565         * math/tst-definitions.c: Likewise.
19566         * misc/tst-dirname.c: Likewise.
19567         * misc/tst-efgcvt.c: Likewise.
19568         * misc/tst-fdset.c: Likewise.
19569         * misc/tst-hsearch.c: Likewise.
19570         * misc/tst-mntent2.c: Likewise.
19571         * nptl/tst-sem7.c: Likewise.
19572         * nptl/tst-sem8.c: Likewise.
19573         * nptl/tst-sem9.c: Likewise.
19574         * nss/test-netdb.c: Likewise.
19575         * posix/tst-fnmatch.c: Likewise.
19576         * posix/tst-getlogin.c: Likewise.
19577         * posix/tst-gnuglob.c: Likewise.
19578         * posix/tst-mmap.c: Likewise.
19579         * pwd/tst-getpw.c: Likewise.
19580         * resolv/tst-inet_ntop.c: Likewise.
19581         * rt/tst-timer.c: Likewise.
19582         * stdio-common/test-fseek.c: Likewise.
19583         * stdio-common/test-popen.c: Likewise.
19584         * stdio-common/test-vfprintf.c: Likewise.
19585         * stdio-common/tst-cookie.c: Likewise.
19586         * stdio-common/tst-fileno.c: Likewise.
19587         * stdio-common/tst-gets.c: Likewise.
19588         * stdio-common/tst-obprintf.c: Likewise.
19589         * stdio-common/tst-perror.c: Likewise.
19590         * stdio-common/tst-sprintf2.c: Likewise.
19591         * stdio-common/tst-sprintf3.c: Likewise.
19592         * stdio-common/tst-sprintf.c: Likewise.
19593         * stdio-common/tst-swprintf.c: Likewise.
19594         * stdio-common/tst-tmpnam.c: Likewise.
19595         * stdio-common/tst-unbputc.c: Likewise.
19596         * stdio-common/tst-wc-printf.c: Likewise.
19597         * stdlib/tst-environ.c: Likewise.
19598         * stdlib/tst-fmtmsg.c: Likewise.
19599         * stdlib/tst-limits.c: Likewise.
19600         * stdlib/tst-rand48-2.c: Likewise.
19601         * stdlib/tst-rand48.c: Likewise.
19602         * stdlib/tst-random2.c: Likewise.
19603         * stdlib/tst-random.c: Likewise.
19604         * stdlib/tst-strtol.c: Likewise.
19605         * stdlib/tst-strtoll.c: Likewise.
19606         * stdlib/tst-tls-atexit.c: Likewise.
19607         * stdlib/tst-xpg-basename.c: Likewise.
19608         * string/test-ffs.c: Likewise.
19609         * string/tst-bswap.c: Likewise.
19610         * string/tst-inlcall.c: Likewise.
19611         * string/tst-strtok.c: Likewise.
19612         * string/tst-strxfrm.c: Likewise.
19613         * sysdeps/x86_64/tst-audit10.c: Likewise.
19614         * sysdeps/x86_64/tst-audit3.c: Likewise.
19615         * sysdeps/x86_64/tst-audit4.c: Likewise.
19616         * sysdeps/x86_64/tst-audit5.c: Likewise.
19617         * time/tst-ftime_l.c: Likewise.
19618         * time/tst-getdate.c: Likewise.
19619         * time/tst-mktime3.c: Likewise.
19620         * time/tst-mktime.c: Likewise.
19621         * time/tst-posixtz.c: Likewise.
19622         * time/tst-strptime2.c: Likewise.
19623         * time/tst-strptime3.c: Likewise.
19624         * wcsmbs/tst-btowc.c: Likewise.
19625         * wcsmbs/tst-mbrtowc.c: Likewise.
19626         * wcsmbs/tst-mbsrtowcs.c: Likewise.
19627         * wcsmbs/tst-wchar-h.c: Likewise.
19628         * wcsmbs/tst-wcpncpy.c: Likewise.
19629         * wcsmbs/tst-wcrtomb.c: Likewise.
19630         * wcsmbs/tst-wcsnlen.c: Likewise.
19631         * wcsmbs/tst-wcstof.c: Likewise.
19633 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
19635         [BZ #14132]
19636         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19637         INTDEF.
19638         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19639         declaration.
19640         (_dl_mcount): Use rtld_hidden_proto.
19641         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
19642         _dl_mcount.
19643         * elf/rtld.c (_rtld_global_ro): Likewise.
19645         [BZ #14132]
19646         * elf/dl-init.c (_dl_init): Don't use INTDEF.
19647         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
19648         of _dl_init_internal.
19649         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
19650         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19651         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
19652         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
19653         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
19654         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
19655         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
19656         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
19657         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
19658         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
19659         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
19660         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
19661         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19662         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19663         * sysdeps/tile/dl-start.S (_start): Likewise.
19664         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
19665         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
19667         [BZ #14132]
19668         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
19669         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
19670         (rtld_progname): Make macro definition unconditional.
19671         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
19672         INTDEF.
19673         (dlmopen_doit): Do not use INTUSE with _dl_argv.
19674         (dl_main): Likewise.
19675         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19676         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
19677         instead of _dl_argv_internal.
19678         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19679         __GI__dl_argv instead of INTUSE(_dl_argv).
19680         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
19681         __GI__dl_argv instead of _dl_argv_internal.
19683         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
19684         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
19685         macro.
19686         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
19687         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
19688         New macro.
19689         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
19690         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
19691         macro.
19692         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
19693         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
19695 2014-11-04  Andreas Schwab  <schwab@suse.de>
19697         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19699 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19701         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19702         mtvsrd instruction in binary form.
19704 2014-11-03  Andreas Schwab  <schwab@suse.de>
19706         [BZ #17522]
19707         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19708         for less than MB_LEN_MAX use a local buffer of that size.
19709         * libio/tst-fputws.c: New file.
19710         * libio/Makefile (tests): Add tst-fputws.
19712 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19714         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19715         the size of the fpu_fr.fpu_dregs[] array.
19717 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19719         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19720         (__nanosleep): Do not define as alias.
19721         (nanosleep): Define as alias of __nanosleep.
19722         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19723         __libc_nanosleep name.
19725 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19727         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19728         install.texi in comment.
19730 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19732         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19733         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19734         ... add here and use lwsync or sync ...
19735         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19736         ... and add here using lwsync.
19738 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19740         * elf/dl-machine-reject-phdr.h: New file.
19741         * elf/dl-load.c: #include that.
19742         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19743         if that returned true.
19745 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19747         [BZ #17496]
19748         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19749         gen-as-const-headers chunk.  Add a big scare comment after the last
19750         safe place to touch before-compile.
19752 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19754         * manual/install.texi (Tools for Compilation): Update autoconf
19755         version requirements.
19756         * INSTALL: Regenerated.
19758         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19759         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19760         (__libc_pselect): Likewise.
19762         [BZ #14138]
19763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19768 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19770         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19771         correct barrier instruction.
19772         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19773         Likewise.
19774         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19775         Likewise.
19777 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19779         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19780         after defining inlines.  Instead, just use parens to defeat macro
19781         expansion of __isctype in its declaration.
19783 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19785         * include/sys/uio.h (__libc_readv): Remove declaration.
19786         (__libc_writev): Likewise.
19787         * misc/readv.c (__libc_readv): Rename to __readv.
19788         (__readv): Do not define as alias.
19789         (readv): Define as alias of __readv.
19790         * misc/writev.c (__libc_writev): Rename to __writev.
19791         (__writev): Do not define as alias.
19792         (writev): Define as alias of __writev.
19793         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19794         (__readv): Do not define as alias.
19795         (readv): Define unconditionally as alias of __readv.
19796         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19797         (__writev): Do not define as alias.
19798         (writev): Define unconditionally as alias of __writev.
19799         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19800         name.
19801         (writev): Do not define __libc_writev name.
19803 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19805         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19806         (convert_charseq): New function, broken out of ...
19807         (use_from_charmap): ... here.  Call it.
19808         (use_to_charmap): Use convert_charseq and free instead of duplicating
19809         its code with a variable-length stack struct.
19811 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19813         * include/fcntl.h (__libc_creat): Remove declaration.
19814         * io/creat.c (__libc_creat): Rename to creat.
19815         (creat): Do not define as alias.
19816         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19817         of creat instead of __libc_creat.
19818         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19819         to creat.
19820         (creat): Do not define as alias.
19821         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19822         __libc_creat.
19823         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19824         __libc_creat name.
19825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19826         Likewise.
19828 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19830         * manual/llio.texi: Add comments discussing why write() may be
19831         considered MT-unsafe on Linux.
19833 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19835         * dl-load.c (local_strdup): Remove.
19836         (expand_dynamic_string_token): Use __strdup.
19837         (decompose_rpath): Likewise.
19838         (_dl_map_object): Likewise.
19840 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19842         [BZ #14132]
19843         * sysdeps/generic/unwind-dw2-fde.c
19844         (__register_frame_info_bases_internal): Do not declare.
19845         (__register_frame_info_table_bases_internal): Likewise.
19846         (__deregister_frame_info_bases_internal): Likewise.
19847         (__register_frame_info_bases): Declare and use hidden_proto before
19848         definition.  Use hidden_def instead of INTDEF.
19849         (__register_frame_info_table_bases): Likewise.
19850         (__deregister_frame_info_bases): Likewise.
19851         (__register_frame_info): Do not use INTUSE.
19852         (__register_frame): Likewise.
19853         (__register_frame_info_table): Likewise.
19854         (__register_frame_table): Likewise.
19855         (__deregister_frame_info): Likewise.
19856         (__deregister_frame): Likewise.
19858 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19860         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19861         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19862         not undefine.
19863         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19864         Likewise.
19865         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19866         Likewise.
19868 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19870         [BZ #14138]
19871         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19872         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19873         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19874         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19875         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19876         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19877         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19878         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19879         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19880         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19881         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19882         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19883         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19884         syscall.
19885         (setfsuid): Likewise.
19886         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19887         (setfsuid): Likewise.
19888         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19889         (setfsuid): Likewise.
19890         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19891         Likewise.
19892         (setfsuid): Likewise.
19893         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19894         (setfsuid): Likewise.
19895         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19896         Likewise.
19897         (setfsuid): Likewise.
19899 2014-10-27  Andreas Schwab  <schwab@suse.de>
19901         [BZ #17501]
19902         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19903         check for Slow_SSE4_2 feature bit.
19904         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19905         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19906         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19907         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19909 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19911         * configure.ac: Validate compiler version with a empirical test of
19912         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19913         $CC -v output.
19914         * configure: Regenerated.
19916         * inet/htons.c (htons): Prototypify.
19917         * inet/htonl.c (htonl): Likewise.
19919 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19921         * string/strncat.c (strncat): Improve performance by using strlen.
19923 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19925         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19927 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19929         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19930         Call libc_fetestexcept_aarch64.
19932 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19934         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19935         Call libc_feholdexcept_aarch64.
19937 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19939         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19940         Call get_rounding_mode.
19942 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19944         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19945         Simplify logic.
19947 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19949         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19950         Simplify logic.
19952 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19954         [BZ #14138]
19955         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19956         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19957         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19958         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19959         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19960         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19961         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19962         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19963         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19964         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19965         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19966         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19967         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19968         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19969         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19970         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19971         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19972         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19973         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19974         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19975         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19976         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19977         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19978         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19979         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19980         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19981         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19982         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19983         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19984         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19985         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19986         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19987         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19988         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19989         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19990         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19991         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19992         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19993         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19994         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19995         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19996         syscall.
19997         (geteuid): Likewise.
19998         (getgid): Likewise.
19999         (getuid): Likewise.
20000         (getresgid): Likewise.
20001         (getresuid): Likewise.
20002         (getgroups): Likewise.
20003         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20004         (geteuid): Likewise.
20005         (getgid): Likewise.
20006         (getuid): Likewise.
20007         (getresgid): Likewise.
20008         (getresuid): Likewise.
20009         (getgroups): Likewise.
20010         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20011         (geteuid): Likewise.
20012         (getgid): Likewise.
20013         (getuid): Likewise.
20014         (getresgid): Likewise.
20015         (getresuid): Likewise.
20016         (getgroups): Likewise.
20017         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20018         Likewise.
20019         (geteuid): Likewise.
20020         (getgid): Likewise.
20021         (getuid): Likewise.
20022         (getresgid): Likewise.
20023         (getresuid): Likewise.
20024         (getgroups): Likewise.
20025         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20026         (geteuid): Likewise.
20027         (getgid): Likewise.
20028         (getuid): Likewise.
20029         (getresgid): Likewise.
20030         (getresuid): Likewise.
20031         (getgroups): Likewise.
20032         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20033         Likewise.
20034         (geteuid): Likewise.
20035         (getgid): Likewise.
20036         (getuid): Likewise.
20037         (getgroups): Likewise.
20039         [BZ #14138]
20040         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20041         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20042         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20043         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20044         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20045         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20046         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20047         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20048         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20049         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20050         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20051         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20052         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20053         __chown.
20054         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20055         (lchown): Likewise.
20056         (fchown): Likewise.
20057         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20058         Likewise.
20059         (lchown): Likewise.
20060         (fchown): Likewise.
20061         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20062         (lchown): Likewise.
20063         (fchown): Likewise.
20064         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20065         Likewise.
20066         (lchown): Likewise.
20067         (fchown): Likewise.
20069 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20071         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20072         Simplify logic.
20074 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20076         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20077         Cleanup logic.
20079 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20081         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20082         Remove unused include.
20084 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20086         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20087         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20088         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20089         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20091 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20092             Helge Deller <deller@gmx.de>
20094         [BZ #17508]
20095         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20096         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20097         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20099 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20101         [BZ #14132]
20102         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20103         Remove macro definition.
20104         (__ashrdi3_v_glibc20): Likewise.
20105         (__lshrdi3_v_glibc20): Likewise.
20106         (__cmpdi2_v_glibc20): Likewise.
20107         (__ucmpdi2_v_glibc20): Likewise.
20108         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20109         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20110         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20111         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20112         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20113         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20115 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20117         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20118         old GNU extension [0] syntax.
20119         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20120         alloca rather than an array member with variable length.
20121         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20122         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20123         (parse_opt): ... here.  Likewise use alloca there.
20124         Validate the -i argument before checking for rootness.
20125         (send_shutdown): New function, broken out of ...
20126         (parse_opt): ... here.
20128 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20130         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20131         macro to get at the _rt_local_ro field.
20132         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20133         ([PIC] case) or _dl_hwcap ([!PIC] case).
20134         * sysdeps/arm/setjmp.S: Likewise.
20136         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20137         * sysdeps/arm/configure.ac: New check to define it.
20138         * sysdeps/arm/configure: Regenerated.
20139         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20140         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20141         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20142         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20143         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20144         Use move/movt pair instead of a load.
20145         (LDST_GLOBAL): Macro removed.
20146         (LDR_GLOBAL): New macro replaces it.
20147         (LDR_HIDDEN): New macro.
20148         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20149         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20151         * setjmp/tst-setjmp-static.c: New file.
20152         * setjmp/Makefile (tests): Add it.
20153         (tests-static): New variable.
20155 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
20157         [BZ #17485]
20158         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20160 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20162         [BZ #14132]
20163         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20165 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20167         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20169 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20171         * io/fts.c (dirent_not_directory): New function.
20172         (fts_build): Call it.
20174 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20176         * nptl/version.c (__nptl_main): Use normal __write rather than
20177         INTERNAL_SYSCALL.
20178         (banner): Update copyright years.
20180         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20181         gettimeofday.
20182         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20183         * nptl/pthread_cond_timedwait.c: Likewise.
20184         * nptl/pthread_mutex_timedlock.c: Likewise.
20185         * nptl/sem_timedwait.c: Likewise.
20187         * sysdeps/nptl/bits/libc-lock.h
20188         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20189         (__libc_lock_init_recursive): Return void, not 0.
20190         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20191         (__libc_rwlock_init): Likewise.
20192         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20194 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20196         [BZ #15215]
20197         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20198         (__pthread_once_slow): ... here.
20199         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20200         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20202 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20204         [BZ #15215]
20205         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20206         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20207         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20208         * nptl/pthread_once.c (__pthread_once): Likewise.
20209         Update comments.
20211 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20213         [BZ #14138]
20214         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20215         name.
20216         (writev): Use __libc_writev as strong name.
20217         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20218         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20220 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20222         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20224         * sysdeps/i386/nptl/tls.h
20225         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20226         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20227         New macros.
20228         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20229         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20230         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20231         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20232         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20233         Call CHECK_THREAD_SYSINFO instead of doing an assert.
20235         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20236         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20237         on [__NR_futex].
20238         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20239         broken out of ...
20240         (__pthread_mutex_init): ... here.  Call it.
20241         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20242         Conditionalize PI cases on [__NR_futex].
20243         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20244         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20245         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20247         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20248         conditional on [SIGSETXID].
20249         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20250         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20251         is defined.  Likewise for SIGSETXID.
20252         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20253         Conditionalize definitions on [SIGSETXID].
20254         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20255         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20256         unblocking on [SIGCANCEL].
20258         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20259         [__NR_set_robust_list].
20261 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20263         * string/strcoll_l.c (get_next_seq): Fix up formatting.
20264         (do_compare): Likewise.
20266 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
20268         [BZ #15884]
20269         * string/strcoll_l.c: Don't include stdio.h.
20270         (coll_seq): Remove members idxarr and rulearr.
20271         (get_next_seq_cached): Remove function.
20272         (get_next_seq): Likewise.
20273         (get_next_seq_nocache): Rename to get_next_seq.
20274         (do_compare): Remove function.
20275         (do_compare_nocache): Rename to do_compare.
20276         (STRCOLL): Remove weight and rules cache.
20278 2014-10-16  Roland McGrath  <roland@hack.frob.com>
20280         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20281         * sysdeps/arm/sfp-machine.h: ... to here.
20282         * sysdeps/arm/Implies: Remove arm/soft-fp.
20284 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20286         * conform/data/sys/utsname.h-data (*_t): Allow.
20287         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20288         [POSIX] (WEXITED): Do not expect constant.
20289         [POSIX] (WSTOPPED): Likewise.
20290         [POSIX] (WNOHANG): Likewise.
20291         [POSIX] (WNOWAIT): Likewise.
20292         [POSIX] (siginfo_t): Do not expect type or elements.
20293         [POSIX] (pid_t): Do not expect type.
20294         [POSIX] (signal.h): Do not allow header.
20295         [POSIX] (sys/resource.h): Likewise.
20296         [POSIX] (si_*): Do not allow pattern.
20297         [POSIX] (W*): Likewise.
20298         [POSIX] (P_*): Likewise.
20299         [POSIX] (BUS_*): Likewise.
20300         [POSIX] (CLD_*): Likewise.
20301         [POSIX] (FPE_*): Likewise.
20302         [POSIX] (ILL_*): Likewise.
20303         [POSIX] (POLL_*): Likewise.
20304         [POSIX] (SEGV_*): Likewise.
20305         [POSIX] (SI_*): Likewise.
20306         [POSIX] (TRAP_*): Likewise.
20307         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20308         variable.
20310 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20312         [BZ #12926]
20313         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20314         infinite loop when __recvmsg returns 0.
20316 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
20318         * CANCEL-FCT-WAIVE: Remove file.
20319         * CANCEL-FILE-WAIVE: Likewise.
20321         [BZ #14132]
20322         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20323         instead of INTVARDEF.
20324         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20325         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20326         rtld_hidden_data_def instead of INTVARDEF.
20327         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20328         * elf/dl-deps.c (expand_dst): Likewise.
20329         * elf/dl-load.c (_dl_dst_count): Likewise.
20330         (_dl_dst_substitute): Likewise.
20331         (decompose_rpath): Likewise.
20332         (_dl_init_paths): Likewise.
20333         (open_path): Likewise.
20334         (_dl_map_object): Likewise.
20335         * elf/rtld.c (dl_main): Likewise.
20336         (process_dl_audit): Likewise.
20337         (process_envvars): Likewise.
20338         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20339         Remove declaration.
20340         (__libc_enable_secure): Use rtld_hidden_proto.
20342 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20344         * elf/dl-load.c
20345         (add_path): New function broken out of _dl_rtld_di_serinfo.
20346         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
20348 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20350         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20351         parentheses around macro arguments.
20352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20358         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20362         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20363         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20366         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20367         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20368         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20371         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20376         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20379         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20380         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20381         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20382         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20383         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20384         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20385         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20386         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20387         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20388         Likewise.
20389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20390         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20391         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20394         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20395         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20396         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20397         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20398         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20399         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20400         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20401         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20402         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20403         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20406         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20407         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20408         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20410         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20411         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20412         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20413         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20414         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20415         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20416         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20417         (_FP_FRAC_SRS_1): Likewise.
20418         (_FP_FRAC_CLZ_1): Likewise.
20419         (_FP_MUL_MEAT_1_imm): Likewise.
20420         (_FP_MUL_MEAT_1_wide): Likewise.
20421         (_FP_MUL_MEAT_1_hard): Likewise.
20422         (_FP_SQRT_MEAT_1): Likewise.
20423         (_FP_FRAC_ASSEMBLE_1): Likewise.
20424         (_FP_FRAC_DISASSEMBLE_1): Likewise.
20425         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20426         (__FP_CLZ_2): Likewise.
20427         (_FP_MUL_MEAT_2_wide): Likewise.
20428         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20429         (_FP_MUL_MEAT_2_gmp): Likewise.
20430         (_FP_MUL_MEAT_2_120_240_double): Likewise.
20431         (_FP_SQRT_MEAT_2): Likewise.
20432         (_FP_FRAC_ASSEMBLE_2): Likewise.
20433         (_FP_FRAC_DISASSEMBLE_2): Likewise.
20434         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20435         (_FP_FRAC_CLZ_4): Likewise.
20436         (_FP_MUL_MEAT_4_wide): Likewise.
20437         (_FP_MUL_MEAT_4_gmp): Likewise.
20438         (_FP_SQRT_MEAT_4): Likewise.
20439         (_FP_FRAC_ASSEMBLE_4): Likewise.
20440         (_FP_FRAC_DISASSEMBLE_4): Likewise.
20441         * soft-fp/op-common.h (_FP_CMP): Likewise.
20442         (_FP_CMP_EQ): Likewise.
20443         (_FP_CMP_UNORD): Likewise.
20444         (_FP_TO_INT): Likewise.
20445         (_FP_FROM_INT): Likewise.
20446         [!__FP_CLZ] (__FP_CLZ): Likewise.
20447         (_FP_DIV_HELP_imm): Likewise.
20448         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20449         Likewise.
20450         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20451         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20452         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20453         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20454         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20455         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20456         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20459         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20460         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20461         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20462         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20463         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20464         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20465         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20466         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20467         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20468         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20469         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20470         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20474         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20477         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20478         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20479         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20480         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20481         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20482         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20483         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20484         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20485         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20486         (FP_UNPACK_RAW_SP): Likewise.
20487         (FP_PACK_RAW_S): Likewise.
20488         (FP_PACK_RAW_SP): Likewise.
20489         (FP_UNPACK_S): Likewise.
20490         (FP_UNPACK_SP): Likewise.
20491         (FP_UNPACK_SEMIRAW_S): Likewise.
20492         (FP_UNPACK_SEMIRAW_SP): Likewise.
20493         (FP_PACK_S): Likewise.
20494         (FP_PACK_SP): Likewise.
20495         (FP_PACK_SEMIRAW_S): Likewise.
20496         (FP_PACK_SEMIRAW_SP): Likewise.
20497         (_FP_SQRT_MEAT_S): Likewise.
20498         (FP_CMP_S): Likewise.
20499         (FP_CMP_EQ_S): Likewise.
20500         (FP_CMP_UNORD_S): Likewise.
20501         (FP_TO_INT_S): Likewise.
20502         (FP_FROM_INT_S): Likewise.
20504         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20506         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20507         (FP_EX_INVALID_IMZ): Likewise.
20508         (FP_EX_INVALID_IMZ_FMA): Likewise.
20509         (FP_EX_INVALID_ISI): Likewise.
20510         (FP_EX_INVALID_ZDZ): Likewise.
20511         (FP_EX_INVALID_IDI): Likewise.
20512         (FP_EX_INVALID_SQRT): Likewise.
20513         (FP_EX_INVALID_CVI): Likewise.
20514         (FP_EX_INVALID_VC): Likewise.
20515         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
20516         "invalid" exceptions.
20517         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
20518         (_FP_ADD_INTERNAL): Likewise.
20519         (_FP_MUL): Likewise.
20520         (_FP_FMA): Likewise.
20521         (_FP_DIV): Likewise.
20522         (_FP_CMP_CHECK_NAN): Likewise.
20523         (_FP_SQRT): Likewise.
20524         (_FP_TO_INT): Likewise.
20525         (FP_EXTEND): Likewise.
20527 2014-10-09  Allan McRae  <allan@archlinux.org>
20529         * po/fr.po: Update French translation from translation project.
20531 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20533         [BZ #14132]
20534         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
20535         of INTDEF.
20536         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
20537         (__cxa_atexit): Use libc_hidden_proto.
20538         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
20540         [BZ #14132]
20541         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
20542         declaration.
20543         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
20544         [!_ISOMAC] (__iswspace_l_internal): Likewise.
20545         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20546         [!_ISOMAC] (__iswctype_internal): Likewise.
20547         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
20548         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20549         alias.
20550         (fcntl): Remove __fcntl_internal alias.
20551         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
20552         __connect_internal alias.
20553         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
20554         Likewise.
20556         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
20557         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
20558         FP_DENORM_ZERO.
20559         (_FP_CHECK_FLUSH_ZERO): New macro.
20560         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
20561         (_FP_CMP): Likewise.
20562         (_FP_CMP_EQ): Likewise.
20563         (_FP_TO_INT): Do not set inexact for subnormal arguments if
20564         FP_DENORM_ZERO.
20565         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
20566         (FP_TRUNC): Likewise.
20568         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
20569         treated as invalid conversion, not as normal exponent.
20571         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
20572         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
20573         (_FP_CMP_EQ): Likewise.
20574         (_FP_CMP_UNORD): Likewise.
20575         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
20576         (FP_CMP_EQ_D): Likewise.
20577         (FP_CMP_UNORD_D): Likewise.
20578         * soft-fp/extended.h (FP_CMP_E): Likewise.
20579         (FP_CMP_EQ_E): Likewise.
20580         (FP_CMP_UNORD_E): Likewise.
20581         * soft-fp/quad.h (FP_CMP_Q): Likewise.
20582         (FP_CMP_EQ_Q): Likewise.
20583         (FP_CMP_UNORD_Q): Likewise.
20584         * soft-fp/single.h (FP_CMP_S): Likewise.
20585         (FP_CMP_EQ_S): Likewise.
20586         (FP_CMP_UNORD_S): Likewise.
20587         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20588         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20589         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20590         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20591         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20592         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20593         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20594         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20595         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20596         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20597         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20598         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20599         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20600         to FP_CMP_Q.
20601         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20602         FP_CMP_Q.
20603         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20604         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20605         FP_CMP_EQ_Q.
20606         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20607         FP_CMP_Q.
20608         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20609         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20610         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20611         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20612         FP_CMP_EQ_Q.
20613         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20614         FP_CMP_Q.
20615         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20616         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20617         FP_CMP_EQ_Q.
20618         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20619         FP_CMP_Q.
20620         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20621         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20622         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20623         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20624         FP_CMP_EQ_Q.
20626         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20627         a subnormal result, set the underflow exception if trapping on
20628         underflow is enabled.
20629         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20630         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20631         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20632         redefine to 0.
20633         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20634         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20635         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20636         * soft-fp/extendxftf2.c (__extendxftf2): Use
20637         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20639         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20640         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
20641         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20642         FP_HANDLE_EXCEPTIONS.
20643         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
20644         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20645         FP_HANDLE_EXCEPTIONS.
20646         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
20647         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20648         FP_HANDLE_EXCEPTIONS.
20649         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
20650         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20651         FP_HANDLE_EXCEPTIONS.
20653 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
20655         [BZ #14132]
20656         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
20657         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
20658         use INTUSE.
20659         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
20660         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
20661         Remove alias.
20662         (__adjtimex): Define using libc_hidden_ver.
20663         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
20664         Remove declaration.
20665         (ntp_gettime): Call __adjtimex directly.
20666         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
20667         Remove declaration.
20668         (ntp_gettimex): Call __adjtimex directly.
20669         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
20670         __adjtimex_internal alias.
20672 2014-10-08  Roland McGrath  <roland@hack.frob.com>
20674         [BZ #17460]
20675         * nscd/nscd.c (more_help): Rewrite list of tables collection
20676         using xstrdup and asprintf.
20678         * nscd/nscd_conf.c: Remove local xstrdup declaration.
20680 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20681             Roland McGrath  <roland@hack.frob.com>
20683         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
20684         (do_lookup_unique): ... local function 'enter' here; update callers.
20686 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
20688         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
20689         compat_symbol calls on [SHARED].
20690         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
20691         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
20692         Remove.
20693         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20694         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
20695         (oldsetrlimit): Remove.
20696         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20698         (lchown): New syscall entry.
20699         (oldsetrlimit): Remove.
20700         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20701         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20702         (oldsetrlimit): Remove.
20703         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20705         [BZ #14138]
20706         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20707         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20708         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20709         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20710         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20711         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20712         (fchown): Likewise.
20713         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20714         (fchown): Likewise.
20715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20716         Likewise.
20718 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20720         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20721         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20722         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20723         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20724         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20725         Likewise.
20726         (__old_sem_post): Likewise.
20728 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20730         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20731         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20732         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20733         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20734         Use INLINE_VSYSCALL macro.
20735         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20736         __vdso_clock_gettime.
20737         * sysdeps/unix/sysv/linux/tile/init-first.c
20738         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20739         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20740         __vdso_clock_gettime.
20742         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20743         to set up frame more cleanly.
20745         * sysdeps/tile/memcmp.c: New file.
20747         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20749         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20750         * sysdeps/tile/tilegx/strcasestr.c: New file.
20751         * sysdeps/tile/tilegx/strnlen.c: New file.
20752         * sysdeps/tile/tilegx/strstr.c: New file.
20754         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20756 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20758         * nptl/tst-setuid3.c: Write errors to stdout.
20760 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20762         * elf/dl-deps.c
20763         (preload): New functions broken out of _dl_map_object_deps.
20764         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20766 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20768         [BZ #14138]
20769         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20770         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20772 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20774         * sysdeps/mips/strcmp.S: New.
20776 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20778         [BZ #14138]
20779         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20780         (linkat): Likewise.
20781         (mkdirat): Likewise.
20782         (readlinkat): Likewise.
20783         (renameat): Likewise.
20784         (symlinkat): Likewise.
20785         (unlinkat): Likewise.
20786         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20787         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20788         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20789         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20790         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20791         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20792         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20794 2014-09-30  Will Newton  <will.newton@linaro.org>
20796         * math/math.h: Define long double math functions if
20797         _LIBC_TEST is defined.
20798         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20800         * localedata/Makefile: Move assignment to tests-special
20801         into an ifdef testing run-built-tests.
20802         * timezone/Makefile: Likewise.
20804 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20806         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20807         with $(BASH) not $(SHELL).
20809 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20810             Matthew LeGendre  <legendre1@llnl.gov>
20812         [BZ #17411]
20813         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20814         l_reloc_result.
20816 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20818         * stdio-common/printf_fp.c
20819         (hack_digit): New function, broken out of ...
20820         (__printf_fp): ... local function here.  Update call sites.
20821         hack_digit now takes an additional parameter that is a pointer
20822         to a struct of the referenced locals.  Those locals moved inside
20823         the struct and references updated.
20825 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20827         * aclocal.m4: Require autoconf 2.69.
20828         * configure: Regenerated.
20829         * sysdeps/aarch64/configure: Likewise.
20830         * sysdeps/alpha/configure: Likewise.
20831         * sysdeps/arm/armv7/configure: Likewise.
20832         * sysdeps/arm/configure: Likewise.
20833         * sysdeps/ia64/configure: Likewise.
20834         * sysdeps/mach/configure: Likewise.
20835         * sysdeps/mips/configure: Likewise.
20836         * sysdeps/s390/configure: Likewise.
20837         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20840         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20841         file.
20842         * sysdeps/ia64/configure.ac: Likewise.
20844 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20847         specify symbol version for ld.so.  Do not include entry for
20848         libpthread.
20849         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20850         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20851         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20853         [BZ #14171]
20854         * Makeconfig [$(build-shared) = yes]
20855         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20856         makefiles.
20857         [$(build-shared) = yes && $(soversions.mk-done) = t]
20858         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20859         [$(build-shared) = yes && $(soversions.mk-done) = t]
20860         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20861         to Makerules.
20862         [$(build-shared) = yes && $(soversions.mk-done) = t]
20863         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20864         here.
20865         [$(build-shared) = yes && $(soversions.mk-done) = t]
20866         (common-generated): Don't append gnu/lib-names.h and
20867         gnu/lib-names.stmp here.
20868         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20869         (lib-names-h-abi): New variable.
20870         [$(build-shared) = yes && $(soversions.mk-done) = t]
20871         (lib-names-stmp-abi): Likewise.
20872         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20873         abi-variants] (before-compile): Append
20874         $(common-objpfx)$(lib-names-h-abi).
20875         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20876         abi-variants] (common-generated): Append gnu/lib-names.h.
20877         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20878         abi-variants] (install-others-nosubdir): Depend on
20879         $(inst_includedir)/$(lib-names-h-abi).
20880         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20881         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20882         [$(build-shared) = yes && $(soversions.mk-done) = t]
20883         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20884         [$(build-shared) = yes && $(soversions.mk-done) = t]
20885         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20886         [$(build-shared) = yes && $(soversions.mk-done) = t]
20887         (common-generated): Append $(lib-names-h-abi) and
20888         $(lib-names-stmp-abi).
20889         * scripts/lib-names.awk: Do not handle multi being set.
20890         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20891         Remove variable.
20892         (abi-lp64_be-ld-soname): Likewise.
20893         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20894         Likewise.
20895         (abi-hard-ld-soname): Likewise.
20896         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20897         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20898         Remove variable.
20899         (abi-o32_hard-ld-soname): Likewise.
20900         (abi-o32_soft_2008-ld-soname): Likewise.
20901         (abi-o32_hard_2008-ld-soname): Likewise.
20902         (abi-n32_soft-ld-soname): Likewise.
20903         (abi-n32_hard-ld-soname): Likewise.
20904         (abi-n32_soft_2008-ld-soname): Likewise.
20905         (abi-n32_hard_2008-ld-soname): Likewise.
20906         (abi-n64_soft-ld-soname): Likewise.
20907         (abi-n64_hard-ld-soname): Likewise.
20908         (abi-n64_soft_2008-ld-soname): Likewise.
20909         (abi-n64_hard_2008-ld-soname): Likewise.
20910         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20911         Likewise.
20912         (abi-64-v2-ld-soname): Likewise.
20913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20914         ld.so entries.
20915         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20916         variable.
20917         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20918         entry.
20919         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20920         variable.
20921         (abi-64-ld-soname): Likewise.
20922         (abi-x32-ld-soname): Likewise.
20923         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20924         entry.
20925         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20927 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20929         [BZ #14138]
20930         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20931         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20932         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20933         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20934         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20935         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20936         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20937         syscall entry for GLIBC_2.2 symbol version.
20938         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20939         Likewise.
20940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20941         (setrlimit): Likewise.
20942         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20943         Likewise.
20945 2014-09-23  Will Newton  <will.newton@linaro.org>
20947         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20948         _LINUX_ARM_SYSDEP_H include guard too.
20949         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20950         define.
20952 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20954         * sysdeps/unix/sysv/linux/eventfd.c:
20955         Make first argument unsigned.
20956         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20957         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20959 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20961         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20962         * socket/sys/socket.h: Likewise
20963         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20965 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20967         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20969 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20971         * time/tst-ftime.c: New test.
20972         * time/Makefile (tests): Add tst-ftime.
20974 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20976         * soft-fp/extended.h: Fix comment formatting.
20977         * soft-fp/op-1.h: Likewise.
20978         * soft-fp/op-2.h: Likewise.
20979         * soft-fp/op-4.h: Likewise.
20980         * soft-fp/op-8.h: Likewise.
20981         * soft-fp/op-common.h: Likewise.
20982         * soft-fp/soft-fp.h: Likewise.
20984         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20986 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20988         [BZ #6652]
20989         * Makeconfig (soversions-default-setname): Remove variable.
20990         ($(common-objpfx)soversions.i): Don't pass default_setname to
20991         soversions.awk.
20992         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20993         oldest_abi to abi-versions.awk.
20994         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20995         * config.make.in (oldest-abi): Remove variable.
20996         * configure.ac (--enable-oldest-abi): Remove configure option.
20997         * configure: Regenerated.
20998         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20999         text.
21000         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21001         * scripts/soversions.awk: Do not handle default_setname variable.
21002         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21003         variable.
21004         * sysdeps/mach/hurd/configure: Regenerated.
21005         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21006         variable.
21007         * sysdeps/unix/sysv/linux/configure: Regenerated.
21009 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21011         * elf/Makefile (CFLAGS-interp.c): Remove.
21012         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21013         path string.
21014         * elf/interp.c: Include generated runtime-linker.h
21016         * Makerules (lib%.so): Don't include $(+interp) in
21017         prerequisites.
21018         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21019         * dlfcn/eval.c: Remove file.
21021         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21022         macros.
21024         [BZ #17266]
21025         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21026         4.2 and newer.
21028         [BZ #17370]
21029         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21031 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21032             Jakub Jelinek  <jakub@redhat.com>
21034         [BZ #17266]
21035         * libio/stdio.h: Check definition of __fortify_function
21036         instead of __extern_always_inline to include bits/stdio2.h.
21037         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21038         check if __extern_always_inline is defined.
21039         [__USE_MISC || __USE_XOPEN]: Likewise.
21040         [__USE_ISOC99] Likewise.
21041         * misc/sys/cdefs.h (__fortify_function): Define only if
21042         __extern_always_inline is defined.
21043         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21044         __extern_always_inline and __extern_inline only for g++-4.3
21045         and newer or a compatible gcc.
21047 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21049         [BZ #17371]
21050         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21051         last change to handle zero prefix length.
21053 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21055         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21056         _SC_REGEX_VERSION.
21058         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21059         _POSIX_RAW_SOCKETS.
21061 2014-09-13  Allan McRae  <allan@archlinux.org>
21063         * po/ru.po: Update Russian translation from translation project.
21065 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21067         * locale/programs/locale.c (show_locale_vars): Inline local function
21068         into its sole call site.  Clean up some style nits.
21069         (print_item): New function, broken out of ...
21070         (show_info): ... local function here.  Clean up style nits.
21072         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21073         out of ...
21074         (set_class_defaults): ... local function set_default here.
21075         Define set_default as a macro locally to pass constant parameters.
21076         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21077         rather than a shared local.
21079         * stdlib/rpmatch.c (try): New function, broken out of ...
21080         (rpmatch): ... local function here.  Also, prototypify definition.
21082 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21084         * scripts/soversions.awk: Do not handle configuration names.
21085         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21086         vendor and os variables to soversions.awk.
21087         * configure.ac: Do not modify gnu-* host_os.
21088         * configure: Regenerated
21089         * shlib-versions: Remove first column with configuration names.
21090         * nptl/shlib-versions: Likewise.
21091         * nptl_db/shlib-versions: Likewise.
21092         * sysdeps/hppa/shlib-versions: Likewise.
21093         * sysdeps/m68k/shlib-versions: Likewise.
21094         * sysdeps/mach/hurd/shlib-versions: Likewise.
21095         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21096         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21097         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21098         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21099         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21100         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21101         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21102         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21104         Likewise.
21105         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21106         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21107         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21108         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21109         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21110         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21111         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21112         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21115         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21117         Regenerated.
21118         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21120         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21122         * shlib-versions: Remove OS-specific entries.  Moved to files in
21123         sysdeps.
21124         * sysdeps/mach/hurd/shlib-versions: New file.
21125         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21127         * nptl/shlib-versions: Remove architecture-specific entries.
21128         Moved to files in sysdeps.
21129         * shlib-versions: Likewise.
21130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21131         file.
21132         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21133         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21134         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21135         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21137         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21138         (UDP_NO_CHECK6_RX): Likewise.
21140 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21142         * sysdeps/posix/sysconf.c (__sysconf): Spell
21143         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21145 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21147         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21148         loading.
21149         * iconv/Versions (__gconv_transliterate): Export for use from
21150         gconv modules.
21151         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21152         (struct __gconv_trans_data, __gconv_trans_fct,
21153         __gconv_trans_context_fct, __gconv_trans_query_fct,
21154         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21155         definitions.
21156         (struct __gconv_step_data): Remove __trans member.
21157         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
21158         longer hidden.  Remove unused trans_data argument.
21159         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21160         (__gconv_translit_find): Remove declaration.
21161         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21162         prototype.
21163         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21164         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21165         trans_data argument.  Add hidden definition.
21166         (__gconv_translit_find): Remove.
21167         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21168         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21169         * iconv/skeleton.c: Remove transliteration initialization.
21170         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21171         __gconv_step_data initialization.
21172         * libio/iofwide.c (__libio_translit_): Remove.
21173         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21174         * wcsmbs/btowc.c (__btowc): Likewise.
21175         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21176         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21177         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21178         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21179         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21180         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21181         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21182         * wcsmbs/wctob.c (wctob): Likewise.
21184 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21186         [BZ #16194]
21187         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21188         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21189         register usage.
21190         * sysdeps/x86/Makefile: Adjust.
21192 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21193             Roland McGrath  <roland@hack.frob.com>
21195         * locale/weight.h: Add include guard.
21196         (findidx): Make static rather than auto; take new parameters
21197         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21198         * locale/weightwc.h: Likewise.
21199         * posix/fnmatch_loop.c
21200         (FCT): Change type of EXTRA from int32_t to wint_t.
21201         Don't include either header inside the function.
21202         Call FINDIDX rather than findidx, and pass new arguments.
21203         #undef FINDIDX at the end of the file.
21204         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21205         FINDIDX before including fnmatch_loop.c for the non-wide version.
21206         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21207         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21208         for the wide version.
21209         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21210         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21211         Pass new arguments to findidx.
21212         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21213         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21214         Don't #include it inside the function.  Pass new arguments to findidx.
21215         * posix/regex_internal.h
21216         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21217         (re_string_elem_size_at): Don't #include it inside the function.
21218         Pass new arguments to findidx.
21219         * string/strcoll_l.c: #include WEIGHT_H at top level.
21220         (get_next_seq): Don't #include it inside the function.
21221         Pass new arguments to findidx.
21222         (get_next_seq_nocache): Likewise.
21223         * string/strxfrm_l.c: #include WEIGHT_H at top level.
21224         (STRXFRM): Don't #include it inside the function.
21225         Pass new arguments to findidx.
21227 2014-09-11  Florian Weimer  <fweimer@redhat.com>
21229         [BZ #17344]
21230         * malloc/malloc.c (unlink): Turn asserts into a call to
21231         malloc_printerr.
21233 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
21235         [BZ #17370]
21236         * libio/wfileops (do_ftell_wide): Free OUT.
21238 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
21240         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21242 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21244         [BZ #17363]
21245         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21246         group if the current group is empty.
21248 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21250         * benchtests/bench-memset.c (test_main): Add more test from size
21251         from 32 to 512 bytes.
21252         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21253         Add POWER8 memset object.
21254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21255         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21256         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21257         implementation.
21258         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21259         Likewise.
21260         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21261         multiarch POWER8 memset optimization.
21262         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21263         POWER8 memset optimization.
21265         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21266         Remove bzero multiarch objects.
21267         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21268         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21269         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21270         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21271         Remove define.
21272         [__bzero]: Redefine to specific name.
21273         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21274         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21275         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21276         define.
21277         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21278         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21280 2014-09-10  Florian Weimer  <fweimer@redhat.com>
21282         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21283         warnings into errors.
21285         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21286         __cxa_thread_atexit_impl prototype.
21288 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21290         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21291         Fix capitalization of error message.
21293 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21295         * sysdeps/mips/preconfigure: Modify ABI tests.
21297 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
21299         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21301 2014-09-07  Roland McGrath  <roland@hack.frob.com>
21302             Carlos O'Donell  <carlos@systemhalted.org>
21304         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21305         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21306         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21307         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21308         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21309         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21310         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21311         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21312         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21313         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21314         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21315         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21316         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21317         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21318         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21319         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21320         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21321         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21322         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21323         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21324         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21325         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21326         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21327         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21328         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21329         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21330         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21331         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21332         Deconditionalize the code that was previously under [RESET_PID].
21333         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21334         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21335         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21336         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21337         include sysdep.h.
21339 2014-09-08  Allan McRae  <allan@archlinux.org>
21341         * version.h (RELEASE): Set to "development".
21342         (VERSION): Set to "2.20.90"
21344 2014-09-07  Allan McRae  <allan@archlinux.org
21346         * version.h (RELEASE): Set to "stable".
21347         (VERSION): Set to "2.20"
21348         * include/features.h (__GLIBC_MINOR__): Set to 20.
21350         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21351         Liebler.
21353         * po/ko.po: Update Korean translation from translation project.
21355 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
21357         [BZ #17354]
21358         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21359         macro for handling signed relocations.
21361 2014-09-03  Florian Weimer  <fweimer@redhat.com>
21363         [BZ #17325]
21364         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21365         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21366         assert.
21367         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21368         * iconvdata/ibm935.c (BODY): Likewise.
21369         * iconvdata/ibm937.c (BODY): Likewise.
21370         * iconvdata/ibm939.c (BODY): Likewise.
21371         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21372         assert.
21373         * iconvdata/Makefile (iconv-test.out): Pass module list to test
21374         script.
21375         * iconvdata/run-iconv-test.sh: New test loop for checking for
21376         decoder crashers.
21378 2014-09-02  Khem Raj  <raj.khem@gmail.com>
21380         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21381         libm_hidden_ver.
21383 2014-09-01  Allan McRae  <allan@archlinux.org>
21385         * po/eo.po: Update Esperanto translation from translation project.
21387         * po/ca.po: Update Catalan translation from translation project.
21389 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21391         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21392         __proc_dostop call.
21394 2014-08-27  Mark Wielaard  <mjw@redhat.com>
21396         [BZ #17319]
21397         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21398         to call set_thread_area instead of hand written asm.
21399         (__NR_set_thread_area): Removed define.
21400         (TLS_FLAG_WRITABLE): Likewise.
21401         (__ASSUME_SET_THREAD_AREA): Remove check.
21402         (TLS_EBX_ARG): Remove define.
21403         (TLS_LOAD_EBX): Likewise.
21405 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21407         Simplify atomicity of socket creation in bind.
21409         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21410         looking up the name after linking the file.
21412 2014-08-27  Allan McRae  <allan@archlinux.org>
21414         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21416 2014-08-26  Florian Weimer  <fweimer@redhat.com>
21418         [BZ #17187]
21419         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21420         trans_compare, open_translit, __gconv_translit_find):
21421         Remove module loading code.
21423 2014-08-26  Allan McRae  <allan@archlinux.org>
21425         * po/vi.po: Update Vietnamese translation from translation project.
21427         * po/uk.po: Update Ukrainian translation from translation project.
21429         * po/fr.po: Update French translation from translation project.
21431         * po/ru.po: Update Russian translation from translation project.
21433         * po/pl.po: Update Polish translation from translation project.
21435         * po/cs.po: Update Czech translation from translation project.
21437         * po/de.po: Update German translation from translation project.
21439         * po/bg.po: Update Bulgarian translation from translation project.
21441         * po/sv.po: Update Sweedish translation from translation project.
21443         * po/nl.po: Update Dutch translation from translation project.
21445         * po/es.po: Update Spanish translation from translation project.
21447 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21449         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21451         * catgets/Makefile (CPPFLAGS-gencat): Remove.
21452         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21453         (CPPFLAGS-iconvconfig): Likewise.
21454         * timezone/Makefile (CPPFLAGS-zic): Likewise.
21456         * include/libc-symbols.h: Remove unnecessary check for
21457         NOT_IN_libc.
21458         * nptl/pthreadP.h: Likewise.
21459         * sysdeps/aarch64/setjmp.S: Likewise.
21460         * sysdeps/alpha/setjmp.S: Likewise.
21461         * sysdeps/arm/sysdep.h: Likewise.
21462         * sysdeps/i386/setjmp.S: Likewise.
21463         * sysdeps/m68k/setjmp.c: Likewise.
21464         * sysdeps/posix/getcwd.c: Likewise.
21465         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21466         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21467         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21468         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21469         * sysdeps/sh/sh3/setjmp.S: Likewise.
21470         * sysdeps/sh/sh4/setjmp.S: Likewise.
21471         * sysdeps/unix/alpha/sysdep.h: Likewise.
21472         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21473         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21474         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21475         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21479         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21480         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21483         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21485         * sysdeps/x86_64/setjmp.S: Likewise.
21487 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
21489         [BZ #17263]
21490         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21491         <stdint.h>.
21492         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21493         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21495 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21497         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21499         [BZ #17262]
21500         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21501         and __x86_64__ when disabling x87 inline functions.
21503 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21505         [BZ #17259]
21506         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21507         asm statement with __cpuid_count.
21509 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
21511         * configure.ac: Change __ehdr_start code to dereference the struct.
21512         Run readelf on the output to look for relocations.
21513         * configure: Regenerated.
21515 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
21517         [BZ #17261]
21518         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
21519         value to 0.
21520         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
21522 2014-08-12  Roland McGrath  <roland@hack.frob.com>
21524         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
21526 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
21528         [BZ #16892]
21529         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
21530         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
21532 2014-08-12  Sean Anderson  <seanga2@gmail.com>
21534         * malloc/malloc.c: Fix typo in comment.
21536 2014-08-09  Allan McRae  <allan@archlinux.org>
21538         * Regenerate libc.po.
21540 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
21542         * intl/tst-gettext2.sh: Check every lang file for creation.
21544 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21546         * sysdeps/aarch64/fpu/math_private.h
21547         (libc_feholdsetround_noex_aarch64_ctx): New function.
21549 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21551         * sysdeps/arm/armv6/strcpy.S (strcpy):
21552         Fix performance issue in misaligned cases.
21554 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21556         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
21557         Move definition from termios.h.
21558         (struct termio): Likewise.
21559         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21560         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21561         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21562         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21563         Likewise.
21564         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
21565         Move definition to ioctl-types.h
21566         (struct termio): Likewise.
21567         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21568         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21569         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21570         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21571         Likewise.
21573 2014-08-05  Richard Henderson  <rth@redhat.com>
21575         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
21576         exceptions.
21577         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
21578         Add fraiseexcpt.
21579         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
21580         Use __feraiseexcept.
21581         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
21582         Protect libm symbols with IS_IN_libm.
21584         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21586 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
21588         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21590 2014-08-04  Will Newton  <will.newton@linaro.org>
21592         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21593         file.
21595 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
21597         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21598         variants for each function.
21600 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21602         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21603         appended ...
21604         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21605         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21606         appended ...
21607         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21608         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21609         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21610         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21611         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21612         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21613         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21614         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21615         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21616         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21617         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21618         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21619         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21620         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21621         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21622         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21623         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21624         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21625         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21626         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21627         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21628         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21629         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21630         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21631         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21632         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21633         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21634         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21635         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21636         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21637         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21638         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21639         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21640         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
21641         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
21642         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
21643         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
21644         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
21645         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
21646         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
21647         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
21648         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
21649         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
21650         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
21651         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
21652         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
21653         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
21654         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
21655         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
21656         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
21657         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
21658         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
21659         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
21660         Update #include.
21661         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
21662         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
21664 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21666         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
21667         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
21668         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
21669         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
21670         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
21671         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
21673 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21675         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
21676         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
21677         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21678         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
21680 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21682         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
21683         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
21684         (__libc_vfork): Define function under this name.
21685         (__vfork): Define as an alias.
21686         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
21687         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
21689 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21691         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
21692         that was previously under [RESET_PID].
21693         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
21695 2014-08-04  Andreas Schwab  <schwab@suse.de>
21697         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
21699 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
21701         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21702         (main): Likewise.
21704 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21706         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21708 2014-08-01  Richard Henderon  <rth@redhat.com>
21710         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21711         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21712         typo in exact zero test.
21713         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21714         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21715         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21717 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21719         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21720         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21721         * sysdeps/arm/sysdep.h: ... here.
21722         [!__ASSEMBLER__]: Include <stdint.h>.
21724 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21726         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21727         (HAVE_WCTYPE_H): Likewise.
21728         (HAVE_ISWCTYPE): Likewise.
21729         (ENABLE_NLS): Likewise.
21730         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21731         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21733         * posix/regex_internal.c: Check if DEBUG is defined and is
21734         set.
21736         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21737         (HAVE_MBSRTOWCS): Likewise.
21738         * posix/fnmatch.c: Include string.h unconditionally.
21740 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21742         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21743         reversal.
21745 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21747         * sysdeps/generic/safe-fatal.h: New file.
21748         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21749         * nptl/forward.c: Include it.
21750         (__pthread_unwind): Use __safe_fatal as default action, rather
21751         than a bogus use of INTERNAL_SYSCALL that could never work.
21753         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21754         * configure.ac (libc_cv_builtin_trap): New test.
21755         * configure: Regenerated.
21756         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21757         (ABORT_INSTRUCTION): Define using __builtin_trap.
21759         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21760         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21761         * sysdeps/nptl/nptl-signals.h: New file.
21762         * nptl/pthreadP.h: Include <nptl-signals.h>.
21764 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21766         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21767         (ONE_DIRECTION): Define.
21768         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21769         (ONE_DIRECTION): Define.
21770         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21771         (ONE_DIRECTION): Define.
21773 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21775         * sysdeps/s390/Makefile: Delete file.
21776         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21777         * sysdeps/s390/__longjmp.c: Delete file.
21778         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21779         Remove fields __flags and __reserved.
21780         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21781         and add versioning.
21782         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21783         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21784         * sysdeps/s390/rtld-setjmp.S: Likewise.
21785         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21786         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21787         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21788         * sysdeps/s390/s390-32/setjmp.S: ... here.
21789         Add versioning.
21790         (__sigsetjmp): Remove setting __flags field.
21791         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21792         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21793         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21794         * sysdeps/s390/s390-64/setjmp.S: ... here.
21795         Add versioning.
21796         (__sigsetjmp): Remove setting __flags field.
21797         * sysdeps/s390/setjmp.S: Delete file.
21798         * sysdeps/s390/sigjmp.c: Likewise.
21799         * sysdeps/s390/v1-longjmp.c: Likewise.
21800         * sysdeps/s390/v1-setjmp.h: Likewise.
21801         * sysdeps/s390/v1-sigjmp.c: Likewise.
21802         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21803         Remove v1-longjmp_chk.
21804         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21805         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21806         Include debug/longjmp_chk.c and add versioning.
21807         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21808         Include nptl/pt-longjmp.c and add versioning.
21809         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21810         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21811         Include __longjmp.c.
21812         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21813         Move to ...
21814         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21815         (__getcontext): Remove setting __flags field.
21816         Add versioning.
21817         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21818         Don't restore upper high grps.
21819         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21820         Likewise.
21821         (__swapcontext): Remove setting uc_flags field.
21822         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21823         Delete file.
21824         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21825         Include __longjmp.c.
21826         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21827         Move to ...
21828         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21829         (__getcontext): Remove setting __flags field.
21830         Add versioning.
21831         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21832         (__swapcontext): Remove setting uc_flags field.
21833         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21834         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21835         Remove fields uc_high_gprs and __reserved.
21836         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21837         New file with reverted content.
21838         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21839         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21840         Regenerated.
21841         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21842         Regenerated.
21844 2014-07-31  Andreas Schwab  <schwab@suse.de>
21846         * config.h.in (HAVE_IFUNC): Define to 0.
21847         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21848         definedness.
21850 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21853         memmove-avx-unaligned, memcpy-avx-unaligned and
21854         mempcpy-avx-unaligned.
21855         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21856         Add tests for AVX memcpy functions.
21857         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21858         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21859         memcpy_chk.
21860         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21861         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21862         memmove_chk.
21863         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21864         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21865         mempcpy_chk.
21866         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21867         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21868         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21870 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21872         [BZ #17213]
21873         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21874         powerpc64le.
21876 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21878         [BZ #16839]
21879         * manual/llio.texi: Add section about open file description locks.
21880         * manual/examples/ofdlocks.c: Example of open file description
21881         lock usage.
21882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21883         F_OFD_SETLK, and F_OFD_SETLKW.
21885 2014-07-23  Allan McRae  <allan@archlinux.org>
21887         * po/es.po: Update Spanish translation from translation project.
21889 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21891         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21893 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21895         [BZ #17078]
21896         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21897         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21898         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21900 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21902         [BZ #17088]
21903         * math/fesetenv.c (__fesetenv)
21904         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21905         * math/feupdateenv.c (__feupdateenv)
21906         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21908         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21909         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21910         (__ASSUME_SOCKETCALL): Do not define.
21912         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21913         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21914         (__ASSUME_SOCKETCALL): Do not define.
21915         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21916         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21917         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21918         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21919         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21920         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21921         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21922         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21924         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21925         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21926         (__ASSUME_SOCKETCALL): Do not define.
21927         (__ASSUME_IPC64): Define unconditionally.
21928         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21929         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21930         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21931         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21932         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21933         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21934         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21935         Likewise.
21937         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21938         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21939         (__ASSUME_SOCKETCALL): Do not define.
21940         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21941         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21942         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21943         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21944         (__ASSUME_REQUEUE_PI): Define unconditionally.
21945         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21946         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21947         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21948         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21949         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21950         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21952         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21953         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21954         (__ASSUME_SOCKETCALL): Do not define.
21955         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21956         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21957         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21958         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21959         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21960         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21962         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21963         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21964         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21965         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21966         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21967         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21968         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21969         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21970         (__ASSUME_GETCPU_SYSCALL): Likewise.
21972         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21973         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21974         cases for individual architectures.
21975         * sysdeps/gnu/configure: Regenerated.
21976         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21977         LIBC_SLIBDIR_RTLDDIR.
21978         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21979         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21980         LIBC_SLIBDIR_RTLDDIR.
21981         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21983         LIBC_SLIBDIR_RTLDDIR.
21984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21985         Regenerated.
21986         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21987         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21988         file.
21989         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21990         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21991         file.
21992         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21993         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21994         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21995         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21997         * sysdeps/aarch64/shlib-versions: Move to ...
21998         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21999         * sysdeps/alpha/shlib-versions: Move to ...
22000         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22001         * sysdeps/arm/shlib-versions: Move to ...
22002         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22003         * sysdeps/hppa/shlib-versions: Move all contents except for
22004         libgcc_s entry to ...
22005         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22006         entry from ...
22007         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22008         * sysdeps/ia64/shlib-versions: Move to ...
22009         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22010         entry from ...
22011         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22012         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22013         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22014         * sysdeps/microblaze/shlib-versions: Move to ...
22015         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22016         * sysdeps/mips/shlib-versions: Move to ...
22017         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22018         entry from ...
22019         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22020         * sysdeps/tile/shlib-versions: Move to ...
22021         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22022         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22023         from ...
22024         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22025         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22026         entry from ...
22027         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22029 2014-07-17  Will Newton  <will.newton@linaro.org>
22031         * sysdeps/arm/bits/atomic.h
22032         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22033         (__arch_compare_and_exchange_bool_16_int): Likewise.
22034         (__arch_compare_and_exchange_bool_64_int): Likewise.
22036         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22037         into an #else block.
22039 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22041         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22042         just Linux configurations.  Test empirically that the compiler sets
22043         __ARM_EABI__, rather than using the tuple to decide.
22044         * sysdeps/arm/preconfigure: Regenerated.
22045         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22046         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22047         contents appended ...
22048         * sysdeps/arm/configure.ac: ... here.
22049         * sysdeps/arm/configure: Regenerated.
22051 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22053         * nptl/pthread_kill.c: New file.
22054         * nptl/pthread_sigmask.c: New file.
22055         * nptl/pthread_sigqueue.c: New file.
22057         * sysdeps/nptl/lowlevellock.h: New file.
22058         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22059         * sysdeps/nptl/lowlevellock-futex.h: New file.
22061         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22062         Remove dead declarations.
22064 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22066         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22067         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22068         config-cflags-avx2.
22069         * sysdeps/x86_64/configure.ac: Likewise.
22070         * sysdeps/i386/configure: Regenerated.
22071         * sysdeps/x86_64/configure: Likewise.
22072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22073         memset-avx2 only if config-cflags-avx2 is yes.
22074         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22075         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22076         defined.
22077         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22078         only if HAVE_AVX2_SUPPORT is defined.
22079         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22081 2014-07-14  Alan Modra  <amodra@gmail.com>
22083         [BZ #17153]
22084         * elf/elf.h (DT_PPC64_NUM): Correct value.
22085         * NEWS: Add to fixed bug list.
22087 2014-07-13  Jim Meyering  <meyering@fb.com>
22089         [BZ 17150]
22090         regex: don't deref NULL upon heap allocation failure
22091         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22092         failure in one more place.
22093         To trigger the segfault, configure grep -with-included-regex,
22094         build it, and run these commands:
22095         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22097 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22099         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22101 2014-07-11  Richard Henderson  <rth@redhat.com>
22103         * sysdeps/aarch64/libm-test-ulps: Update.
22105 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22107         [BZ #17135]
22108         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22109         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22110         (__nptl_setxid): Initialize error member.  Call
22111         __nptl_setxid_error.
22112         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22113         * nptl/descr.h (struct xid_command): Add error member.
22114         * nptl/tst-setuid3.c: New file.
22115         * nptl/Makefile (tests): Add it.
22117 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22119         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22120         New define.
22121         (__lll_trylock): Use __lll_base_trylock.
22122         (__lll_cond_trylock): Likewise.
22124 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22126         * nptl/pthread_create.c (start_thread): Use atomic_or and
22127         lll_futex_wake directly rather than lll_robust_dead.
22128         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22129         (lll_robust_dead): Macro removed.
22130         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22131         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22132         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22133         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22134         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22135         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22136         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22137         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22138         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22139         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22140         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22141         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22142         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22143         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22144         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22146         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22147         Use atomic_compare_and_exchange_val_acq directly rather than
22148         lll_robust_trylock.
22149         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22150         (__lll_robust_trylock, lll_robust_trylock): Removed.
22151         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22152         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22153         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22154         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22155         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22156         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22157         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22158         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22159         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22160         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22161         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22162         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22163         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22164         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22166 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22168         * manual/locale.texi (Locale Names): New section documenting
22169         locale name syntax.  Adjust menu and node chaining accordingly.
22170         (Choosing Locale): Reference Locale Names, Locale Categories.
22171         Mention setting LC_ALL=C.  Reflect that name syntax is now
22172         documented.
22173         (Locale Categories): New section title.  Reference Locale Names.
22174         LC_ALL is an environment variable, but not a category.
22175         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22176         description, now in Locale Name.  Reference that section.  Locale
22177         name syntax is now documented.
22179 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22181         [BZ #17137]
22182         * locale/findlocale.c (name_present, valid_locale_name): New
22183         functions.
22184         (_nl_find_locale): Use the loc_name variable to store name
22185         candidates.  Call name_present and valid_locale_name to check and
22186         validate locale names.  Return an error if the locale is invalid.
22188 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22190         * locale/setlocale.c (setlocale): Use strdup for allocating
22191         composite name copy.
22193 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22195         Sync up with gnulib.
22196         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22197         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22198         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22199         and _GL_ARG_NONNULL.
22200         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22201         [!_LIBC]: Include code for Windows and Cygwin.
22202         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22203         Include prototype for int strerror_r.
22204         [!_LIBC] (is_open): New function.
22205         (flush_stdout): New function.
22206         (print_errno_message): Use it.
22207         (error): Likewise.
22208         (error_at_line): Likewise.
22209         (error_tail) Add function attribute macros.  Use
22210         __builtin_expect.
22212         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22214         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22216         * io/ftw.c: Include sys/param.h unconditionally.
22218         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22220         [BZ #17125]
22221         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22222         libc_freeres_ptr.
22223         (freecache): New function to free CACHE on exit.
22225         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22226         initialization.
22228 2014-07-09  David S. Miller  <davem@davemloft.net>
22230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22232         * sysdeps/sparc/nptl/internaltypes.h: Delete.
22233         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22234         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22235         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22236         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22237         * sysdeps/sparc/nptl/sem_init.c: Likewise.
22238         * sysdeps/sparc/nptl/sem_post.c: Likewise.
22239         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22240         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22241         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22242         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22243         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22244         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22246 2014-07-09  Andreas Schwab  <schwab@suse.de>
22248         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22249         output.
22250         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22251         (do_test): Likewise.
22253         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22255 2014-07-09  Will Newton  <will.newton@linaro.org>
22257         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22258         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22259         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22260         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22261         * sysdeps/hppa/start.S (_start): Likewise.
22263 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22265         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22267         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22268         defined.
22270 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22272         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22273         after checking that it is non-NULL.
22275         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22277 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22279         * sysdeps/powerpc/memmove.c: Remove file.
22280         * sysdeps/powerpc/powerpc32/power4/memcopy.h
22281         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22282         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22283         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22284         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22285         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22286         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22287         string memmove instead of removed powerpc one.
22289         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22290         [weak_alias]: Fix compiler warning due trailing data.
22291         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22292         [weak_alias]: Likewise.
22293         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22294         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22297         (__libc_ifunc_impl_list): Add memmove functions.
22299 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22301         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22302         Remove code.
22303         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22304         Likewise
22305         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22306         Likewise
22307         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22308         Likewise
22309         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22310         Likewise
22311         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22312         Likewise
22313         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22314         Likewise
22315         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22316         Likewise
22317         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22318         Likewise
22319         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22320         Likewise
22321         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22322         Likewise
22323         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22324         Likewise
22325         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22326         Likewise
22327         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22328         Likewise
22329         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22330         Likewise
22331         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22332         Likewise
22333         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22334         Likewise
22336 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22338         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22339         to avoid alignment traps in non-cacheable memory.
22340         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22343         multiarch objects.
22344         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22345         file: multiarch power7 memmove.
22346         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22347         multiarch default memmove.
22348         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22349         multiarch memove for powerpc32/power4.
22351         * string/bcopy.c: Use full path to include memmove.c.
22352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22353         multiarch objects.
22354         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22355         bcopy for powerpc64.
22356         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22357         bcopy for powerpc64.
22358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22359         and memmove implementations.
22360         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22361         optimized multiarch memmove for POWER7/powerpc64.
22362         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22363         default multiarch memmove for powerpc64.
22364         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22365         multiarch for powerpc64.
22366         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22367         for POWER7/powerpc64.
22368         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22369         memmove for POWER7/powerpc64.
22371         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22372         glibc default one.
22374         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22375         __ELF_NATIVE_CLASS equal to 64.
22377 2014-07-07  Roland McGrath  <roland@hack.frob.com>
22379         * sysdeps/nptl/lowlevellock.h: File removed.
22381         * NEWS: NPTL is no longer an add-on!
22382         * nptl/internaltypes.h: Moved ...
22383         * sysdeps/nptl/internaltypes.h: ... here.
22384         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22385         * sysdeps/nptl/fork.c: Likewise.
22386         * sysdeps/nptl/gai_misc.h: Likewise.
22387         * sysdeps/nptl/librt-cancellation.c: Likewise.
22388         * sysdeps/nptl/jmp-unwind.c: Likewise.
22389         * sysdeps/nptl/setxid.h: Likewise.
22390         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22391         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22392         * sysdeps/unix/sysv/linux/arm/Implies: New file.
22393         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22394         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22395         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22396         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22397         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22398         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22399         * sysdeps/unix/sysv/linux/mips/Implies: New file.
22400         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22401         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22402         * sysdeps/unix/sysv/linux/sh/Implies: New file.
22403         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22404         * sysdeps/unix/sysv/linux/tile/Implies: New file.
22405         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22406         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22407         * nptl/Makeconfig: Moved ...
22408         * sysdeps/nptl/Makeconfig: ... here.
22409         * nptl/configure: File removed.
22410         * nptl/ANNOUNCE: File removed.
22411         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22412         * sysdeps/unix/sysv/linux/configure: Regenerated.
22414         * nptl/Makefile (routines): Add libc_pthread_init,
22415         libc_multiple_threads, register-atfork and unregister-atfork.
22416         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22417         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22418         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22419         pthread-pi-defines.sym, structsem.sym.
22420         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22421         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22422         [$(subdir) = nptl] (tests): Add tst-setgetname.
22423         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22424         * sysdeps/unix/sysv/linux/sigaction.c: Just include
22425         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22426         [!LIBC_SIGACTION]: Remove aliases.
22427         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22428         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22429         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22430         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22431         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22432         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22433         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22434         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22435         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22436         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22437         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22438         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22439         __libc_allocate_rtsig_private.
22440         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22441         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22442         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22443         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22444         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22445         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22446         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22447         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22448         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22449         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22450         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22451         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22452         * nptl/internaltypes.h: ... here.
22453         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22454         * sysdeps/nptl/jmp-unwind.c: ... here.
22455         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22456         * nptl/libc-lowlevellock.c: ... here.
22457         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22458         * nptl/libc_multiple_threads.c: ... here.
22459         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22460         * nptl/libc_pthread_init.c: ... here.
22461         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22462         * nptl/lowlevelbarrier.sym: ... here.
22463         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22464         * nptl/lowlevelcond.sym: ... here.
22465         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22466         * nptl/lowlevellock.c: ... here.
22467         * nptl/lowlevellock.h: Moved ...
22468         * sysdeps/nptl/lowlevellock.h: ... here.
22469         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22470         * nptl/lowlevelrobustlock.c: ... here.
22471         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22472         * nptl/lowlevelrobustlock.sym: ... here.
22473         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22474         * nptl/lowlevelrwlock.sym: ... here.
22475         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22476         * nptl/pt-fork.c: ... here.
22477         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22478         * nptl/pthread-pi-defines.sym: ... here.
22479         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22480         * nptl/pthread_attr_getaffinity.c: ... here.
22481         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22482         * nptl/pthread_attr_setaffinity.c: ... here.
22483         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22484         * nptl/pthread_mutex_cond_lock.c: ... here.
22485         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22486         Update #include.
22487         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22488         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22489         * nptl/pthread_once.c: ... here, replacing old file.
22490         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22491         * nptl/pthread_yield.c: ... here.
22492         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22493         * nptl/register-atfork.c: ... here.
22494         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22495         * nptl/sem_post.c: ... here.
22496         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22497         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22498         * nptl/sem_timedwait.c: ... here.
22499         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22500         * nptl/sem_trywait.c: ... here.
22501         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22502         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22503         * nptl/sem_wait.c: ... here.
22504         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22505         * nptl/structsem.sym: ... here.
22506         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22507         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22508         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22509         * nptl/unregister-atfork.c: ... here.
22510         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22511         * nptl/unwindbuf.sym: ... here.
22512         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22513         * sysdeps/nptl/fork.c: ... here.
22514         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
22515         * sysdeps/nptl/fork.h: ... here.
22516         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
22517         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
22518         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
22519         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
22520         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
22521         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
22522         * sysdeps/unix/sysv/linux/getpid.c: ... here.
22523         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
22524         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
22525         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
22526         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
22527         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
22528         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
22529         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
22530         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
22531         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
22532         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
22533         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
22534         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
22535         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
22536         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
22537         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
22538         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
22539         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
22540         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
22541         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
22542         * sysdeps/unix/sysv/linux/raise.c: ... here.
22543         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
22544         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
22545         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
22546         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
22547         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
22548         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
22549         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
22550         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
22551         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
22552         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
22553         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
22554         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
22555         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
22556         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
22557         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
22559 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22561         * sysdeps/generic/memcopy.h: Add comment for
22562         MEMCPY_OK_FOR_FWD_MEMMOVE.
22564 2014-07-04  Will Newton  <will.newton@linaro.org>
22566         * string/memchr.c: Merge from gnulib.
22567         [_LIBC]: Remove conditionals.
22568         (__ptr_t): Remove define.
22569         (LONG_MAX_32_BITS): Likewise.
22570         (LONG_MAX): Likewise.
22571         (MEMCHR): Use ANSI prototype and optimize algorithm.
22573         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
22575 2014-07-03  Roland McGrath  <roland@hack.frob.com>
22577         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
22578         (lll_futex_timed_wait_bitset): Fix syscall argument count.
22580         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
22581         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
22582         in a bare environment with no <stdlib.h> installed.
22583         * sysdeps/nptl/configure: Regenerated.
22585         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22587         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22588         AC_EGREP_CPP for kernel header checks, so they only succeed if
22589         including <linux/version.h> actually works right.
22590         * sysdeps/unix/sysv/linux/configure: Regenerated.
22592         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22593         value so it's not diagnosed as unused.
22595         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22596         thing) with "ifeq ($(subdir),rt)".
22598 2014-07-03  Richard Henderson  <rth@redhat.com>
22600         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22601         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22602         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22604         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22605         (math_force_eval): New.
22607         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22608         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22610         * sysdeps/alpha/fpu/s_round.c: Remove file.
22611         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22613         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22614         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22615         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22616         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22617         (_dl_start, print_statistics): Likewise.
22618         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22619         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22621         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22622         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22623         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22624         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22625         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22626         (HP_SMALL_TIMING_AVAIL): Define.
22627         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22628         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22629         (HP_SMALL_TIMING_AVAIL): Define.
22630         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22631         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22633         * sysdeps/aarch64/hp-timing.h: New file.
22635         * sysdeps/generic/hp-timing.h: Remove dead comment.
22636         * sysdeps/generic/hp-timing-common.h: New file.
22637         * sysdeps/alpha/hp-timing.h: Include it.
22638         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22639         * sysdeps/i386/i686/hp-timing.h: Likewise.
22640         * sysdeps/ia64/hp-timing.h: Likewise.
22641         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22642         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22643         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22644         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22645         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
22646         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
22647         (hp_timing_t): New.
22649         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
22650         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
22651         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
22652         * elf/rtld.c (_dl_start_final): Likewise.
22653         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
22654         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22655         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22656         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22657         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22658         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22659         (HP_TIMING_DIFF_INIT): Remove.
22660         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22661         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22662         (HP_TIMING_DIFF_INIT): Remove.
22663         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22664         * sysdeps/i386/i686/hp-timing.c: Remove file.
22665         * sysdeps/x86_64/hp-timing.c: Remove file.
22666         * sysdeps/ia64/hp-timing.c: Remove file.
22667         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
22668         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
22669         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
22670         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
22672         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
22673         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
22674         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
22675         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22676         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22677         (HP_TIMING_ACCUM): Remove.
22678         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22679         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
22680         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22682         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
22683         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
22684         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
22685         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
22686         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
22687         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22688         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
22689         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22691         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
22693 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
22695         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
22697 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22699         Sync up with gettext.
22700         * intl/loadmsgcat.c: Define O_BINARY if not defined.
22701         [_MSC_VER]: Include malloc.h
22702         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22703         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22704         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22705         TEMP_FAILURE_RETRY.  Cast return of alloca.
22706         [!_LIBC] Call gl_rwlock_init.
22707         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22709 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22711         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22712         before checking its value.
22714 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22716         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22718         * debug/memcpy_chk.c: Don't include pagecopy.h.
22719         * debug/mempcpy_chk.c: Likewise.
22720         * string/memcpy.c: Likewise.
22721         * string/memmove.c: Likewise.
22722         * sysdeps/powerpc/memmove.c: Likewise.
22723         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22724         definition of PAGE_COPY_FWD_MAYBE here...
22725         * sysdeps/generic/pagecopy.h: ... from here.
22726         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22728 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22729             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22731         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22733         optimizations.
22734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22735         (__libc_ifunc_impl_list): Likewise.
22736         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22737         multiarch strcat for PPC64.
22738         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22739         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22741 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22743         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22745 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22747         * intl/loadmsgcat.c: Remove declaration of
22748         get_sysdep_segment_value.
22749         (get_sysdep_segment_value): Use ISO C style.
22750         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22751         semicolon.  Fix typo and formatting in comment.
22752         (_nl_unload_domain): Use ISO C style.
22754         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22756 2014-07-02  Will Newton  <will.newton@linaro.org>
22758         * malloc/obstack.c: Merge from gnulib master.
22759         [HAVE_CONFIG_H]: Remove conditional code.
22760         [!_LIBC]: Include config.h.
22761         [!ELIDE_CODE]: Don't include inttypes.h, include
22762         stdint.h unconditionally.
22763         (print_and_abort): Mark as _Noreturn.
22764         (_obstack_allocated_p): Mark as __attribute_pure__.
22765         (obstack_free): Rename to __obstack_free.
22766         [!__attribute__]: Remove conditional code.
22767         * malloc/obstack.h: Merge from gnulib master.
22768         [__cplusplus]: Move conditional down.
22769         [!__attribute_pure__]: Define __attribute_pure__ here
22770         if it is not already defined.
22771         (_obstack_memory_used): Mark as __attribute_pure__.
22772         [!__obstack_free]: Define as obstack_free.
22773         [__GNUC__]: Remove check for ancient NeXT gcc.
22775 2014-07-02  Will Newton  <will.newton@linaro.org>
22776             Paul Eggert  <eggert@cs.ucla.edu>
22778         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22780 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22782         * resolv/gethnamaddr.c: Add comment warning that the file is
22783         not maintained.
22785 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22787         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22788         entries.
22790         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22791         entry for aio_cancel and aio_cancel64.
22792         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22793         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22794         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22795         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22796         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22797         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22798         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22799         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22800         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22801         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22802         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22803         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22804         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22806 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22808         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22809         * nptl/pthread_mutex_lock.c: Likewise.
22810         * nptl/pthread_mutex_timedlock.c: Likewise.
22811         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22813 2014-07-01  Richard henderson  <rth@redhat.com>
22815         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22816         (__isnan, __isnanl): Remove.
22817         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22819         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22821 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22823         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22825 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22827         * resolv/nss_dns/dns-host.c (getanswer_r)
22828         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22830 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22832         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22833         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22834         undefine.
22835         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22836         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22838 2014-07-01  Roland McGrath <roland@hack.frob.com>
22840         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22841         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22843         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22844         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22846         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22847         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22848         ... here.
22849         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22850         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22852         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22853         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22854         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22855         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22857         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22858         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22859         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22860         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22861         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22862         Moved ...
22863         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22864         ... here.
22865         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22866         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22867         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22868         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22869         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22870         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22871         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22872         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22873         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22874         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22875         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22876         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22877         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22878         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22879         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22880         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22881         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22882         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22883         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22884         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22885         ... here.
22886         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22887         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22888         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22889         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22890         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22891         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22892         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22893         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22895 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22897         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22898         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22899         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22900         Add sysdep.
22902 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22906 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22908         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22909         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22911         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22913         * sysdeps/arm/libm-test-ulps: Regenerated.
22915 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22916             Roland McGrath <roland@hack.frob.com>
22918         * test-skeleton.c (signal_handler): Kill the whole process group
22919         before killing the child individually.
22920         (main): Report any failure on `setpgid'.
22922 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22924         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22925         from _TLS_H to _ARM_NPTL_TLS_H.
22926         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22927         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22929 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22931         [BZ #16539]
22932         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22933         (__expm1l): Return argument unchanged when small but not
22934         subnormal.
22936         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22937         include macro name.
22938         (_FP_UNPACK_RAW_1_P): Likewise.
22939         (_FP_PACK_RAW_1): Likewise.
22940         (_FP_PACK_RAW_1_P): Likewise.
22941         (_FP_MUL_MEAT_1_wide): Likewise.
22942         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22943         (_FP_MUL_MEAT_1_hard): Likewise.
22944         (_FP_DIV_MEAT_1_imm): Likewise.
22945         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22946         (_FP_DIV_MEAT_1_udiv): Likewise.
22947         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22948         (_FP_UNPACK_RAW_2): Likewise.
22949         (_FP_UNPACK_RAW_2_P): Likewise.
22950         (_FP_PACK_RAW_2): Likewise.
22951         (_FP_PACK_RAW_2_P): Likewise.
22952         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22953         (_FP_MUL_MEAT_2_wide): Likewise.
22954         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22955         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22956         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22957         (_FP_MUL_MEAT_2_gmp): Likewise.
22958         (_FP_DIV_MEAT_2_udiv): Likewise.
22959         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22960         (_FP_FRAC_SRL_4): Likewise.
22961         (_FP_FRAC_SRST_4): Likewise.
22962         (_FP_FRAC_SRS_4): Likewise.
22963         (_FP_UNPACK_RAW_4): Likewise.
22964         (_FP_UNPACK_RAW_4_P): Likewise.
22965         (_FP_PACK_RAW_4): Likewise.
22966         (_FP_PACK_RAW_4_P): Likewise.
22967         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22968         (_FP_MUL_MEAT_4_wide): Likewise.
22969         (_FP_MUL_MEAT_4_gmp): Likewise.
22970         (umul_ppppmnnn): Likewise.
22971         (_FP_DIV_MEAT_4_udiv): Likewise.
22972         (__FP_FRAC_ADD_4): Likewise.
22973         (__FP_FRAC_SUB_3): Likewise.
22974         (__FP_FRAC_SUB_4): Likewise.
22975         (__FP_FRAC_DEC_3): Likewise.
22976         (__FP_FRAC_DEC_4): Likewise.
22977         (__FP_FRAC_ADDI_4): Likewise.
22978         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22979         (_FP_FRAC_SRL_8): Likewise.
22980         (_FP_FRAC_SRS_8): Likewise.
22982         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22983         include macro name.
22984         (FP_UNPACK_RAW_EP): Likewise.
22985         (FP_PACK_RAW_E): Likewise.
22986         (FP_PACK_RAW_EP): Likewise.
22987         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22988         (_FP_ISSIGNAN): Likewise.
22989         (_FP_ADD_INTERNAL): Likewise.
22990         (_FP_FMA): Likewise.
22991         (_FP_CMP): Likewise.
22992         (_FP_SQRT): Likewise.
22993         (_FP_TO_INT): Likewise.
22994         (_FP_FROM_INT): Likewise.
22995         (FP_EXTEND): Likewise.
22996         (_FP_DIV_MEAT_N_loop): Likewise.
22998 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23000         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23001         throughout.
23003 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23005         [BZ #17097]
23006         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23007         result with correct sign in case of exponents that produce
23008         overflow except for X very close to 1.
23010 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23012         mktime: merge #if/#ifdef usage from glibc
23013         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23014         as that works with both Glibc's and Gnulib's style.
23015         See thread starting at Siddhesh Poyarekar's bug report at:
23016         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23018 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23020         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23021         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23022         * sysdeps/tile/tilegx/memmove.c: Remove file.
23024 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23026         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23027         abi-name definition.
23028         * scripts/soversions.awk: Do not handle or generate ABI lines.
23029         * shlib-versions: Remove ABI entries.
23030         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23031         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23033 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23036         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23037         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23038         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23040         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23042         Moved ...
23043         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23044         ... here.
23045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23046         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23048         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23049         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23050         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23052         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23054         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23056         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23058         Moved ...
23059         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23061         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23063         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23064         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23065         Moved ...
23066         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23067         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23068         Moved ...
23069         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23071         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23073         Moved ...
23074         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23076         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23077         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23078         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23080         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23081         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23082         Moved ...
23083         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23084         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23085         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23086         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23087         Moved ...
23088         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23090         Moved ...
23091         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23092         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23093         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23094         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23095         Moved ...
23096         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23097         ... here.
23098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23099         Identical file removed.
23100         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23101         Moved ...
23102         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23104         Identical file removed.
23105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23106         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23108         Moved ...
23109         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23110         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23111         Identical file removed.
23112         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23113         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23114         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23115         Identical file removed.
23116         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23117         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23118         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23119         Identical file removed.
23120         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23121         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23123         Identical file removed.
23124         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23125         Moved ...
23126         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23127         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23128         Identical file removed.
23129         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23130         Moved ...
23131         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23132         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23133         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23134         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23135         Identical file removed.
23136         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23137         Moved ...
23138         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23139         ... here.
23140         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23141         Identical file removed.
23142         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23143         Moved ...
23144         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23145         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23146         Identical file removed.
23147         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23148         Moved ...
23149         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23150         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23151         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23152         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23153         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23154         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23155         Moved ...
23156         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23157         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23158         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23160         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23161         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23162         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23163         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23164         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23166 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23168         [BZ #17092]
23169         * nscd/nscd.c (monitor_child): Return exit status of child
23170         instead of return value from wait syscall.
23172 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23174         * configure.ac (libc_commonpagesize): Remove variable.
23175         (libc_relro_required): Likewise.
23176         (libc_cv_z_relro): Remove configure test.
23177         * configure: Regenerated.
23178         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23179         variable.
23180         (libc_relro_required): Likewise.
23181         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23182         (libc_relro_required): Likewise.
23183         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23184         (libc_relro_required): Likewise.
23185         * sysdeps/arm/preconfigure: Regenerated.
23186         * sysdeps/ia64/preconfigure: Remove file.
23187         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23188         variable.
23189         (libc_relro_required): Likewise.
23191         [BZ #16561]
23192         [BZ #16562]
23193         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23194         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23195         recompute overflowing results in original rounding mode.
23196         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23197         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23198         recompute overflowing results in original rounding mode.
23199         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23200         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23201         recompute overflowing results in original rounding mode.
23202         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23203         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23204         recompute overflowing results in original rounding mode.
23205         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23206         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23207         recompute overflowing results in original rounding mode.
23208         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23209         (libc_feholdsetround_ctx): New macro.
23210         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23211         * sysdeps/i386/fpu/libm-test-ulps: Update.
23212         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23214 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23216         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23217         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23218         corresponding .cpsetup call.
23220 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23222         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23223         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23224         * sysdeps/arm/Makefile [$(subdir) = csu]
23225         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23226         (static-only-routines): Add aeabi_read_tp here.
23227         (shared-only-routines): Add libc-aeabi_read_tp here.
23228         (CFLAGS-libc-start.c): Add -fexceptions here.
23229         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23230         (sysdep_routines, static-only-routines, shared-only-routines):
23231         Don't add to these here.
23232         (CFLAGS-libc-start.c): Likewise.
23234         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23235         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23236         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23237         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23238         * sysdeps/arm/Makefile [$(subdir) = rt]
23239         (librt-sysdep_routines, librt-shared-only-routines):
23240         Append rt-aeabi_unwind_cpp_pr1 here.
23241         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23242         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23243         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23244         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23245         Append nptl-aeabi_unwind_cpp_pr1 here.
23246         (tests): Filter out tst-cleanupx4 here.
23247         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23248         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23249         Don't do those here.
23251 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23253         * scripts/list-sources.sh: Do not handle ports specially.
23255 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23257         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23258         * sysdeps/arm/feupdateenv.c: Likewise.
23260         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23262 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23264         * manual/texinfo.tex: Update to version 2014-05-05.10 with
23265         trailing whitespace removed.
23266         * scripts/config.guess: Update to version 2014-03-23.
23267         * scripts/config.sub: Update to version 2014-05-01
23268         * scripts/install-sh: Update to version 2013-12-25.23.
23269         * scripts/move-if-change: Update from gnulib.
23271 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23273         * debug/memmove_chk.c: Remove pagecopy.h include.
23275 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
23277         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
23278         identical to gnulib mktime.
23280 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23282         * configure.ac: Do not test for machine being rs6000.  Do not test
23283         for powerpc*-*soft.
23284         * configure: Regenerated.
23286         [BZ #11505]
23287         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23288         test.
23289         * configure: Regenerated.
23290         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23291         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23292         Remove configure test.
23293         * sysdeps/arm/configure: Regenerated.
23294         * sysdeps/nptl/configure.ac: Do not check
23295         libc_cv_asm_cfi_directives.
23296         * sysdeps/nptl/configure: Regenerated.
23297         * sysdeps/x86_64/nptl/configure.ac: Remove file.
23298         * sysdeps/x86_64/nptl/configure: Remove generated file.
23299         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23300         unconditional.
23301         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23303 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23305         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23306         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23307         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23308         it is defined.
23310         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23311         instead of whether it is defined.
23312         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23313         * sysdeps/hppa/dl-machine.h: Likewise.
23314         * sysdeps/ia64/dl-machine.h: Likewise.
23315         * sysdeps/m68k/dl-machine.h: Likewise.
23316         * sysdeps/microblaze/dl-machine.h: Likewise.
23317         * sysdeps/mips/dl-machine.: Likewise.
23318         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23319         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23320         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23321         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23322         * sysdeps/sh/dl-machine.h: Likewise.
23323         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23324         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23325         * sysdeps/tile/dl-machine.h: Likewise.
23326         * sysdeps/x86_64/dl-machine.h: Likewise.
23328         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23329         code.
23330         (verify_persistent_db): Likewise.
23332 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23335         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23337         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23339         Moved ...
23340         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23341         ... here.
23342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23343         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23345         Identical file removed.
23346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23347         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23349         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23351         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23353         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23355         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23357         Moved ...
23358         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23360         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23362         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23364         Moved ...
23365         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23367         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23369         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23371         Identical file removed.
23372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23373         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23375         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23377         Moved ...
23378         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23379         ... here.
23380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23381         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23383         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23385         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23387         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23389         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23391         Moved ...
23392         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23394         Moved ...
23395         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23397         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23399         Moved ...
23400         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23402         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23404         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23405         folded into ...
23406         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23407         * sysdeps/unix/sysv/linux/s390/Versions
23408         (libpthread: GLIBC_2.19): New version set.
23409         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23410         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23411         (librt: GLIBC_2.3.3): New version set.
23412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23413         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23414         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23415         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23416         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23417         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23418         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23419         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23420         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23421         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23422         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23423         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23424         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23425         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23426         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23427         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23428         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23429         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23430         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23431         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23432         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23433         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23434         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23435         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23436         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23437         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23438         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23439         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23440         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23441         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23442         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23443         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23444         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23448         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23449         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23450         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23452         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23453         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23454         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23455         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23456         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23458         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23459         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23460         (__libc_vfork): Define the function under this name.
23461         [!NOT_IN_libc] (__vfork): Make this an alias.
23462         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23464         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23465         (__libc_vfork): Define the function under this name.
23466         [!NOT_IN_libc] (__vfork): Make this an alias.
23467         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23468         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23469         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23470         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23471         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23472         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23474         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23475         code that was previously under [RESET_PID].
23476         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23477         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23478         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23480         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23481         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23482         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23483         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23484         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23485         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23486         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23487         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23488         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23489         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23490         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23491         Moved ...
23492         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23493         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23494         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23495         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23496         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23497         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23498         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23499         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23500         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23501         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23502         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23503         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23504         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23505         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23506         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23507         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23508         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23509         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23510         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23511         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23512         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23513         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
23514         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
23515         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
23516         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
23517         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
23518         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
23519         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
23520         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
23522 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23524         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
23525         that was previously under [RESET_PID].
23526         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
23528 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23530         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
23531         not undefine and redefine.
23532         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
23533         [O_CLOEXEC]: Make code unconditional.
23534         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
23535         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
23536         <kernel-features.h>.
23537         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
23538         conditional variable definition.
23539         (shm_open) [O_CLOEXEC]: Make code unconditional.
23540         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
23541         code.
23543         * configure.ac (USE_REGPARMS): Don't define here.
23544         * configure: Regenerated.
23545         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
23546         * sysdeps/i386/configure: Regenerated.
23548         * nptl/createthread.c: Don't include kernel-features.h.
23549         * nptl/pthread_cancel.c: Likewise.
23550         * nptl/pthread_condattr_setclock.c: Likewise.
23551         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
23552         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
23553         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
23554         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
23555         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
23556         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
23557         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
23559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23560         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
23561         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
23562         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23563         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
23564         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
23565         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
23566         * nscd/gai.c: Likewise.
23567         * nss/nss_db/db-open.c: Likewise.
23568         * sysdeps/generic/ldsodefs.h: Likewise.
23569         * sysdeps/sh/nptl/tls.h: Likewise.
23570         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23571         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
23572         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
23573         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
23574         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
23575         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23576         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
23577         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23578         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23579         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23580         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23581         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23582         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
23583         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
23584         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23585         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23586         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23587         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23588         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23589         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23592         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23593         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23594         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23596         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23598         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23599         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23600         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23601         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23602         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23603         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23604         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23605         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23606         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23607         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23608         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23609         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23610         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23611         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23612         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23613         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23614         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23615         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23616         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23617         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23618         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23619         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23620         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23621         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23622         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23623         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23624         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23625         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23626         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23627         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
23641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
23642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
23648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
23649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
23650         * sysdeps/unix/sysv/linux/pread.c: Likewise.
23651         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
23652         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
23653         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
23654         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
23655         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
23656         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
23657         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
23658         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
23659         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23660         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
23661         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23662         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
23663         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
23664         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
23665         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
23666         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23667         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
23668         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
23669         * sysdeps/unix/sysv/linux/system.c: Likewise.
23670         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
23671         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23672         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23673         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23674         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23675         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23676         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23678         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
23679         * configure: Regenerated.
23680         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
23682         * configure.ac (base_machine): Do not set specially for particular
23683         machines here.
23684         * configure: Regenerated.
23685         * sysdeps/powerpc/preconfigure: Move machine and base_machine
23686         settings from configure.ac.
23687         * sysdeps/i386/preconfigure: New file.
23688         * sysdeps/s390/preconfigure: Likewise.
23689         * sysdeps/sh/preconfigure: Likewise.
23690         * sysdeps/sparc/preconfigure: Likewise.
23692 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23694         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
23695         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
23696         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
23697         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23698         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
23699         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23700         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23701         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23702         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23703         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23704         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23705         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23706         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23707         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23709         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23710         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23711         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23712         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23714         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23715         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23716         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23717         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23718         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23719         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23720         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23721         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23722         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23723         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23724         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23725         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23726         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23727         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23728         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23729         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23730         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23731         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23732         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23733         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23735         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23736         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23737         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23738         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23739         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23740         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23741         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23742         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23743         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23744         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23745         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23746         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23747         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23748         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23749         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23750         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23751         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23754         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23756         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23758         Moved ...
23759         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23760         ... here.
23761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23762         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23764         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23766         Moved ...
23767         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23769         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23771         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23773         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23775         Moved ...
23776         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23778         Moved ...
23779         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23781         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23783         Moved ...
23784         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23786         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23788         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23790         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23792         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23794         Moved ...
23795         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23796         ... here.
23797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23798         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23800         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23802         Moved ...
23803         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23805         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23807         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23809         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23811         Moved ...
23812         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23814         Moved ...
23815         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23817         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23819         Moved ...
23820         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23822         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23824         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23826 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23828         * timezone/checktab.awk: Update from tzcode 2014e.
23829         * timezone/private.h: Likewise.
23830         * timezone/tzfile.h: Likewise.
23831         * timezone/zdump.c: Likewise.
23832         * timezone/zic.c: Likewise.
23834         * sysdeps/unix/sysv/linux/kernel-features.h
23835         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23836         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23837         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23838         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23839         Remove conditional code.
23841 2014-06-25  Will Newton  <will.newton@linaro.org>
23843         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23844         (_dl_arm_cap_flags): Add HWCAP2 values.
23845         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23846         (_DL_HWCAP_COUNT): Increase to 37.
23847         (_DL_HWCAP_LAST): New define.
23848         (_DL_HWCAP2_LAST): New define.
23849         (_dl_procinfo): Add support for printing
23850         AT_HWCAP2 entries.
23851         (_dl_string_hwcap): Use _dl_hwcap_string.
23853 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23857 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23859         * README: Do not mention ports directory.
23861         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23862         Remove macro.
23863         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23864         <kernel-features.h>.
23865         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23866         conditional variable definition.
23867         (__futimes): Update comment.
23868         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23869         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23871         [BZ #16560]
23872         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23873         arguments close to 0.
23874         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23875         Likewise.
23876         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23877         Likewise.
23878         * math/auto-libm-test-in: Add more tests of exp10.
23879         * math/auto-libm-test-out: Regenerated.
23880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23882         * sysdeps/unix/sysv/linux/kernel-features.h
23883         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23884         * sysdeps/unix/sysv/linux/readv.c: Do not include
23885         <kernel-features.h>.
23886         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23887         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23888         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23889         unconditional.
23890         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23891         conditional code.
23892         * sysdeps/unix/sysv/linux/writev.c: Do not include
23893         <kernel-features.h>.
23894         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23895         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23896         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23897         unconditional.
23898         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23899         conditional code.
23901 2014-06-25  Will Newton  <will.newton@linaro.org>
23903         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23904         comment changes throughout the file.  Remove checks
23905         for HAVE_*_H definitions that are not required.
23906         (__gen_tempname): Call abort if an unknown kind value is
23907         passed.
23909 2014-06-25  Andreas Schwab  <schwab@suse.de>
23911         [BZ #17086]
23912         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23913         scalbln, scalblnf, scalblnl in libc.
23915 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23917         [BZ #17086]
23918         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23919         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23920         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23922 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23924         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23925         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23926         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23927         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23928         Update #include.
23929         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23930         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23931         Update #include.
23932         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23933         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23934         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23935         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23936         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23937         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23938         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23939         * sysdeps/x86/bits/semaphore.h: ... here.
23940         * sysdeps/x86/nptl/elide.h: Moved ...
23941         * sysdeps/x86/elide.h: ... here.
23942         * sysdeps/x86_64/nptl/Implies: File removed.
23943         * sysdeps/i386/nptl/Implies: File removed.
23945 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23947         [BZ #16539]
23948         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23949         return the argument for normal arguments with exponent below -64.
23950         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23951         Likewise.
23952         * math/auto-libm-test-in: Add another test of expm1.
23953         * math/auto-libm-test-out: Regenerated.
23955         [BZ #16287]
23956         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23957         calling __erfcl for arguments at least 16.
23958         * math/auto-libm-test-in: Add more tests of erf.
23959         * math/auto-libm-test-out: Regenerated.
23961         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23962         individual architectures.
23963         * sysdeps/unix/sysv/linux/configure: Regenerated.
23964         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23965         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23966         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23967         (ldd_rewrite_script): Define variable.
23968         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23970         file.
23971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23972         generated file.
23973         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23974         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23975         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23976         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23977         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23978         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23979         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23980         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23982 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23984         [BZ #17084]
23985         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23986         Rename member __data.d to __data.__elision_data.
23988 2014-06-24  Wilco  <wdijkstr@arm.com>
23990         * NEWS: Add 16918 to fixed bug list.
23992 2014-06-24  Wilco  <wdijkstr@arm.com>
23994         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23996 2014-06-24  Wilco  <wdijkstr@arm.com>
23998         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23999         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24000         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24001         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24002         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24003         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24004         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24005         Use _FPU_MASK_RM.
24007 2014-06-24  Wilco  <wdijkstr@arm.com>
24009         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24011 2014-06-24  Wilco  <wdijkstr@arm.com>
24013         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24014         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24015         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24016         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24018 2014-06-24  Wilco  <wdijkstr@arm.com>
24020         [BZ #16918]
24021         * sysdeps/arm/feupdateenv.c (feupdateenv):
24022         Rewrite to reduce FPSCR accesses and fix return value.
24024 2014-06-24  Wilco  <wdijkstr@arm.com>
24026         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24027         Optimize to avoid unnecessary FPSCR writes.
24028         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24029         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24030         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24031         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24033 2014-06-24  Wilco  <wdijkstr@arm.com>
24035         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24036         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24037         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24038         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24039         Call libc_fetestexcept_vfp.
24040         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24041         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24042         __SOFTFP__ ifdef so that they can be built for softfp.
24044 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24046         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24047         argument type signed char.
24049         * Makerules (check-abi): Dump diff of symlist if the test
24050         fails.
24052 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24054         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24055         using abort.
24057         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24058         Remove unused variable ST.
24060 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24062         [BZ #16354]
24063         [BZ #17061]
24064         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24065         small arguments before calling __expm1.
24066         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24067         small arguments before calling __expm1f.
24068         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24069         small arguments before calling __expm1l.
24070         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24071         Likewise.
24072         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24073         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24074         spurious underflow for some cosh tests.
24075         * math/auto-libm-test-out: Regenerated.
24076         * sysdeps/i386/fpu/libm-test-ulps: Update.
24078         [BZ #17050]
24079         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24080         (__ieee754_y1): Set errno if return value overflows.
24081         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24082         (__ieee754_y1f): Set errno if return value overflows.
24083         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24084         (__ieee754_y1l): Set errno if return value overflows.
24085         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24086         (__ieee754_y1l): Set errno if return value overflows.
24087         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24088         * math/auto-libm-test-out: Regenerated.
24090         * math/gen-auto-libm-tests.c: Document use of
24091         ignore-zero-inf-sign.
24092         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24093         (input_flags): Add ignore-zero-inf-sign.
24094         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24095         * math/gen-libm-test.pl (generate_testfile): Handle
24096         ignore-zero-inf-sign.
24097         * math/auto-libm-test-in: Mark some cpow tests with
24098         ignore-zero-inf-sign and some with xfail-rounding.
24099         * math/auto-libm-test-out: Regenerated.
24100         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24101         * sysdeps/i386/fpu/libm-test-ulps: Update.
24102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24104         [BZ #16315]
24105         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24106         overflowing or underflowing operations take place with sign of
24107         result.
24108         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24109         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24110         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24111         (__ieee754_pow): Recompute overflowing and underflowing results in
24112         original rounding mode.
24113         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24114         (__powl_helper): Allow negative argument X and scale negated value
24115         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24116         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24117         overflowing or underflowing operations take place with sign of
24118         result.
24119         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24120         Include <math.h>.
24121         * math/auto-libm-test-in: Add more tests of pow.
24122         * math/auto-libm-test-out: Regenerated.
24123         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24124         (pow_tonearest_test_data): Remove.
24125         (pow_test_tonearest): Likewise.
24126         (pow_towardzero_test_data): Likewise.
24127         (pow_test_towardzero): Likewise.
24128         (pow_downward_test_data): Likewise.
24129         (pow_test_downward): Likewise.
24130         (pow_upward_test_data): Likewise.
24131         (pow_test_upward): Likewise.
24132         (main): Don't call removed functions.
24133         * sysdeps/i386/fpu/libm-test-ulps: Update.
24134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24136 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24139         Moved ...
24140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24142         Moved ...
24143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24145         Moved ...
24146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24148         Moved ...
24149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24151         File removed.
24152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24153         File removed.
24154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24155         File removed.
24156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24157         File removed.
24158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24159         File removed.
24160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24161         File removed.
24162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24163         File removed.
24164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24165         File removed.
24166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24167         File removed.
24168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24169         File removed.
24170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24171         File removed.
24172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24173         File removed.
24174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24175         Moved ...
24176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24178         Moved ...
24179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24180         ... here.
24181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24182         Moved ...
24183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24185         Moved ...
24186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24188         Moved ...
24189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24191         Moved ...
24192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24194         Moved ...
24195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24197         Moved ...
24198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24200         Moved ...
24201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24204         ... here.
24205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24206         Moved ...
24207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24209         Moved ...
24210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24211         ... here.
24212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24213         Moved ...
24214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24215         ... here.
24216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24217         Moved ...
24218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24219         ... here.
24220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24221         Moved ...
24222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24224         Moved ...
24225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24229         Moved ...
24230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24231         ... here.
24232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24233         Moved ...
24234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24235         ... here.
24236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24237         Moved ...
24238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24240         Moved ...
24241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24243         Moved ...
24244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24246         Moved ...
24247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24249         Moved ...
24250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24251         ... here.
24252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24253         Moved ...
24254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24256         Moved ...
24257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24259         Moved ...
24260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24262         Moved ...
24263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24267         Moved ...
24268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24270         Moved ...
24271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24273         Moved ...
24274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24275         ... here.
24276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24277         Moved ...
24278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24279         ... here.
24280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24281         Moved ...
24282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24283         ... here.
24284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24285         Moved ...
24286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24288         Moved ...
24289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24291         Moved ...
24292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24294         Moved ...
24295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24296         ... here.
24297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24298         Moved ...
24299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24300         ... here.
24301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24302         Moved ...
24303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24304         ... here.
24305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24306         Moved ...
24307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24309         Moved ...
24310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24312 2014-06-23  Will Newton  <will.newton@linaro.org>
24313             Wilco  <wdijkstr@arm.com>
24315         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24316         implementation.  Include get-rounding-mode.h.
24317         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24318         [!libc_feholdsetround_noex_ctx]: Define
24319         libc_feholdsetround_noex_ctx.
24320         [!libc_feholdsetround_noexf_ctx]: Define
24321         libc_feholdsetround_noexf_ctx.
24322         [!libc_feholdsetround_noexl_ctx]: Define
24323         libc_feholdsetround_noexl_ctx.
24324         (libc_feholdsetround_ctx): New function.
24325         (libc_feresetround_ctx): New function.
24326         (libc_feholdsetround_noex_ctx): New function.
24327         (libc_feresetround_noex_ctx): New function.
24329 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24331         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24332         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24333         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24334         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24335         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24336         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24338         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24339         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24340         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24341         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24342         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24343         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24345         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24347         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24348         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24349         Moved ...
24350         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24351         ... here.
24352         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24353         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24355         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24356         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24357         Moved ...
24358         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24359         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24360         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24361         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24362         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24363         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24364         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24365         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24366         Moved ...
24367         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24368         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24369         Moved ...
24370         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24371         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24372         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24373         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24374         Moved ...
24375         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24376         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24377         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24378         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24379         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24380         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24381         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24382         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24383         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24384         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24385         Moved ...
24386         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24387         ... here.
24388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24389         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24390         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24391         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24392         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24393         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24394         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24395         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24396         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24397         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24399         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24400         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24401         Moved ...
24402         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24403         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24404         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24405         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24406         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24407         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24408         Moved ...
24409         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24410         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24411         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24412         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24413         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24415         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24416         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24417         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24418         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24419         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24420         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24421         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24422         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24423         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24424         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24425         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24426         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24427         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24428         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24429         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24430         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24431         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24432         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24433         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24434         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24435         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24436         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24437         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24438         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24439         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24440         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24441         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24442         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24444 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24446         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24447         (FALLOC_FL_COLLAPSE_RANGE): New macro.
24448         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24449         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24450         (IPV6_PMTUDISC_INTERFACE): Likewise.
24451         (IPV6_PMTUDISC_OMIT): Likewise.
24453 2014-06-23  Andreas Schwab  <schwab@suse.de>
24455         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24456         Remove unused errout label.
24458 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24460         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24461         macro: hardware supports Vector Crypto instructions.
24463 2014-06-23  Will Newton  <will.newton@linaro.org>
24465         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24466         rather than __builtin_expect.
24468         * elf/dl-lookup.c (undefined_msg): Remove variable.
24469         (_dl_lookup_symbol_x): Replace undefined_msg with string
24470         literal.
24472         * elf/dl-lookup.c (do_lookup_unique): New function.
24473         (do_lookup_x): Move STB_GNU_UNIQUE handling code
24474         to a separate function.
24476 2014-06-23  Andreas Schwab  <schwab@suse.de>
24478         [BZ #17079]
24479         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24480         before reading the next line.
24482 2014-06-23  Will Newton  <will.newton@linaro.org>
24484         * test-skeleton.c (signal_handler): Use printf and %m
24485         rather than perror.  Use printf rather than fprintf to
24486         stderr.  Use puts rather than fputs to stderr.
24487         (main): Likewise.
24489 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
24491         * nscd/nscd.c (thread_info_t): Remove typedef.
24492         (thread_info): Remove variable.
24494 2014-06-21  Allan McRae  <allan@archlinux.org>
24496         * NEWS: Mention CVE-2014-4043.
24498 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24500         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24501         * nptl/smp.h: ... here.
24503         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24505         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24506         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24507         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24508         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24510         * nptl/allocatestack.c: Include <stack-aliasing.h>.
24511         * nptl/stack-aliasing.h: New file.
24512         * sysdeps/i386/i686/stack-aliasing.h: New file.
24513         * sysdeps/i386/i686/nptl/Makefile: File removed.
24514         * sysdeps/x86_64/stack-aliasing.h: New file.
24515         * sysdeps/x86_64/nptl/Makefile
24516         (CFLAGS-pthread_create.c): Variable removed.
24518         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
24519         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24520         old file.
24521         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
24522         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
24523         old file.
24525 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
24527         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24528         (__ASSUME_SIGFRAME_V2): Remove macro.
24529         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
24530         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24531         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
24532         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
24533         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
24534         Declare as function.  Remove conditional macro definitions.
24535         (__default_rt_sa_restorer): Likewise.
24536         (__default_sa_restorer_v1): Remove declaration.
24537         (__default_sa_restorer_v2): Likewise.
24538         (__default_rt_sa_restorer_v1): Likewise.
24539         (__default_rt_sa_restorer_v2): Likewise.
24540         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
24541         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
24542         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
24544 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24546         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
24547         (libpthread-routines): Add sysdep.
24548         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
24549         * sysdeps/unix/sysv/linux/sparc/Versions
24550         (libpthread: GLIBC_2.3.3): New version set.
24551         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
24552         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
24553         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
24554         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
24555         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
24556         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
24557         Moved ...
24558         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
24559         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
24560         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
24561         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
24562         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
24563         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
24564         * sysdeps/sparc/nptl/sem_init.c: ... here.
24565         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
24566         * sysdeps/sparc/nptl/sem_post.c: ... here.
24567         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
24568         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
24569         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
24570         * sysdeps/sparc/nptl/sem_wait.c: ... here.
24571         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
24572         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
24573         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
24574         (libpthread-routines): Add cpu_relax.
24575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
24576         File removed.
24577         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
24578         (librt: GLIBC_2.3.3): New version set.
24579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
24580         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
24581         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
24582         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
24583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
24584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24585         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24587         Moved ...
24588         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24590         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24592         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24594         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24596         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24598         Moved ...
24599         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24600         Update #include.
24601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24602         Moved ...
24603         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24604         Update #include.
24605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24606         Moved ...
24607         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24608         Update #include.
24609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24610         Moved ...
24611         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24612         Update #include.
24613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24614         Moved ...
24615         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24616         Update #include.
24617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24618         Moved ...
24619         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24620         Update #include.
24621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24622         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24624         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24626         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24628         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24630         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24632         Moved ...
24633         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24635         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24637         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24639 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24641         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
24642         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
24643         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24644         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
24645         * nscd/nscd.c: Likewise.
24646         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
24647         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
24648         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
24649         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
24651         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
24652         <kernel-features.h>.
24653         (init_mq_netlink): Remove conditional have_sock_cloexec
24654         definitions.  Remove code conditional on have_sock_cloexec < 0.
24655         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
24656         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
24657         * sysdeps/unix/sysv/linux/opensock.c: Do not include
24658         <kernel-features.h>.
24659         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
24660         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24662 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24665         Add tests for memset_chk and memset.
24667         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
24668         with AVX2_Usable.
24670 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24672         [BZ #16046]
24673         * elf/tst-dl-iter-static.c: New file.
24674         * elf/Makefile (tests-static): Add tst-dl-iter-static.
24676         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
24677         error.
24679 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24681         * sysdeps/unix/sysv/linux/kernel-features.h
24682         (__ASSUME_F_GETOWN_EX): Remove macro.
24683         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
24684         <kernel-features.h>.
24685         (miss_F_GETOWN_EX): Remove variable or macro.
24686         (do_fcntl): Do not check miss_F_GETOWN_EX.
24687         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
24689         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
24690         Remove macro.
24691         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
24692         [!__ASSUME_AT_RANDOM]: Remove conditional code.
24693         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
24695         * sysdeps/unix/sysv/linux/kernel-features.h
24696         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
24697         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
24698         [ADJ_OFFSET_SS_READ]: Make code unconditional.
24699         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24701 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24703         [BZ #17075]
24704         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24705         Fix calculation of the symbol's value.
24706         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24707         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24708         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24709         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24710         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24711         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24712         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24713         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24714         (modules-names): Add `tst-armtlsdescmod',
24715         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24716         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24717         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24718         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24719         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24720         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24721         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24722         ($(objpfx)tst-armtlsdescloc): New dependency.
24723         ($(objpfx)tst-armtlsdescextnow): Likewise.
24724         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24725         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24726         TLS scheme support.
24727         * sysdeps/arm/configure: Regenerate.
24729 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24731         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24732         (__atfct_seterrno_2): Likewise.
24733         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24734         <kernel-features.h>.
24735         (__ASSUME_ATFCTS): Do not undefine and redefine.
24736         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24737         (__have_atfcts): Remove conditional definition.
24738         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24739         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24740         unreachable if [__ASSUME_ATFCTS].
24741         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24742         not undefine and redefine.
24743         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24744         <kernel-features.h>.
24745         (faccessat) [__NR_faccessat]: Make code unconditional.
24746         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24747         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24748         <kernel-features.h>.
24749         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24750         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24751         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24752         <kernel-features.h>.
24753         (fchownat) [__NR_fchownat]: Make code unconditional.
24754         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24755         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24756         <kernel-features.h>.
24757         (futimesat) [__NR_futimesat]: Make code unconditional.
24758         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24759         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24760         <kernel-features.h>.
24761         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24762         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24763         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24764         <kernel-features.h>.
24765         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24766         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24767         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24768         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24769         <kernel-features.h>.
24770         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24771         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24772         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24773         <kernel-features.h>.
24774         (linkat) [__NR_linkat]: Make code unconditional.
24775         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24776         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24777         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24778         <kernel-features.h>.
24779         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24780         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24781         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24782         <kernel-features.h>.
24783         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24784         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24785         * sysdeps/unix/sysv/linux/openat.c: Do not include
24786         <kernel-features.h>.
24787         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24788         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24789         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24790         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24791         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24792         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24793         <kernel-features.h>.
24794         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24795         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24796         result of INLINE_SYSCALL directly, not via int variable.
24797         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24798         <kernel-features.h>.
24799         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24800         (renameat) [__NR_renameat]: Make code unconditional.
24801         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24802         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24803         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24804         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24805         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24806         (__ASSUME_ATFCTS): Do not undefine and redefine.
24807         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24808         <kernel-features.h>.
24809         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24810         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24811         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24812         <kernel-features.h>.
24813         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24814         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24815         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24816         (__ASSUME_ATFCTS): Do not undefine and redefine.
24817         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24818         <kernel-features.h>.
24819         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24820         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24821         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24822         <kernel-features.h>.
24823         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24824         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24826 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24828         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24830 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24832         [BZ #17069]
24833         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24834         constructed tree before returning error.
24835         * posix/bug-regexp36.c: Expand test case.
24837 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24839         [BZ #6803]
24840         * math/libm-test.inc (scalbln_test_date):
24841         Add errno expectations.
24842         * math/w_scalblnf.c: New File.
24843         Add wrapper which checks for setting errno to ERANGE.
24844         Add weak_alias for corresponding scalbln function.
24845         * math/w_scalbln.c: Likewise.
24846         * math/w_scalblnl.c: Likewise.
24847         * math/Makefile (libm-calls): Add w_scalbln.
24848         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24849         Remove weak_alias for corresponding scalbln function.
24850         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24851         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24852         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24853         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24854         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24855         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24856         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24857         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24858         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24859         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24860         Remove long_double_symbol for scalblnl function in libm, libc.
24861         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24862         Add wrapper which checks for setting errno to ERANGE.
24863         Add long_double_symbol for scalblnl function in libm, libc.
24864         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24865         Remove long_double_symbol for scalblnl in libm.
24866         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24867         Add wrapper which checks for setting errno to ERANGE.
24868         Add long_double_symbol for scalblnl function in libm.
24869         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24870         Do not use wrapper because of own implementation.
24872 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24874         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24875         3 bytes for __pad1 for x32.
24876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24878 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24879             H.J. Lu  <hongjiu.lu@intel.com>
24881         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24882         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24883         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24884         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24885         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24887 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24889         [BZ #17069]
24890         * posix/regcomp.c (parse_expression): Deallocate partially
24891         constructed tree before returning error.
24892         * posix/Makefile.c (tests): Add bug-regex36.
24893         (generated): Add bug-regex36.mtrace.
24894         (tests-special): Add $(objpfx)bug-regex36-mem.out
24895         (bug-regex36-ENV): New variable.
24896         ($(objpfx)bug-regex36-mem.out): New rule.
24897         * posix/bug-regex36.c: New file.
24899 2014-06-19  Will Newton  <will.newton@linaro.org>
24901         * malloc/malloc.c (systrim): If extra is zero then return
24902         early.
24904 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24906         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24908 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24910         * sysdeps/aarch64/strchr.S: New file.
24912 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24914         [BZ #17022]
24915         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24916         from arguments -2 or below.
24917         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24918         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24920 2014-06-18  Andreas Schwab  <schwab@suse.de>
24922         [BZ #17062]
24923         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24924         of a bracket expr not to run off the end of the string.
24925         * posix/Makefile (tests): Add tst-fnmatch3.
24926         * posix/tst-fnmatch3.c: New file.
24928 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24930         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24931         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24932         [$(cross-compiling) = no]: Likewise.
24933         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24934         [$(cross-compiling) = no]: Likewise.
24936 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24938         [BZ #17031]
24939         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24940         double, adjusted for any remainder from the high double.
24941         * math/libm-test.inc (nearbyint): Add tests.
24942         (rint): Likewise.
24944 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24946         * nptl/sysdeps/powerpc/Makefile: Moved ...
24947         * sysdeps/powerpc/nptl/Makefile: ... here.
24948         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24949         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24950         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24951         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24952         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24953         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24954         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24955         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24956         * nptl/sysdeps/powerpc/tls.h: Moved ...
24957         * sysdeps/powerpc/nptl/tls.h: ... here.
24959 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24961         [BZ #16681]
24962         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24963         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24964         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24965         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24966         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24967         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24968         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24969         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24970         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24972 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24974         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24976 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24978         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24979         defined operator.
24981         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24982         $TIMEOUTFACTOR.
24984 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24986         [BZ #17058]
24987         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24988         non-executed part of the test.
24990 2014-06-16  Andreas Schwab  <schwab@suse.de>
24992         * string/bits/string2.h (strdup, strndup): Update feature guard.
24994 2014-06-14  David S. Miller  <davem@davemloft.net>
24996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24998 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25000         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25001         that was previously under [RESET_PID].
25002         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25004         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25005         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25006         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25007         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25008         (__libc_vfork): New strong alias.
25009         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25011 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25013         * sysdeps/generic/elide.h: New file.
25015 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25017         * Makefile (installed-headers): Adjust path of pthread.h header.
25019 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25021         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25022         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25023         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25024         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25026         * nptl/sysdeps/s390/Makefile: Moved ...
25027         * sysdeps/s390/nptl/Makefile: ... here.
25028         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25029         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25030         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25031         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25032         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25033         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25034         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25035         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25036         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25037         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25038         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25039         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25040         * nptl/sysdeps/s390/tls.h: Moved ...
25041         * sysdeps/s390/nptl/tls.h: ... here.
25043         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25044         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25046 2014-06-13  David S. Miller  <davem@davemloft.net>
25048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25051         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25055         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25056         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25057         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25058         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25059         Remove RESET_PID cpp guards.
25060         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25061         Remove RESET_PID cpp guards.
25062         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25064 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25066         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25067         __sp to uintptr_t.
25069 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25071         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25072         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25073         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25074         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25075         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25076         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25077         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25078         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25079         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25080         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25081         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25082         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25083         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25084         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25085         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25086         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25087         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25088         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25089         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25090         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25092         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25093         (pthread_rwlock_rdlock): Add elision.
25094         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25095         (pthread_rwlock_wrlock): Add elision.
25096         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25097         (pthread_rwlock_trywrlock): Add elision.
25098         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25099         (pthread_rwlock_tryrdlock): Add elision.
25100         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25101         (pthread_rwlock_tryrdlock): Add elision unlock.
25102         * nptl/sysdeps/pthread/pthread.h:
25103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25104         (PTHREAD_RWLOCK_INITIALIZER,
25105         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25106         Handle new elision field.
25107         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25108         * sysdeps/arm/nptl/bits/pthreadtypes.h
25109         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25110         * sysdeps/sh/nptl/bits/pthreadtypes.h
25111         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25112         * sysdeps/tile/nptl/bits/pthreadtypes.h
25113         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25114         * sysdeps/a/nptl/bits/pthreadtypes.h
25115         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25116         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25117         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25118         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25120         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25121         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25122         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25123         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25124         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25126         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25128         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25129         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25130         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25132         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25133         (elision_init): Set try_xbegin to zero when no RTM.
25134         * sysdeps/x86/nptl/bits/pthreadtypes.h
25135         (pthread_rwlock_t): Change __pad1 to __rwelision.
25136         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25138 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25140         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25141         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25142         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25143         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25145 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25147         [BZ #16996]
25148         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25149         that the cached result has been set before returning it.
25151 2014-06-12  Roland McGrath  <roland@hack.frob.com>
25153         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25154         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25155         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25156         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25157         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25158         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25160         * nptl/sysdeps/sparc/Makefile: Moved ...
25161         * sysdeps/sparc/nptl/Makefile: ... here.
25162         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25163         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25164         * nptl/sysdeps/sparc/tls.h: Moved ...
25165         * sysdeps/sparc/nptl/tls.h: ... here.
25166         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25167         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25168         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25169         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25170         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25171         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25172         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25173         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25174         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25175         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25176         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25177         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25178         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25179         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25180         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25181         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25182         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25183         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25184         Update #include.
25185         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25186         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25187         Update #include.
25188         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25189         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25190         Update #include.
25191         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25192         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25193         Update #include.
25195         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25197         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25198         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25200         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25201         (struct list_links): Type removed.
25202         (struct thread_node, struct timer_node): Replace struct list_links
25203         with struct list_head.
25204         (list_unlink_ip): Likewise.
25205         * sysdeps/pthread/timer_routines.c
25206         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25207         (list_append, list_insbefore): Likewise.
25208         (list_init): Function removed.
25209         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25210         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25211         * sysdeps/pthread/Makefile: ... here, new file.
25213         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25214         * sysdeps/nptl/Implies: ... here.
25215         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25216         * nptl/sysdeps/pthread/list.h: Moved ...
25217         * include/list.h: ... here.
25218         * nptl/sysdeps/pthread/createthread.c: Moved ...
25219         * nptl/createthread.c: ... here.
25220         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25221         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25222         * nptl/pt-longjmp.c: ... here.
25223         * nptl/sysdeps/pthread/Makefile: Moved ...
25224         * sysdeps/nptl/Makefile: ... here.
25225         * nptl/sysdeps/pthread/Subdirs: Moved ...
25226         * sysdeps/nptl/Subdirs: ... here.
25227         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25228         * sysdeps/nptl/aio_misc.h: ... here.
25229         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25230         * sysdeps/nptl/bits/libc-lock.h: ... here.
25231         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25232         * sysdeps/nptl/bits/libc-lockP.h: ... here.
25233         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25234         * sysdeps/nptl/bits/stdio-lock.h: ... here.
25235         * nptl/sysdeps/pthread/configure: Moved ...
25236         * sysdeps/nptl/configure: ... here.
25237         * nptl/sysdeps/pthread/configure.ac: Moved ...
25238         * sysdeps/nptl/configure.ac: ... here.
25239         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25240         * sysdeps/nptl/gai_misc.h: ... here.
25241         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25242         * sysdeps/nptl/librt-cancellation.c: ... here.
25243         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25244         * sysdeps/nptl/malloc-machine.h: ... here.
25245         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25246         * sysdeps/nptl/pthread-functions.h: ... here.
25247         * nptl/sysdeps/pthread/pthread.h: Moved ...
25248         * sysdeps/nptl/pthread.h: ... here.
25249         * nptl/sysdeps/pthread/setxid.h: Moved ...
25250         * sysdeps/nptl/setxid.h: ... here.
25251         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25252         * sysdeps/nptl/sigfillset.c: ... here.
25253         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25254         * sysdeps/nptl/tcb-offsets.h: ... here.
25255         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25256         * sysdeps/nptl/tst-mqueue8x.c: ... here.
25257         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25258         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25259         * nptl/sysdeps/pthread/allocalim.h: Moved ...
25260         * sysdeps/pthread/allocalim.h: ... here.
25261         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25262         * sysdeps/pthread/bits/sigthread.h: ... here.
25263         * nptl/sysdeps/pthread/flockfile.c: Moved ...
25264         * sysdeps/pthread/flockfile.c: ... here.
25265         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25266         * sysdeps/pthread/ftrylockfile.c: ... here.
25267         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25268         * sysdeps/pthread/funlockfile.c: ... here.
25269         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25270         * sysdeps/pthread/posix-timer.h: ... here.
25271         * nptl/sysdeps/pthread/timer_create.c: Moved ...
25272         * sysdeps/pthread/timer_create.c: ... here.
25273         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25274         * sysdeps/pthread/timer_delete.c: ... here.
25275         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25276         * sysdeps/pthread/timer_getoverr.c: ... here.
25277         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25278         * sysdeps/pthread/timer_gettime.c: ... here.
25279         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25280         * sysdeps/pthread/timer_routines.c: ... here.
25281         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25282         * sysdeps/pthread/timer_settime.c: ... here.
25283         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25284         * sysdeps/pthread/tst-timer.c: ... here.
25285         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25286         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25288         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25289         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25291         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25292         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25293         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25294         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25295         Update #include target.
25296         * nptl/sysdeps/i386/i686/Makefile: Moved ...
25297         * sysdeps/i386/i686/nptl/Makefile: ... here.
25298         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25299         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25300         Update #include target.
25301         * nptl/sysdeps/i386/i686/tls.h: Moved ...
25302         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
25303         * nptl/sysdeps/i386/Makefile: Moved ...
25304         * sysdeps/i386/nptl/Makefile: ... here.
25305         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25306         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25307         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25308         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25309         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25310         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25311         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25312         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25313         * sysdeps/i386/nptl/pthreaddef.h: ... here.
25314         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25315         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25316         * nptl/sysdeps/i386/tls.h: Moved ...
25317         * sysdeps/i386/nptl/tls.h: ... here.
25319         * sysdeps/sh/Makefile [$(subdir) = csu]
25320         (gen-as-const-headers): Add tcb-offsets.sym.
25321         * nptl/sysdeps/sh/Makefile: File removed.
25322         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25323         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25324         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25325         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25326         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25327         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25328         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25329         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25330         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25331         * sysdeps/sh/nptl/pthreaddef.h: ... here.
25332         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25333         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25334         * nptl/sysdeps/sh/tls.h: Moved ...
25335         * sysdeps/sh/nptl/tls.h: ... here.
25336         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25337         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25338         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25339         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25340         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25341         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25342         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25343         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25344         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25345         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25346         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25347         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25348         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25349         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25350         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25351         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25352         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25353         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25354         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25355         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25356         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25357         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25358         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25359         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25360         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25361         Moved ...
25362         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25363         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25364         Moved ...
25365         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25366         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25367         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25368         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25369         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25370         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25371         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25372         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25373         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25374         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25375         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25376         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25377         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25378         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25379         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25380         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25381         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25382         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25383         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25385 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25387         * posix/spawn_faction_addopen.c: Include string.h.
25389 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25391         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25392         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25393         * nptl/sysdeps/x86_64/Makefile: Moved ...
25394         * sysdeps/x86_64/nptl/Makefile: ... here.
25395         * nptl/sysdeps/x86_64/configure: Moved ...
25396         * sysdeps/x86_64/nptl/configure: ... here.
25397         * nptl/sysdeps/x86_64/configure.ac: Moved ...
25398         * sysdeps/x86_64/nptl/configure.ac: ... here.
25399         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25400         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25401         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25402         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25403         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25404         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25405         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25406         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25407         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25408         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25409         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25410         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25411         * nptl/sysdeps/x86_64/tls.h: Moved ...
25412         * sysdeps/x86_64/nptl/tls.h: ... here.
25413         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25414         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25415         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25416         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25418         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25420 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25424 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
25426         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25427         type.
25428         [POSIX] (off_t): Likewise.
25429         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25430         [POSIX] (S_ISBLK): Require macro.
25431         [POSIX] (S_ISCHR): Likewise.
25432         [POSIX] (S_ISDIR): Likewise.
25433         [POSIX] (S_ISFIFO): Likewise.
25434         [POSIX] (S_ISREG): Likewise.
25435         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25436         optional-macro.
25437         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25438         type.
25439         [POSIX] (time_t): Likewise.
25440         [POSIX] (timer_t): Likewise.
25442 2014-06-11  Florian Weimer  <fweimer@redhat.com>
25444         [BZ #17048]
25445         * posix/spawn_int.h (struct __spawn_action): Make the path string
25446         non-const to support deallocation.
25447         * posix/spawn_faction_addopen.c
25448         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25449         * posix/spawn_faction_destroy.c
25450         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
25451         path in all spawn_do_open actions.
25452         * posix/tst-spawn.c (do_test): Exercise the copy operation in
25453         posix_spawn_file_actions_addopen.
25455 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
25457         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25458         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25459         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25460         conditional code always true.
25461         (__libc_vfork): New alias.
25463 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25465         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25466         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25468         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25470         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25471         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25473         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25474         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25476         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25477         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25479 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25481         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25482         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25483         multiarch strcmp for PPC64.
25484         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25485         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25487         multiarch optimizations.
25488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25489         (__libc_ifunc_impl_list): Likewise.
25491 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25493         * benchtests/scripts/validate_benchout.py: New script.
25494         * benchtests/Makefile (bench-func): Call it.
25495         * benchtests/scripts/benchout.schema.json: New file.
25497 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
25499         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25500         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25501         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25502         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25503         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25504         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25505         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25506         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25507         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25508         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25509         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25510         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25511         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25512         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25513         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
25514         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
25516         Moved ...
25517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
25518         ... here.
25519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
25520         Moved ...
25521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
25522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
25523         Moved ...
25524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
25525         ... here.
25526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
25527         Moved ...
25528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
25529         ... here.
25530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
25531         Moved ...
25532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
25533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
25534         Moved ...
25535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
25536         ... here.
25537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
25538         Moved ...
25539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
25540         ... here.
25541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
25542         Moved ...
25543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
25544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
25545         Moved ...
25546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
25547         ... here.
25548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
25549         Moved ...
25550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
25551         ... here.
25552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
25553         Moved ...
25554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
25555         ... here.
25556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
25557         Moved ...
25558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
25559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
25560         Moved ...
25561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
25562         ... here.
25563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
25564         Moved ...
25565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
25566         ... here.
25567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
25568         Moved ...
25569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
25570         ... here.
25571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
25572         Moved ...
25573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
25574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
25575         Moved ...
25576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
25577         ... here.
25578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
25579         Moved ...
25580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
25581         ... here.
25582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
25583         Moved ...
25584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25586         Moved ...
25587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25588         ... here.
25589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25590         Moved ...
25591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25593         Moved ...
25594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25596         Moved ...
25597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25598         ... here.
25599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25600         Moved ...
25601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25602         ... here.
25603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25604         Moved ...
25605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25606         ... here.
25607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25608         Moved ...
25609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25611         Moved ...
25612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25613         ... here.
25614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25615         Moved ...
25616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25617         ... here.
25618         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25619         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25620         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25621         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25623         Moved ...
25624         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25625         ... here.
25626         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25627         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25628         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25629         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25630         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25631         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25632         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25633         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25634         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25635         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25636         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25637         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25638         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25639         Moved ...
25640         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
25641         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
25642         Moved ...
25643         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
25644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
25645         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
25646         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
25647         Moved ...
25648         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
25649         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
25650         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
25651         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
25652         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
25653         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
25654         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
25656 2014-06-10  Wilco  <wdijkstr@arm.com>
25658         * math/test-fenv-return.c: New file.
25659         * math/Makefile: Add new test test-fenv-return.
25661 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
25663         [BZ #17042]
25664         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
25665         when x - 1 is zero.
25666         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
25667         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
25668         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
25669         0.0L for an argument of 1.0L.
25670         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25671         Likewise.
25672         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
25673         value when x - 1 is zero.
25674         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
25675         * sysdeps/i386/fpu/libm-test-ulps: Update.
25676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25678 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
25680         [BZ #15119]
25681         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
25683 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25685         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
25686         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
25688 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25690         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25691         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
25693         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25694         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
25696         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25697         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
25699         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25700         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25702         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25703         if not already defined.
25704         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25705         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25706         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25707         (TLS_INIT_TP): Use it.
25708         (TLS_DEFINE_INIT_TP): New macro.
25709         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25711 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25713         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25714         constant.
25715         [POSIX] (IXANY): Likewise.
25716         [POSIX] (OLCUC): Likewise.
25717         [POSIX || POSIX2008] (CBAUD): Do not allow.
25718         [POSIX || POSIX2008] (DEFECHO): Likewise.
25719         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25720         [POSIX || POSIX2008] (ECHOKE): Likewise.
25721         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25722         [POSIX || POSIX2008] (EXTA): Likewise.
25723         [POSIX || POSIX2008] (EXTB): Likewise.
25724         [POSIX || POSIX2008] (FLUSHO): Likewise.
25725         [POSIX || POSIX2008] (LOBLK): Likewise.
25726         [POSIX || POSIX2008] (PENDIN): Likewise.
25727         [POSIX || POSIX2008] (SWTCH): Likewise.
25728         [POSIX || POSIX2008] (VDISCARD): Likewise.
25729         [POSIX || POSIX2008] (VDSUSP): Likewise.
25730         [POSIX || POSIX2008] (VLNEXT): Likewise.
25731         [POSIX || POSIX2008] (VREPRINT): Likewise.
25732         [POSIX || POSIX2008] (VSTATUS): Likewise.
25733         [POSIX || POSIX2008] (VWERASE): Likewise.
25734         (B*): Change to B[0123456789]*.
25735         * conform/data/time.h-data [POSIX || UNIX98]
25736         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25737         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25738         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25739         [POSIX] (tm_*): Do not allow.
25741 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25743         * Makefile (install): Don't set LANGUAGE.
25744         * Makefile.in (install): Likewise.
25745         * assert/Makefile (test-assert-ENV): Remove variable.
25746         (test-assert-perr-ENV): Likewise.
25747         * elf/Makefile (neededtest4-ENV): Likewise.
25748         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25749         [$(cross-compiling) = no]: Don't set LANGUAGE.
25750         * io/ftwtest-sh (LANG): Remove variable.
25751         * libio/Makefile (tst-widetext-ENV): Likewise.
25752         * manual/install.texi (Running make install): Don't refer to
25753         environment settings for make install.
25754         * INSTALL: Regenerated.
25755         * nptl/tst-tls6.sh: Don't set LANG.
25756         * posix/globtest.sh (LANG): Remove variable.
25757         * string/Makefile (tester-ENV): Likewise.
25758         (inl-tester-ENV): Likewise.
25759         (noinl-tester-ENV): Likewise.
25760         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25761         [$(cross-compiling) = no]: Don't set LANGUAGE.
25762         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25763         without explicit environment settings.
25765 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25767         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25768         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25769         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25770         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25772 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25774         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25775         other files in the crypt directory.
25776         * crypt/crypt.c: Remove duplicate includes.
25777         * crypt/crypt-entry.c: Likewise.
25778         * crypt/crypt_util.c: Likewise.
25780 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25782         * Makeconfig (run-program-env): New variable.
25783         (run-program-prefix-before-env): Likewise.
25784         (run-program-prefix-after-env): Likewise.
25785         (run-program-prefix): Define in terms of new variables.
25786         (built-program-cmd-before-env): New variable.
25787         (built-program-cmd-after-env): Likewise.
25788         (built-program-cmd): Define in terms of new variables.
25789         (test-program-prefix-before-env): New variable.
25790         (test-program-prefix-after-env): Likewise.
25791         (test-program-prefix): Define in terms of new variables.
25792         (test-program-cmd-before-env): New variable.
25793         (test-program-cmd-after-env): Likewise.
25794         (test-program-cmd): Define in terms of new variables.
25795         * Rules (make-test-out): Use $(run-program-env).
25796         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25797         (help): Do not mention environment variables.  Mention
25798         --timeoutfactor option.
25799         (timeoutfactor): New variable.
25800         (blacklist_exports): Remove function.
25801         (exports): Remove variable.
25802         (command): Do not include ${exports}.
25803         * manual/install.texi (Configuring and compiling): Do not mention
25804         test wrappers preserving environment variables.  Mention that last
25805         assignment to a variable must take precedence.
25806         * INSTALL: Regenerated.
25807         * benchtests/Makefile (run-bench): Use $(run-program-env).
25808         * catgets/Makefile ($(objpfx)test1.cat): Use
25809         $(built-program-cmd-before-env), $(run-program-env) and
25810         $(built-program-cmd-after-env).
25811         ($(objpfx)test2.cat): Do not specify environment variables
25812         explicitly.
25813         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25814         $(run-program-env) and $(built-program-cmd-after-env).
25815         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25816         $(run-program-env) and $(test-program-cmd-after-env).
25817         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25818         explicitly.
25819         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25820         run_program_env and test_program_cmd_after_env arguments.
25821         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25822         * elf/tst-pathopt.sh: Use run_program_env argument.
25823         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25824         $(test-wrapper-env) and $(run-program-env).
25825         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25826         run_program_env arguments.
25827         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25828         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25829         $(test-program-prefix-before-env), $(run-program-env) and
25830         $(test-program-prefix-after-env).
25831         ($(objpfx)tst-gettext2.out): Likewise.
25832         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25833         run_program_env and test_program_prefix_after_env arguments.
25834         * intl/tst-gettext2.sh: Likewise.
25835         * intl/tst-gettext4.sh: Do not set environment variables
25836         explicitly.
25837         * intl/tst-gettext6.sh: Likewise.
25838         * intl/tst-translit.sh: Likewise.
25839         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25840         $(test-program-prefix-before-env), $(run-program-env) and
25841         $(test-program-prefix-after-env).
25842         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25843         run_program_env and test_program_prefix_after_env arguments.
25844         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25845         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25846         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25847         explicitly with each use of ${test_wrapper_env}.
25848         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25849         $(test-program-prefix-before-env), $(run-program-env) and
25850         $(test-program-prefix-after-env).
25851         * posix/tst-getconf.sh: Do not set environment variables
25852         explicitly.
25853         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25854         run_program_env and test_program_prefix_after_env arguments.
25855         * stdio-common/tst-printf.sh: Do not set environment variables
25856         explicitly.
25857         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25858         $(test-program-prefix-before-env), $(run-program-env) and
25859         $(test-program-prefix-after-env).
25860         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25861         run_program_env and test_program_prefix_after_env arguments.
25862         Split $test calls into $test_pre and $test.
25863         * timezone/Makefile (build-testdata): Use
25864         $(built-program-cmd-before-env), $(run-program-env) and
25865         $(built-program-cmd-after-env).
25867 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25869         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25870         strlen for non SHARED builds.
25872 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25874         * nptl/allocatestack.c (check_list): Inlined function...
25875         (__reclaim_stacks): ... here.
25877 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25879         [BZ #15698]
25880         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25881         memory overrun.
25883 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25885         * Rules (make-test-out): Include
25886         LOCPATH=$(common-objpfx)localedata in default environment.
25887         * debug/Makefile (tst-chk1-ENV): Remove variable.
25888         (tst-chk2-ENV): Likewise.
25889         (tst-chk3-ENV): Likewise.
25890         (tst-chk4-ENV): Likewise.
25891         (tst-chk5-ENV): Likewise.
25892         (tst-chk6-ENV): Likewise.
25893         (tst-lfschk1-ENV): Likewise.
25894         (tst-lfschk2-ENV): Likewise.
25895         (tst-lfschk3-ENV): Likewise.
25896         (tst-lfschk4-ENV): Likewise.
25897         (tst-lfschk5-ENV): Likewise.
25898         (tst-lfschk6-ENV): Likewise.
25899         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25900         (tst-iconv7-ENV): Likewise.
25901         * intl/Makefile (LOCPATH-ENV): Likewise.
25902         (tst-codeset-ENV): Likewise.
25903         (tst-gettext3-ENV): Likewise.
25904         (tst-gettext5-ENV): Likewise.
25905         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25906         (tst-fopenloc-ENV): Likewise.
25907         (tst-fgetws-ENV): Remove variable.
25908         (tst-ungetwc1-ENV): Likewise.
25909         (tst-ungetwc2-ENV): Likewise.
25910         (bug-ungetwc2-ENV): Likewise.
25911         (tst-swscanf-ENV): Likewise.
25912         (bug-ftell-ENV): Likewise.
25913         (tst-fgetwc-ENV): Likewise.
25914         (tst-fseek-ENV): Likewise.
25915         (tst-ftell-partial-wide-ENV): Likewise.
25916         (tst-ftell-active-handler-ENV): Likewise.
25917         (tst-ftell-append-ENV): Likewise.
25918         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25919         (tst-regexloc-ENV): Likewise.
25920         (bug-regex1-ENV): Likewise.
25921         (tst-regex-ENV): Likewise.
25922         (tst-regex2-ENV): Likewise.
25923         (bug-regex5-ENV): Likewise.
25924         (bug-regex6-ENV): Likewise.
25925         (bug-regex17-ENV): Likewise.
25926         (bug-regex18-ENV): Likewise.
25927         (bug-regex19-ENV): Likewise.
25928         (bug-regex20-ENV): Likewise.
25929         (bug-regex22-ENV): Likewise.
25930         (bug-regex23-ENV): Likewise.
25931         (bug-regex25-ENV): Likewise.
25932         (bug-regex26-ENV): Likewise.
25933         (bug-regex30-ENV): Likewise.
25934         (bug-regex32-ENV): Likewise.
25935         (bug-regex33-ENV): Likewise.
25936         (bug-regex34-ENV): Likewise.
25937         (bug-regex35-ENV): Likewise.
25938         (tst-rxspencer-ENV): Likewise.
25939         (tst-rxspencer-no-utf8-ENV): Likewise.
25940         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25941         (tst-sscanf-ENV): Likewise.
25942         (tst-swprintf-ENV): Likewise.
25943         (tst-swscanf-ENV): Likewise.
25944         (test-vfprintf-ENV): Likewise.
25945         (scanf13-ENV): Likewise.
25946         (bug14-ENV): Likewise.
25947         (tst-grouping-ENV): Likewise.
25948         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25949         (tst-strtod3-ENV): Likewise.
25950         (tst-strtod4-ENV): Likewise.
25951         (tst-strtod5-ENV): Likewise.
25952         (testmb2-ENV): Likewise./
25953         * string/Makefile (tst-strxfrm-ENV): Likewise.
25954         (tst-strxfrm2-ENV): Likewise.
25955         (bug-strcoll1-ENV): Likewise.
25956         (test-strcasecmp-ENV): Likewise.
25957         (test-strncasecmp-ENV): Likewise.
25958         * time/Makefile (tst-strptime-ENV): Likewise.
25959         (tst-ftime_l-ENV): Likewise.
25960         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25961         (tst-mbrtowc-ENV): Likewise.
25962         (tst-wcrtomb-ENV): Likewise.
25963         (tst-mbrtowc2-ENV): Likewise.
25964         (tst-c16c32-1-ENV): Likewise.
25965         (tst-mbsnrtowcs-ENV): Likewise.
25967 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25969         * manual/resource.texi (How to get information about the memory
25970         subsystem?): Fix typo.
25971         Reported by Peon de la Parra Ivan <peon@keba.com>
25973 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25975         [BZ #16882]
25976         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25977         (pthread_spin_lock): Branch out of spin loop to proper location.
25978         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25979         (pthread_spin_lock): Likewise.
25981         * nptl/tst-spin4.c: New test.
25982         * nptl/Makefile (tests): Add tst-spin4.
25984 2014-06-03  Andreas Schwab  <schwab@suse.de>
25986         [BZ #15946]
25987         * resolv/res_send.c (send_dg): Reload file descriptor after
25988         calling reopen.
25990 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25992         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25994 2014-06-03  Richard Henderson  <rth@redhat.com>
25996         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25997         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25998         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25999         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26000         in the SAVE_PID block.
26001         (__libc_vfork): New alias.
26002         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26004         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26005         child in registers, not on the stack.  Remove RESET_PID conditionals.
26006         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26008 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26010         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26012 2014-06-03  Wilco  <wdijkstr@arm.com>
26014         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26015         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26016         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26017         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26018         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26019         Likewise.
26021 2014-06-03  Wilco  <wdijkstr@arm.com>
26023         * sysdeps/aarch64/fpu/math_private.h
26024         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26025         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26026         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26027         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26028         Fix declarations.
26030 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26032         * crypt/crypt-private.h: Include ufc-crypt.h.
26033         (__b64_from_24bit): Declare extern.
26034         * crypt/crypt_util.c(__b64_from_24bit): New function.
26035         (b64t): New static const variable.
26036         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26037         (b64t): Remove variable.
26038         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26039         * crypt/sha256-crypt.c: Include crypt-private.h.
26040         (b64t): Remove variable.
26041         (__sha256_crypt_r): Remove b64_from_24bit and replace
26042         with __b64_from_24bit.
26043         * crypt/sha512-crypt.c: Likewise.
26045 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26047         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26048         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26049         Label the code __libc_vfork rather than __vfork.
26050         [!NOT_IN_libc] (vfork): Define as weak alias.
26051         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26052         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26053         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26055 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26057         * malloc/malloc.c (malloc_info): Fix format specifier for
26058         n_mmaps.
26060 2014-06-02  Wilco  <wdijkstr@arm.com>
26062         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26063         FPCR write.
26065 2014-06-02  Wilco  <wdijkstr@arm.com>
26067         [BZ #17009]
26068         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26069         Rewrite to reduce FPCR/FPSR accesses.
26071 2014-06-01  David S. Miller  <davem@davemloft.net>
26073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26075 2014-05-31  David S. Miller  <davem@davemloft.net>
26077         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26078         to occur in round to nearest mode when |x| >= 2.0
26080 2014-05-30  Richard Henderson  <rth@twiddle.net>
26082         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26083         (PSEUDO_RET_NOERRNO): Remove.
26084         (ret): Don't redefine.
26085         (ret_NOERRNO): Define in terms of ret.
26086         (ret_ERRVAL): Likewise.
26088         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26089         use of PSEUDO_RET; perform the error check directly.
26091 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26093         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26094         with __int128_t.
26096 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26098         * malloc/malloc (malloc_info): Fix formatting.
26100 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26101             Roland McGrath  <roland@hack.frob.com>
26103         * malloc/malloc (malloc_info): Also print mmapped statistics.
26105 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26107         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26108         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26110 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26112         * malloc/malloc.c (malloc_info): Inline mi_arena.
26114 2014-05-29  Richard Henderson  <rth@twiddle.net>
26116         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26117         Remove comma before expanding ASM_ARGS_##nr.
26118         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26119         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26120         of ASM_ARGS_##nr.
26121         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26122         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26123         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26124         (ASM_ARGS_1): Add leading comma.
26126         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26127         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26128         to __errno_location.
26129         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26130         Remove the expected plt for __errno_location.
26132         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26133         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26134         call to __read_tp.
26136         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26137         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26138         it and break it down.
26139         (DOCARGS_0, DOCARGS_1): Do nothing.
26140         (DOCARGS_2): Update to store into the new stack frame.
26141         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26142         (UNDOCARGS_1): Update to restore from the new stack frame.
26143         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26144         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26146         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26147         (SINGLE_THREAD_P): New parameter for result regno.
26148         (PSEUDO): Update to match; use cbz instead of beq.
26150         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26151         Use ENTRY to define the _nocancel entry point.  Share the syscall
26152         and syscall error check paths with the cancel path.
26153         (PSEUDO_END): New.
26155         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26156         whitespace; tabs before and after asm mnemonics.
26158 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26160         [BZ #15132]
26161         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26162         Call fstat64 or stat64 internally, depending on arguments passed.
26163         Replace stat buffer argument with file descriptor argument.
26164         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26165         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26166         Pass fd to __internal_statvfs instead of calling fstat64.
26167         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26168         Pass fd to __internal_statvfs64 instead of calling fstat64.
26169         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26170         Pass -1 to __internal_statvfs instead of calling stat64.
26171         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26172         Pass -1 to __internal_statvfs64 instead of calling stat64.
26174 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26176         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26177         that was previously under [RESET_PID].
26178         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26180         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26181         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26183 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26185         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26187         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26188         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26190 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26192         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26194 2014-05-27  Andreas Schwab  <schwab@suse.de>
26196         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26197         TLS_INIT_TP macro.
26198         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26199         * elf/rtld.c (init_tls, dl_main): Likewise.
26200         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26201         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26202         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26203         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26204         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26205         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26206         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26207         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26208         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26209         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26210         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26211         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26212         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26213         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26214         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26215         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26216         * sysdeps/generic/tls.h: Update description.
26218 2014-05-27  Will Newton  <will.newton@linaro.org>
26220         [BZ #16990]
26221         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26222         and restore r2 rather than just restoring.
26224 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26226         [BZ #16724]
26227         * libio/tst-ftell-append.c: New test case.
26228         * libio/Makefile (tests): Add test case.
26229         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26230         append mode.
26231         * libio/wfileops.c (do_ftell_wide): Likewise.
26233 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26237         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26238         ...
26239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26241         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26242         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26243         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26244         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26245         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26246         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26247         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26248         Moved ...
26249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26251         Moved ...
26252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26253         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26254         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26255         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26256         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26257         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26258         ...
26259         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26260         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26261         Moved ...
26262         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26263         here.
26264         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26265         ...
26266         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26267         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26268         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26270         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26271         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26272         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26273         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26276         merge into ...
26277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26279         ...
26280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26282         ...
26283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26285         Moved ...
26286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26287         here.
26288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26289         Moved ...
26290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26292         Moved ...
26293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26296         conditional [RESET_PID].
26297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26299         removed.
26300         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26301         removed.
26303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26304         <tcb-offsets.h>.
26305         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26306         (__libc_vfork): New strong alias.
26307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26308         removed.
26309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26310         Removed.
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26313         <tcb-offsets.h>.
26314         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26315         (__libc_vfork): New strong alias.
26316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26317         removed.
26318         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26319         removed.
26321 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
26323         * malloc/malloc.c (mi_arena): New function.
26324         (malloc_info): Remove nested function mi_arena. Call non-nosted
26325         function mi_arena.
26327 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26329         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26330         by insrwi.
26331         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26332         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26333         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26334         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26335         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26336         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26337         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26339 2014-05-26  Andreas Schwab  <schwab@suse.de>
26341         [BZ #16984]
26342         * locale/programs/repertoire.c (repertoire_read): Add slash
26343         between I18NPATH element and file name.
26344         * locale/programs/locfile.c (locfile_read): Likewise.
26346 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26348         * nptl/pthread_mutexattr_settype.c
26349         (__pthread_mutexattr_settype):
26350         Disable lock elision for PTHREAD_MUTEX_NORMAL.
26352 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26354         * nptl/tst-mutex5 (do_test):
26355         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26357 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26359         * benchtests/README: Document 'init' directive.
26360         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26361         BENCH_INIT.
26362         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26363         (parse_file): Recognize 'init' directive.
26365 2014-05-26  Kyle McMartin  <kyle@redhat.com>
26367         [BZ #16796]
26368         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26369         alignment of struct pthread.
26371 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26373         [BZ #16878]
26374         * nscd/netgroupcache.c (addgetnetgrentX): Look for
26375         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26376         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26377         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26379 2014-05-25  Richard Henderson  <rth@twiddle.net>
26381         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26382         (SINGLE_THREAD_P_PIC): Remove.
26383         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26384         (SINGLE_THREAD_P_PIC): Remove.
26386         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26387         branch to syscall error ...
26388         (PSEUDO): ... here.
26389         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26390         from __local_syscall_error to .Lsyscall_error.
26391         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26392         (SYSCALL_ERROR): Update label name.
26394         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26395         Do not use DOARGS/UNDOARGS.
26396         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26397         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26398         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26399         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26400         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26403         block comment.
26405         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26406         define if !NOT_IN_libc.
26407         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26408         define with non-default symbol versions.
26410 2014-05-23  Richard Henderson  <rth@twiddle.net>
26412         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26413         (vfork, __vfork): Define via compat_symbol.
26415         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26416         [!HAVE_IFUNC] (vfork_compat): Remove.
26417         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26419 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26421         [BZ #16978]
26422         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26423         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26424         variable.
26426 2014-05-23  Richard Henderson  <rth@twiddle.net>
26428         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26429         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26430         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26431         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26433         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26434         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26435         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26436         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26437         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26438         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26439         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26440         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26441         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26442         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26443         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26444         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26445         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26446         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26447         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26448         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26449         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26450         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26451         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26452         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26453         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26454         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26455         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26456         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26457         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26458         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26459         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26460         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26461         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26462         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26463         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26464         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26465         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26466         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26467         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26468         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26469         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26470         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26471         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26472         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26473         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26474         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26475         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26476         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26477         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26478         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26479         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26480         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26481         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26482         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26483         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26484         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26485         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26486         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26487         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26488         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26490         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26491         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26492         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
26493         before exiting on error.
26494         (__libc_vfork): New strong alias.
26495         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26496         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26498         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26499         that was previously under [RESET_PID].
26500         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26502         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26504 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26506         [BZ #16977]
26507         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26508         value when x - 1 is zero.
26509         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26510         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26511         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26512         0.0L for an argument of 1.0L.
26513         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
26514         Likewise.
26515         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
26516         value when x - 1 is zero.
26517         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
26518         * sysdeps/i386/fpu/libm-test-ulps: Update.
26519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26521 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26523         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
26524         alphasort and versionsort.
26526 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26528         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
26529         macro.
26530         [copysignf]: Likewise.
26532 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26534         * crypt/md5-crypt.c: Fix formatting.
26536 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26538         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
26539         (b64_from_24bit): New function.
26541 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26543         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
26544         libc_hidden_builtin_def to ifunc.
26545         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26546         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
26548 2014-05-21  Roland McGrath  <roland@hack.frob.com>
26550         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
26551         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
26553 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
26555         * nscd/Depend (linuxthreads): Remove.
26556         (nptl): Add.
26557         * resolv/Depend (linuxthreads): Remove.
26558         * rt/Depend (linuxthreads): Remove.
26560         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
26561         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
26562         $(common-objpfx)elf/.
26563         (link-libc-before-gnulib): Likewise.
26564         (elfobjdir): Remove variable.
26565         * Makefile (install): Use $(elf-objpfx) instead of
26566         $(common-objpfx)elf/.
26567         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
26568         $(elfobjdir)/.
26569         (link-libc-deps): Likewise.
26570         ($(common-objpfx)libc.so): Likewise.
26571         ($(common-objpfx)linkobj/libc.so): Likewise.
26572         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26573         instead of $(common-objpfx)elf/.
26574         (symbolic-link-list): Likewise.
26575         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26576         [$(cross-compiling) = no]: Likewise.
26577         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
26578         $(elfobjdir)/.
26579         (static-gnulib-arch): Likewise.
26580         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26581         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
26582         $(common-objpfx)elf/.
26584 2014-05-21  Richard Henderson  <rth@redhat.com>
26586         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26587         (SINGLE_THREAD_P): Use the correct width load.  Fold
26588         into the ldr offset.
26590         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26591         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26593 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
26595         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26596         (libgcc_s_resume): Use __attribute_used__.
26597         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26598         Likewise.
26600 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26602         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26603         optimization when used with float constants.
26605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26607 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
26609         [BZ #16915]
26610         * locale/nl_langinfo_l.c: Make direct reference to every
26611         _nl_current_CATEGORY symbol.
26612         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26613         (tests-static): Add tst-langinfo-static.
26614         (tests-special): Add tst-langinfo-static.out.
26615         ($(objpfx)tst-langinfo.out): Redirect output.
26616         ($(objpfx)tst-langinfo-static.out): New.
26617         * localedata/tst-langinfo.sh: Send output to stdout.
26618         * localedata/tst-langinfo-static.c: New file.
26620         [BZ #16965]
26621         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26622         when the shift amount is modulo the limb size.
26624 2014-05-20  Richard Henderson  <rth@redhat.com>
26626         [BZ #16967]
26627         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26628         Change type of sa_flags from unsigned int to int.
26630         [BZ #16966]
26631         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26633         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26635 2014-05-20  Will Newton  <will.newton@linaro.org>
26637         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26638         Test the return value of the system call in the nocancel case.
26640 2014-05-20  Will Newton  <will.newton@linaro.org>
26641             Yvan Roux  <yvan.roux@linaro.org>
26643         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
26644         #include of asm/ptrace.h.
26645         (PTRACE_GET_THREAD_AREA): Remove #undef.
26646         (PTRACE_GETHBPREGS): Likewise.
26647         (PTRACE_SETHBPREGS): Likewise.
26648         (struct user_regs_struct): New structure.
26649         (struct user_fpsimd_struct): New structure.
26650         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
26651         #include of asm/ptrace.h and second #include of sys/user.h.
26652         (PTRACE_GET_THREAD_AREA): Remove #undef.
26653         (PTRACE_GETHBPREGS): Likewise.
26654         (PTRACE_SETHBPREGS): Likewise.
26655         (ELF_NGREG): Use new struct user_regs_struct.
26656         (elf_fpregset_t): Use new struct user_fpsimd_struct.
26658 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26660         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
26661         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
26663 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
26665         [BZ #16958]
26666         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
26667         membar to avoid block loads/stores to overlap previous stores.
26669 2014-05-17  Richard Henderson  <rth@redhat.com>
26671         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
26672         Create the __##syscall_name##_nocancel entry point.
26673         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
26674         Remove; let the sysdep-cancel.h code create it.
26676 2014-05-17  David S. Miller  <davem@davemloft.net>
26678         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
26679         Protect with __USE_GNU.
26680         (TIOCSET_TEMPT): Likewise.
26681         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26682         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
26683         these are already provided in bits/ioctl-types.h
26685 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26687         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
26688         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
26690         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
26691         Use wait4 regardless of [__NR_waitpid].
26693 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26695         PR libgcc/60166
26696         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26697         (_FP_NANSIGN_Q): Set the quiet bit.
26699 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26701         * benchtests/Makefile
26702         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26703         not $(common-objpfx)math/libm.so.
26704         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26705         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26706         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26707         $(common-objpfx)dlfcn/libdl.so.
26708         ($(objpfx)tst-audit8): Depend on $(libm), not
26709         $(common-objpfx)math/libm.so.
26710         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26711         not $(common-objpfx)dlfcn/libdl.so.
26712         * math/Makefile
26713         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26714         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26715         [$(build-shared) = yes].
26716         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26717         $(common-objpfx)nptl/libpthread.so.
26718         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26719         $(common-objpfx)math/libm.so$(libm.so-version) or
26720         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26721         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26722         $(common-objpfx)dlfcn/libdl.so.
26723         * setjmp/Makefile (link-libm): Remove variable.
26724         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26725         * stdio-common/Makefile (link-libm): Remove variable.
26726         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26727         * stdlib/Makefile (link-libm): Remove variable.
26728         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26729         ($(objpfx)tst-strtod-round): Likewise.
26730         ($(objpfx)tst-tininess): Likewise.
26731         ($(objpfx)tst-strtod-underflow): Likewise.
26732         ($(objpfx)tst-strtod6): Likewise.
26733         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26734         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26735         $(common-objpfx)dlfcn/libdl.so.
26737 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26739         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26740         BSD terminal modes definitions.
26742 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26744         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26745         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26747         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26748         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26749         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26750         Don't do #include_next.
26751         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26752         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26753         Don't do #include_next.
26754         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26755         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26756         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26757         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26759 2014-05-16  Allan McRae  <allan@archlinux.org>
26761         * po/sv.po: Update Swedish translation from translation project.
26763         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26764         in sed expression.
26766 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26768         [BZ #16917]
26769         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26770         errno if the TIOCGPTN ioctl fails with an error different than
26771         EINVAL.
26772         * login/tst-ptsname.c: New file.
26773         * login/Makefile (tests): Add tst-ptsname.
26775         [BZ #16943]
26776         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26777         and prlimit64.
26779 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26781         [BZ #16849]
26782         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26783         herrno to return EAI_AGAIN.
26785 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26787         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26788         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26789         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26790         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26791         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26792         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26793         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26794         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26795         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26796         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26797         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26798         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26799         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26800         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26801         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26802         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26803         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26804         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26805         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26806         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26807         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26808         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26809         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26810         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26811         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26812         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26813         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26814         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26815         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26816         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26818         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26820         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26822         Moved ...
26823         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26825         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26827         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26829         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26831         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26833         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26835         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26837         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26839         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26841         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26843         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26845         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26847         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26849         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26851         Moved ...
26852         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26854         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26856         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26858         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26860         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26862         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26864         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26866         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26868         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26870         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26872         Moved ...
26873         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26875         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26877         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26878         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26879         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26880         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26881         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26882         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26883         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26884         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26885         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26886         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26887         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26888         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26889         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26890         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26891         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26892         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26893         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26894         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26895         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26896         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26897         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26898         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26899         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26900         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26901         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26902         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26903         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26904         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26905         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26906         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26907         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26909         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26910         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26912         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26913         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26914         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26915         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26916         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26918         Moved ...
26919         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26920         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26921         Moved ...
26922         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26923         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26924         Moved ...
26925         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26926         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26927         Moved ...
26928         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26929         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26930         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26931         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26932         Moved ...
26933         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26934         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26935         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26937         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26938         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26939         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26940         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26941         Moved ...
26942         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26943         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26944         Moved ...
26945         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26946         ... here.
26947         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26948         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26949         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26950         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26951         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26952         Moved ...
26953         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26954         ... here.
26955         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26956         Moved ...
26957         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26958         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26959         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26960         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26961         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26963         Moved ...
26964         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26965         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26966         Moved ...
26967         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26968         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26969         Moved ...
26970         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26971         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26972         Moved ...
26973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26974         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26975         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26976         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26977         Moved ...
26978         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26979         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26980         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26982         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26983         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26984         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26985         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26986         Moved ...
26987         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26988         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26989         Moved ...
26990         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26991         ... here.
26992         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26993         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26994         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26995         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26996         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26997         Moved ...
26998         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26999         ... here.
27000         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27001         Moved ...
27002         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27003         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27004         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27005         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27006         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27007         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27008         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27009         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27010         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27011         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27012         Moved ...
27013         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27014         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27015         Moved ...
27016         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27017         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27018         Moved ...
27019         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27021         Moved ...
27022         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27023         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27024         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27025         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27026         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27028         Moved ...
27029         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27030         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27031         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27032         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27033         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27034         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27035         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27036         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27037         Moved ...
27038         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27039         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27040         Moved ...
27041         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27042         ... here.
27043         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27044         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27045         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27046         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27047         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27048         Moved ...
27049         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27050         ... here.
27051         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27052         Moved ...
27053         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27054         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27055         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27056         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27057         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27058         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27059         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27060         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27061         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27062         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27063         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27065         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27066         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27068         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27069         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27071         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27072         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27073         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27074         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27075         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27076         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27077         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27078         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27079         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27080         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27081         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27082         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27083         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27084         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27085         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27087         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27088         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27089         Moved ...
27090         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27092         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27094         Moved ...
27095         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27096         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27097         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27098         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27099         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27100         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27101         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27102         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27103         Moved ...
27104         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27105         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27106         Moved ...
27107         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27108         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27109         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27111         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27113         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27114         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27115         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27116         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27117         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27118         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27119         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27120         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27121         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27122         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27123         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27125         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27126         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27127         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27128         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27129         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27131         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27132         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27133         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27134         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27135         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27136         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27137         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27138         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27139         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27140         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27142         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27143         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27145         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27146         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27147         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27148         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27149         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27150         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27151         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27152         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27153         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27154         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27155         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27156         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27157         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27158         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27159         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27160         Update #include.
27161         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27162         Likewise.
27163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27164         Likewise.
27165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27166         Likewise.
27167         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27168         Likewise.
27169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27170         Likewise.
27171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27172         Likewise.
27173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27174         Likewise.
27175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27176         Likewise.
27177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27178         Likewise.
27179         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27183         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27184         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27185         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27186         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27187         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27188         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27189         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27190         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27191         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27192         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27193         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27195         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27196         that was previously under [RESET_PID].
27197         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27198         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27199         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27201         * sysdeps/i386/nptl/Implies: New file.
27202         * sysdeps/x86_64/nptl/Implies: New file.
27203         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27204         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27205         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27206         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27208         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27209         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27210         (__libc_vfork): New strong alias.
27211         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27212         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27214         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27215         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27216         (__libc_vfork): New strong alias.
27217         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27218         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27220         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27221         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27222         (__libc_vfork): New strong alias.
27223         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27224         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27225         * nptl/pt-vfork.c: New file.
27226         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27227         (libpthread: GLIBC_2.20): New version set (empty).
27229 2014-05-14  Will Newton  <will.newton@linaro.org>
27231         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27232         rather than #if.
27234 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27236         [BZ #16564]
27237         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27238         arguments with exponent 65 or above.
27239         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27240         arguments 0x1p113L or above.
27241         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27242         to arguments 0x1p107L or above.
27243         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27244         positive arguments with exponent 65 or above.
27245         * math/auto-libm-test-in: Add more tests of log1p.
27246         * math/auto-libm-test-out: Regenerated.
27248         [BZ #16928]
27249         * math/s_cacos.c (__cacos): Ensure zero real part of result from
27250         non-finite arguments is +0.
27251         * math/s_cacosf.c (__cacosf): Likewise.
27252         * math/s_cacosl.c (__cacosl): Likewise.
27253         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27254         * sysdeps/i386/fpu/libm-test-ulps: Update.
27255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27257         [BZ #16927]
27258         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27259         value.
27260         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27261         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27262         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27263         for explicit high bit of mantissa when testing for argument equal
27264         to 1.
27265         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27266         * sysdeps/i386/fpu/libm-test-ulps: Update.
27267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27269         [BZ #16516]
27270         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27271         (__erf): Scale by 16 instead of 8 in potentially underflowing
27272         case.  Ensure exception if result actually underflows.
27273         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27274         (__erff): Scale by 16 instead of 8 in potentially underflowing
27275         case.  Ensure exception if result actually underflows.
27276         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27277         (efx8): Remove variable.
27278         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27279         case.  Ensure exception if result actually underflows.
27280         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27281         (efx8): Remove variable.
27282         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27283         case.  Ensure exception if result actually underflows.
27284         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27285         (efx8): Remove variable.
27286         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27287         case.  Ensure exception if result actually underflows.
27288         * math/auto-libm-test-in: Add more tests of erf.
27289         * math/auto-libm-test-out: Regenerated.
27291 2014-05-14  Andreas Schwab  <schwab@suse.de>
27293         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27294         Remove code conditionalized on USE___THREAD.
27296         * config.h.in (HAVE_PT_CHOWN): Define as 0.
27297         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27298         not definedness.
27300 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27302         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27303         Define unconditionally.
27304         (__ASSUME_O_CLOEXEC): Likewise.
27305         (__ASSUME_SOCK_CLOEXEC): Likewise.
27306         (__ASSUME_IN_NONBLOCK): Likewise.
27307         (__ASSUME_PIPE2): Likewise.
27308         (__ASSUME_EVENTFD2): Likewise.
27309         (__ASSUME_SIGNALFD4): Likewise.
27310         (__ASSUME_DUP3): Likewise.
27311         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27312         (__ASSUME_DUP3): Do not define.
27313         (__ASSUME_EVENTFD2): Likewise.
27314         (__ASSUME_IN_NONBLOCK): Likewise.
27315         (__ASSUME_O_CLOEXEC): Likewise.
27316         (__ASSUME_PIPE2): Likewise.
27317         (__ASSUME_SIGNALFD4): Likewise.
27318         (__ASSUME_SOCK_CLOEXEC): Likewise.
27319         (__ASSUME_UTIMES): Undefine.
27320         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27321         (__ASSUME_UTIMES): Do not define.
27322         (__ASSUME_O_CLOEXEC): Likewise.
27323         (__ASSUME_SOCK_CLOEXEC): Likewise.
27324         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27325         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27326         0x020621].
27327         (__ASSUME_PIPE2): Likewise.
27328         (__ASSUME_EVENTFD2): Likewise.
27329         (__ASSUME_SIGNALFD4): Likewise.
27330         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27331         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27332         Do not define.
27333         (__ASSUME_EVENTFD2): Likewise.
27334         (__ASSUME_SIGNALFD4): Likewise.
27335         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27336         (__ASSUME_32BITUIDS): Likewise.
27337         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27338         (__ASSUME_IPC64): Likewise.
27339         (__ASSUME_ST_INO_64_BIT): Likewise.
27340         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27341         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27342         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27343         (__ASSUME_UTIMES): Do not define.
27344         (__ASSUME_PSELECT): Likewise.
27345         (__ASSUME_PPOLL): Likewise.
27346         (__ASSUME_O_CLOEXEC): Likewise.
27347         (__ASSUME_SOCK_CLOEXEC): Likewise.
27348         (__ASSUME_IN_NONBLOCK): Likewise.
27349         (__ASSUME_PIPE2): Likewise.
27350         (__ASSUME_EVENTFD2): Likewise.
27351         (__ASSUME_SIGNALFD4): Likewise.
27352         (__ASSUME_DUP3): Likewise.
27353         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27354         (__ASSUME_UTIMES): Likewise.
27355         (__ASSUME_O_CLOEXEC): Likewise.
27356         (__ASSUME_SOCK_CLOEXEC): Likewise.
27357         (__ASSUME_IN_NONBLOCK): Likewise.
27358         (__ASSUME_PIPE2): Likewise.
27359         (__ASSUME_EVENTFD2): Likewise.
27360         (__ASSUME_SIGNALFD4): Likewise.
27361         (__ASSUME_DUP3): Likewise.
27362         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27363         (__ASSUME_UTIMES): Likewise.
27364         (__ASSUME_O_CLOEXEC): Likewise.
27365         (__ASSUME_SOCK_CLOEXEC): Likewise.
27366         (__ASSUME_IN_NONBLOCK): Likewise.
27367         (__ASSUME_PIPE2): Likewise.
27368         (__ASSUME_EVENTFD2): Likewise.
27369         (__ASSUME_SIGNALFD4): Likewise.
27370         (__ASSUME_DUP3): Likewise.
27371         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27372         Likewise.
27373         (__ASSUME_UTIMES): Likewise.
27374         (__ASSUME_EVENTFD2): Likewise.
27375         (__ASSUME_SIGNALFD4): Likewise.
27376         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27377         (__ASSUME_O_CLOEXEC): Likewise.
27378         (__ASSUME_SOCK_CLOEXEC): Likewise.
27379         (__ASSUME_IN_NONBLOCK): Likewise.
27380         (__ASSUME_PIPE2): Likewise.
27381         (__ASSUME_EVENTFD2): Likewise.
27382         (__ASSUME_SIGNALFD4): Likewise.
27383         (__ASSUME_DUP3): Likewise.
27384         (__ASSUME_UTIMES): Undefine.
27386         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27387         feclearexcept.  Remove symbol versioning code.
27388         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
27389         symbol versioning code.
27390         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
27391         symbol versioning code.
27392         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27393         feupdateenv.  Remove symbol versioning code.
27394         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27395         fegetexceptflag.  Remove symbol versioning code.
27396         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27397         fesetexceptflag.  Remove symbol versioning code.
27398         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27399         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
27400         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27401         (__posix_fadvise64_l32): Remove prototype.
27402         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27403         code.
27405 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27407         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27408         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27409         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27410         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27412 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
27414         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27415         current working directory
27417 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27419         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27420         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27421         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27422         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27423         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27424         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27425         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27426         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27427         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27428         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27429         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27430         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27431         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27432         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27433         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27434         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27435         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27436         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27437         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27438         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27439         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27440         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27441         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27442         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27443         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27444         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27445         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27446         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27447         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27448         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27449         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27450         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27451         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27452         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27453         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27454         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27455         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27456         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27457         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27458         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27459         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27460         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27462         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27463         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27465         * sysdeps/unix/sysv/linux/arm/Makefile
27466         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27467         Add rt-aeabi_unwind_cpp_pr1.
27468         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27469         Add nptl-aeabi_unwind_cpp_pr1.
27470         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27471         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27472         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27473         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27474         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27475         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27477         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27478         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27479         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27480         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27482         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27483         Deconditionalize the code that was previously under [RESET_PID].
27484         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27486         * sysdeps/generic/exit-thread.h: New file.
27487         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27488         * include/unistd.h (__exit_thread): Remove declaration.
27489         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27490         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27491         * csu/libc-start.c: Include <exit-thread.h>.
27492         (LIBC_START_MAIN): Pass no argument to __exit_thread.
27493         * nptl/pthread_create.c: Include <exit-thread.h>.
27494         (start_thread): Call __exit_thread in place of __exit_thread_inline.
27495         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27496         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27497         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27498         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27499         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27500         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27501         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27502         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27503         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27504         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27505         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27506         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27507         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27508         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27509         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27510         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27512 2014-05-13  Andreas Schwab  <schwab@suse.de>
27514         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
27516 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
27518         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27519         (__ASSUME_UTIMES): Do not condition on kernel version.
27520         (__ASSUME_PSELECT): Define unconditionally.
27521         (__ASSUME_PPOLL): Likewise.
27522         (__ASSUME_ATFCTS): Likewise.
27523         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
27524         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
27525         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
27526         (__ASSUME_UTIMENSAT): Define unconditionally.
27527         (__ASSUME_PRIVATE_FUTEX): Likewise.
27528         (__ASSUME_FALLOCATE): Likewise.
27529         (__ASSUME_O_CLOEXEC): Likewise.
27530         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
27531         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
27532         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
27533         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
27534         (__ASSUME_IN_NONBLOCK): Likewise.
27535         (__ASSUME_PIPE2): Likewise.
27536         (__ASSUME_EVENTFD2): Likewise.
27537         (__ASSUME_SIGNALFD4): Likewise.
27538         (__ASSUME_DUP3): Likewise.
27539         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27540         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
27541         (__ASSUME_AT_RANDOM): Likewise.
27542         (__ASSUME_PREADV): Likewise.
27543         (__ASSUME_PWRITEV): Likewise.
27544         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
27545         (__ASSUME_F_GETOWN_EX): Define unconditionally.
27546         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
27547         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27548         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
27549         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27550         (__ASSUME_O_CLOEXEC): Define unconditionally.
27551         (__ASSUME_PSELECT): Do not undefine conditionally.
27552         (__ASSUME_PPOLL): Likewise.
27553         (__ASSUME_ATFCTS): Likewise.
27554         (__ASSUME_SET_ROBUST_LIST): Likewise.
27555         (__ASSUME_UTIMENSAT): Likewise.
27556         (__ASSUME_FDATASYNC): Define unconditionally.
27557         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27558         (__ASSUME_SIGFRAME_V2): Likewise.
27559         )__ASSUME_EVENTFD2): Likewise.
27560         (__ASSUME_SIGNALFD4): Likewise.
27561         (__ASSUME_PSELECT): Do not undefine conditionally.
27562         (__ASSUME_PPOLL): Likewise.
27563         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27564         (__ASSUME_PSELECT): Define unconditionally.
27565         (__ASSUME_PPOLL): Likewise.
27566         (__ASSUME_O_CLOEXEC): Likewise.
27567         (__ASSUME_SOCK_CLOEXEC): Likewise.
27568         (__ASSUME_IN_NONBLOCK): Likewise.
27569         (__ASSUME_PIPE2): Likewise.
27570         (__ASSUME_EVENTFD2): Likewise.
27571         (__ASSUME_SIGNALFD4): Likewise.
27572         (__ASSUME_DUP3): Likewise.
27573         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27574         (__ASSUME_O_CLOEXEC): Likewise.
27575         (__ASSUME_SOCK_CLOEXEC): Likewise.
27576         (__ASSUME_IN_NONBLOCK): Likewise.
27577         (__ASSUME_PIPE2): Likewise.
27578         (__ASSUME_EVENTFD2): Likewise.
27579         (__ASSUME_SIGNALFD4): Likewise.
27580         (__ASSUME_DUP3): Likewise.
27581         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27582         (__ASSUME_EVENTFD2): Likewise.
27583         (__ASSUME_SIGNALFD4): Likewise.
27584         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27586 2014-05-12  Andreas Schwab  <schwab@suse.de>
27588         [BZ #16932]
27589         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27590         (_nss_nis_gethostbyname4_r): Return error if item length is larger
27591         than maximum RPC packet size.
27592         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27593         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27594         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27595         (_nss_nis_getservbyport_r): Likewise.
27597 2014-05-12  Will Newton  <will.newton@linaro.org>
27599         * malloc/Makefile (tests): Add tst-mallopt.
27600         * malloc/tst-mallopt.c: New file.
27602 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27604         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27605         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27607 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27609         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27610         (tst-tlsmod6.so): Likewise.
27612 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27614         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27616 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
27618         [BZ #16064]
27619         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27620         and <dl-procinfo.h>.
27621         (__fegetenv): Save SSE state in envp->__eip if supported.
27622         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27623         envp->__eip if supported.
27624         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27625         and <dl-procinfo.h>.
27626         (__fesetenv): Always set __eip, __cs_selector, __opcode,
27627         __data_offset and __data_selector in environment to 0.  Set SSE
27628         state if supported.
27629         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27630         test-fenv-sse.
27631         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27632         -mfpmath=sse.
27633         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27635 2014-05-09  Will Newton  <will.newton@linaro.org>
27637         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27638         and libc_relro_required for ARM.
27639         * sysdeps/arm/preconfigure: Regenerate.
27641 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
27642             Stefan Liebler  <stli@linux.vnet.ibm.com>
27644         * config.make.in (enable-lock-elision): New Makefile variable.
27645         * configure.ac: Likewise.
27646         * configure: Regenerate.
27647         * sysdeps/s390/configure.ac:
27648         Add check for gcc transactions support.
27649         * sysdeps/s390/configure: Regenerate.
27650         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
27651         Build elision files if enabled.
27652         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
27653         Add lock elision support for s390.
27654         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
27655         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
27656         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
27657         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
27658         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
27659         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
27660         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27661         Likewise.
27662         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
27663         Likewise.
27664         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
27665         Likewise.
27666         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27667         Likewise.
27668         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
27669         (__lll_timedlock_elision, __lll_lock_elision)
27670         (__lll_unlock_elision, __lll_trylock_elision)
27671         (lll_timedlock_elision, lll_lock_elision)
27672         (lll_unlock_elision, lll_trylock_elision): Add.
27673         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27674         (pthread_mutex_t): Add lock elision support for s390.
27676 2014-05-14  Wilco  <wdijkstr@arm.com>
27678         * sysdeps/arm/fclrexcpt.c: Cleanup.
27679         * sysdeps/arm/fedisblxcpt.c: Cleanup.
27680         * sysdeps/arm/feenablxcpt.c: Cleanup.
27681         * sysdeps/arm/fegetenv.c: Cleanup.
27682         * sysdeps/arm/fegetexcept.c: Cleanup.
27683         * sysdeps/arm/fegetround.c: Cleanup.
27684         * sysdeps/arm/feholdexcpt.c: Cleanup.
27685         * sysdeps/arm/fesetenv.c: Cleanup.
27686         * sysdeps/arm/fesetround.c: Cleanup.
27687         * sysdeps/arm/feupdateenv.c: Cleanup.
27688         * sysdeps/arm/fgetexcptflg.c: Cleanup.
27689         * sysdeps/arm/fraiseexcpt.c: Cleanup.
27690         * sysdeps/arm/fsetexcptflg.c: Cleanup.
27691         * sysdeps/arm/ftestexcept.c: Cleanup.
27692         * sysdeps/arm/get-rounding-mode.h: Cleanup.
27693         * sysdeps/arm/setfpucw.c: Cleanup.
27695 2014-05-09  Will Newton  <will.newton@linaro.org>
27697         * sysdeps/arm/armv7/strcmp.S: New file.
27698         * NEWS: Mention addition of ARMv7 optimized strcmp.
27700 2014-05-08  Roland McGrath  <roland@hack.frob.com>
27702         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27703         look for %.ac rather than %.in.
27705         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27706         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27707         * sysdeps/mach/hurd/configure: Regenerated.
27708         * sysdeps/unix/sysv/linux/configure: Regenerated.
27710         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27712 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27714         [BZ# 16922]
27715         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27716         (LONG_SUB): Ditto.
27717         (PTR_SUB): Ditto.
27719 2014-05-07  Andreas Schwab  <schwab@suse.de>
27721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27722         when skipping over non-matching result from nscd.
27724 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27726         [BZ #16876]
27727         * nptl/sockperf.c (client): Check socket return value.
27729         [BZ #16877]
27730         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27731         nscd security class.
27733 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27735         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27736         * sysdeps/arm/unwind.h: ... here.
27738 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27740         [BZ# 16916]
27741         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27742         Define.
27744 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27746         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27747         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27748         multiarch strncpy for PPC64.
27749         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27750         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27752         multiarch optimizations.
27753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27754         (__libc_ifunc_impl_list): Likewise.
27755         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27756         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27757         multiarch stpncpy for PPC64.
27758         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27759         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27761 2014-05-06  Andreas Schwab  <schwab@suse.de>
27763         [BZ #16912]
27764         * gmon/mcount.c (_MCOUNT_DECL): Use
27765         atomic_compare_and_exchange_bool_acq instead of
27766         catomic_compare_and_exchange_bool_acq.
27768 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27770         * elf/Makefile (others, install-bin): Remove pldd.
27771         (pldd-modules): Variable removed.
27772         ($(objpfx)pldd): Target removed.
27773         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27774         (others, install-bin): Append pldd here.
27775         ($(objpfx)pldd): New target.
27777         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27778         to 0, so the first #if test emitted later doesn't see it undefined.
27779         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27780         * sysdeps/gnu/errlist.c: Regenerated.
27782 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27784         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27785         [libc_hidden_builtin_def]: Define to empty value.
27786         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27787         [libc_hidden_builtin_def]: Likewise.
27788         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27789         [libc_hidden_builtin_def]: Likewise.
27790         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27791         [libc_hidden_builtin_def]: Likewise.
27792         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27793         __redirect_memcpy and define ifunc as default hidden symbol.
27794         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27795         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27797 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27799         * locale/iso-4217.def: Reintroduce XDR currency.
27801 2014-05-04  Allan McRae  <allan@archlinux.org>
27803         * po/eo.po: Update Esperanto translation from translation project.
27805 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27807         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27808         and FEATURE_INDEX_MAX to 1.
27809         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27811 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27813         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27814         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27815         * iconvdata/big5.c (ONE_DIRECTION): Define.
27816         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27817         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27818         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27819         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27820         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27821         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27822         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27823         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27824         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27825         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27826         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27827         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27828         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27829         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27830         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27831         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27832         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27833         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27834         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27835         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27836         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27837         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27838         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27839         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27840         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27841         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27842         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27843         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27844         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27845         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27846         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27847         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27848         * iconvdata/johab.c (ONE_DIRECTION): Define.
27849         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27850         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27851         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27852         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27853         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27854         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27855         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27856         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27857         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27858         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27860 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27862         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27863         (_IO_JUMPS_OFFSET): Define to 0.
27865         * nptl/sysdeps/pthread/bits/libc-lock.h
27866         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27867         (__libc_lock_define_initialized_recursive): Always define using
27868         initializer.  Modern compilers treat uninitialized (implicit zero) and
27869         explicit zero initializers the same (i.e. put the datum in bss).
27871 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27873         * nscd/nscd-client.h: Include <string.h>.
27875 2014-05-01  David S. Miller  <davem@davemloft.net>
27877         [BZ #16885]
27878         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27879         multiple zero bytes exist at the end of a string.
27880         Reported by Aurelien Jarno <aurelien@aurel32.net>
27882         * string/test-strcmp.c (check): Add explicit test for situations where
27883         there are multiple zero bytes after the first.
27885 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27887         [BZ #16890]
27888         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27889         when compiling wprintf.
27890         * stdio-common/tstdiomisc.c (t3): New function.
27891         (main): Call it.
27893 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27895         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27896         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27897         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27898         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27900 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27902         * stdlib/longlong.h: Updated from GCC.
27904 2014-05-01  Will Newton  <will.newton@linaro.org>
27905             Bernard Ogden  <bernie.ogden@linaro.org>
27907         * NEWS: Update fixed bug list.
27909         [BZ #15119]
27910         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27912 2014-04-30  David S. Miller  <davem@davemloft.net>
27914         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27915         (libc_feholdexcept_setround_sparc_ctx): New function.
27916         (libc_fesetenv_sparc_ctx): Likewise.
27917         (libc_feupdateenv_sparc_ctx): Likewise.
27918         (libc_feholdsetround_sparc_ctx): Likewise.
27919         (libc_feholdexcept_setround_ctx): Define.
27920         (libc_feholdexcept_setroundf_ctx): Likewise.
27921         (libc_feholdexcept_setroundl_ctx): Likewise.
27922         (libc_fesetenv_ctx): Likewise.
27923         (libc_fesetenvf_ctx): Likewise.
27924         (libc_fesetenvl_ctx): Likewise.
27925         (libc_feupdateenv_ctx): Likewise.
27926         (libc_feupdateenvf_ctx): Likewise.
27927         (libc_feupdateenvl_ctx): Likewise.
27928         (libc_feresetround_ctx): Likewise.
27929         (libc_feresetroundf_ctx): Likewise.
27930         (libc_feresetroundl_ctx): Likewise.
27931         (libc_feholdsetround_ctx): Likewise.
27932         (libc_feholdsetroundf_ctx): Likewise.
27933         (libc_feholdsetroundl_ctx): Likewise.
27935         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27936         with __USE_GNU instead of XOPEN cpp guards.
27938         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27939         0.
27941         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27942         with XOPEN cpp guards.
27944 2014-04-30  Julian Brown  <julian@codesourcery.com>
27946         [BZ #16888]
27947         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27948         handling.
27950 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27952         [BZ #9894]
27953         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27954         Change to 2.6.32.
27955         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27956         * sysdeps/unix/sysv/linux/configure: Regenerated.
27957         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27958         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27959         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27960         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27961         * README: Update reference to required Linux kernel version.
27962         * manual/install.texi (Linux): Update reference to required Linux
27963         kernel headers version.
27964         * INSTALL: Regenerated.
27966         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27967         header inclusion.
27968         [POSIX] (limits.h): Likewise.
27969         [POSIX] (math.h): Likewise.
27970         [POSIX] (sys/wait.h): Likewise.
27971         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27972         function.
27973         [POSIX] (stddef.h): Do not allow header inclusion.
27975 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27977         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27979 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27981         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27982         Return immediately after lll_futex_wake.
27984 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27986         [BZ #16791]
27987         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27988         structure.
27989         (datahead_init_pos): Call datahead_init_common early.
27990         (datahead_init_neg): Likewise.
27992         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27993         datahead_init_neg): New functions.
27994         * nscd/aicache.c (addhstaiX): Use them.
27995         * nscd/grpcache.c (cache_addgr): Likewise.
27996         * nscd/hstcache.c (cache_addhst): Likewise.
27997         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27998         * nscd/netgroupcache.c (do_notfound): Likewise.
27999         (addgetnetgrentX): Likewise.
28000         (addinnetgrX): Likewise.
28001         * nscd/pwdcache.c (cache_addpw): Likewise.
28002         * nscd/servicescache.c (cache_addserv): Likewise.
28004 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28005             Atsushi Onoe  <atsushi@onoe.org>
28007         [BZ #14308]
28008         [BZ #12994]
28009         [BZ #13651]
28010         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28011         one response is valid.
28012         * resolv/res_send.c (send_dg): Check for validity of other
28013         response if the current response is a referral.
28015 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28017         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28019 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28021         [BZ #16823]
28022         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28023         Always divide by positive zero when computing -Inf result.
28024         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28025         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28027 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28029         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28030         FPSCR if value do not change.
28031         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28032         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28033         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28034         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28035         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28036         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28037         function.
28039 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28041         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28042         * sysdeps/unix/sysv/linux/hppa: Move directory from
28043         ports/systeps/unix/sysv/linux/hppa.
28044         * README: Update listing for hppa-*-linux-gnu.
28046 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28048         [BZ #16754]
28049         * manual/stdio.texi (Hook functions): Fix types of stream hook
28050         functions.
28051         [BZ #16854]
28052         * socket/sys/socket.h: Fix typo in comment.
28054 2014-04-28  Wilco  <wdijkstr@arm.com>
28056         * sysdeps/arm/fenv_private.h: New file.
28057         * sysdeps/arm/math_private.h: New file.
28058         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28060 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28062         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28063         with __int128_t.
28064         (La_x86_64_retval): Likewise.
28066 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28068         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28069         fpsr if value didn't change.
28070         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28071         to fpcr if value didn't change.
28072         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28073         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28074         fpsr or fpcr if value didn't change.
28075         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28076         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28077         fpcr if value didn't change.
28078         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28079         to fpsr if value didn't change.
28081 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28083         * nptl/tst-sem3.c: Use test-skeleton.c
28084         (main): Rename to do_test.  Use return instead of
28085         exit.
28086         * nptl/tst-sem4.c: Use test-skeleton.c
28087         (main): Rename to do_test.
28089 2014-04-22  David S. Miller  <davem@davemloft.net>
28091         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28092         (struct sigaction): New struct member __glibc_reserved0, change
28093         type of sa_flags to int.
28095 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28097         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28098         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28100 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28102         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28103         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28105 2014-04-22  Will Newton  <will.newton@linaro.org>
28106             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28108         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28109         (__longjmp): Add longjmp and longjmp_target SystemTap
28110         probes.
28111         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28112         (__sigsetjmp): Add setjmp SystemTap probe.
28114 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28116         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28117         match manual order.
28119 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28121         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28123         * sysdeps/powerpc/fpu/fenv_private.h
28124         (libc_feholdexcept_setroundl_ctx): Define to
28125         libc_feholdexcept_setround_ppc_ctx.
28126         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28127         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28128         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28129         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28131 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28133         * sysdeps/aarch64/math-tests.h: New file.
28135 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28137         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28138         New.
28139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28140         Check and set bit_AVX2_Usable.
28141         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28142         macro.
28143         (bit_AVX2): Likewise.
28144         (index_AVX2_Usable): Likewise.
28145         (CPUID_AVX2): Likewise.
28146         (HAS_AVX2): Likewise.
28148 2014-04-17  Will Newton  <will.newton@linaro.org>
28150         * manual/setjmp.texi (System V contexts): Add note that
28151         calling setcontext on a context created by a call to a
28152         signal handler is undefined.  Update text to note that
28153         setcontext from a signal handler is possible but not
28154         recommended.
28156         [BZ #16629]
28157         * stdlib/tst-setcontext.c: Include signal.h.
28158         (main): Check that the signal stack before and
28159         after swapcontext is the same.
28161         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28162         Re-implement to restore registers in user code and avoid
28163         rt_sigreturn system call.
28165 2014-04-17  Wilco  <wdijkstr@arm.com>
28167         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28168         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28169         * math/test-fenv.c: Skip exception trap tests on targets which only
28170         support non-stop mode.
28172 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28173             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28175         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28176         (libc_feholdsetround_aarch64_ctx)
28177         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28178         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28179         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28180         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28181         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28182         (libc_feresetround_noexl_ctx): Define.
28184 2014-04-16  Richard Henderson  <rth@redhat.com>
28186         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28188         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28189         unwind tables.
28191         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28192         const from the non-libc, non-ldso copy.
28194         * sysdeps/alpha/libm-test-ulps: Regenerate.
28196 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28197             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28199         * sysdeps/aarch64/fpu/math_private.h: New file.
28201 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28203         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28205 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28207         [BZ #16275]
28208         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28209         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28210         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28211         Intel MPX bound registers before _dl_profile_fixup.
28212         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28213         registers after _dl_profile_fixup.  Save and restore bound
28214         registers bnd0/bnd1 when calling _dl_call_pltexit.
28215         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28216         (LR_BND_OFFSET): Likewise.
28217         (LRV_BND0_OFFSET): Likewise.
28218         (LRV_BND1_OFFSET): Likewise.
28220 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28222         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28223         to...
28224         * sysdeps/mach/hurd/i386/tls.h: ... here.
28225         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28226         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28227         fields.
28229 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28231         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28233 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28235         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28237 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28239         [BZ #14770]
28240         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28241         * sysdeps/s390/configure: Regenerate.
28243         [BZ #16824]
28244         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28245         Set round-to-nearest internally to reduce error accumulation.
28247 2014-04-16  Alan Modra  <amodra@gmail.com>
28249         [BZ #16740]
28250         [BZ #16619]
28251         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28252         * math/libm-test.inc (frexp_test_data): Add tests.
28253         * NEWS: Update fixed bug list.
28255 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28257         * benchtests/Makefile: Depend on libraries in build directory.
28258         (bench-math): Separate out math tests.
28259         (bench-pthread): Separate out pthread tests.
28260         (bench): Include math and pthread tests.
28262 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
28264         [BZ #16831]
28265         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28266         _dl_debug_initialize.
28268         * configure.ac: Remove SELinux header check.
28269         * configure: Regenerate.
28270         * nscd/selinux.c (perms): Array of const char* to permission names.
28271         (nscd_request_avc_has_perm): Call security_deny_unknown to find
28272         default policy. Call string_to_security_class and string_to_av_perm to
28273         translate strings. Enforce default policy and call avs_has_perm with
28274         results of translated strings.
28276 2014-04-13  David S. Miller  <davem@davemloft.net>
28278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28280 2014-04-12  Allan McRae  <allan@archlinux.org>
28282         [BZ #16838]
28283         * manual/string.texi (Collation Functions): Fix qsort argument
28284         order in example.
28285         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28287 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
28289         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28290         Make the test a no-op if there are no exceptions defined.
28292 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28294         * elf/Makefile (tests): make tst-dlopen-aout conditional on
28295         enable-hardcoded-path-in-tests
28297 2014-04-11  Will Newton  <will.newton@linaro.org>
28299         * benchtests/Makefile (extra-objs): Add json-lib.o.
28300         (bench-func): Tidy up JSON output.
28301         * benchtests/bench-skeleton.c: Include json-lib.h.
28302         (main): Use JSON library functions to do output of
28303         benchmark results.
28304         * benchtests/bench-timing-type.c (main): Output the
28305         timing type simply, leaving formatting to the user.
28306         * benchtests/json-lib.c: New file.
28307         * benchtests/json-lib.h: Likewise.
28309 2014-04-11  Torvald Riegel  <triegel@redhat.com>
28311         [BZ #15215]
28312         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28313         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
28314         memory barriers.  Add comments.
28315         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28316         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28317         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28318         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28319         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28320         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28322 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28324         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28325         * sysdeps/s390/s390-64/configure.ac: ... this ...
28326         * sysdeps/s390/configure.ac: ... to here.
28327         * sysdeps/s390/s390-32/configure: Delete file.
28328         * sysdeps/s390/s390-64/configure: Delete file.
28329         * sysdeps/s390/configure: Regenerate.
28331 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
28333         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28335 2014-04-11  Will Newton  <will.newton@linaro.org>
28337         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28338         to zero if it is not defined elsewhere.  (mtrim): Test
28339         the value of MALLOC_DEBUG with #if rather than #ifdef.
28341 2014-04-10 Torvald Riegel  <triegel@redhat.com>
28343         * benchtests/pthread_once-inputs: New file.
28344         * benchtests/pthread_once-source.c: New file.
28345         * benchtests/README: Update documentation.
28347 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28348             H.J. Lu  <hongjiu.lu@intel.com>
28350         [BZ #16275]
28351         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28352         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28353         * sysdeps/x86_64/configure: Regenerated.
28354         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28355         macro.
28356         (REGISTER_SAVE_RAX): Likewise.
28357         (REGISTER_SAVE_RCX): Likewise.
28358         (REGISTER_SAVE_RDX): Likewise.
28359         (REGISTER_SAVE_RSI): Likewise.
28360         (REGISTER_SAVE_RDI): Likewise.
28361         (REGISTER_SAVE_R8): Likewise.
28362         (REGISTER_SAVE_R9): Likewise.
28363         (REGISTER_SAVE_BND0): Likewise.
28364         (REGISTER_SAVE_BND1): Likewise.
28365         (REGISTER_SAVE_BND2): Likewise.
28366         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
28367         bound registers when calling _dl_fixup.
28369 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28371         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28372         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28373         of its definition.
28374         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28375         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28376         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28377         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28378         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28379         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28380         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28382 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
28384         [BZ #15514]
28385         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28386         pathconf(_PC_NAME_MAX).
28388 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28390         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28391         Remove macro usage.
28392         (__PTHREAD_SPINS): Move definition to ...
28393         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28394         (__PTHREAD_SPINS): ... here.
28395         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28396         (__PTHREAD_SPIN): Likewise.
28397         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28398         (__PTHREAD_SPIN): Likewise.
28399         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28400         (__PTHREAD_SPIN): Likewise.
28401         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28402         (__PTHREAD_SPIN): Likewise.
28403         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28404         (__PTHREAD_SPIN): Likewise.
28405         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28406         (__PTHREAD_SPIN): Likewise.
28407         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28408         (__PTHREAD_SPIN): Likewise.
28409         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28410         (__PTHREAD_SPIN): Likewise.
28411         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28412         (__PTHREAD_SPIN): Likewise.
28413         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28414         (__PTHREAD_SPIN): Likewise.
28415         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28416         (__PTHREAD_SPIN): Likewise.
28417         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28418         (__PTHREAD_SPIN): Likewise.
28420         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28421         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28422         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28423         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28424         imply folder.
28425         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28426         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28427         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28428         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28429         correct imply path.
28430         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28431         strlen symbol for non multi-arch builds.
28432         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28433         missing hidden_def and weak_alias.
28435 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
28437         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28439 2014-04-07  Will Newton  <will.newton@linaro.org>
28441         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28442         and contents.  [!_LIBC] Remove #ifndef and contents.
28443         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
28444         * string/memccpy.c (__memccpy): Use ANSI prototype.
28445         * string/memfrob.c (memfrob): Likewise.
28446         * string/strcoll.c (STRCOLL): Likewise.
28447         * string/strlen.c (strlen): Likewise.
28448         * string/strtok.c (STRTOK): Likewise.
28449         * string/strcat.c: Remove unused #include of memcopy.h.
28450         (strcat): Use ANSI prototype.
28451         * string/strchr.c: Remove unused #include of memcopy.h.
28452         (strchr): Use ANSI prototype.
28453         * string/strcmp.c: Remove unused #include of memcopy.h.
28454         (strcmp): Use ANSI prototype.
28455         * string/strcpy.c: Remove unused #include of memcopy.h.
28456         (strcpy): Use ANSI prototype.
28458 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28460         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28461         * config.make.in (config-extra-cppflags): Set it from
28462         libc_extra_cppflags.
28463         * configure.ac (libc_extra_cflags): Make it accumulate over
28464         configure fragments.
28465         (libc_extra_cppflags): New flag.
28466         * configure. Regenerate.
28467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28468         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28469         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28472         [BZ #16815]
28473         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28474         result for FE_DOWNWARD rounding mode.
28475         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28476         Likewise.
28477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28479 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
28481         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28482         in function argument name.
28484 2014-04-03  David Svoboda  <svoboda@cert.org>
28486         [BZ #5666]
28487         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28488         explicitly.
28490 2014-04-03  Roland McGrath  <roland@hack.frob.com>
28492         * elf/dl-unmap-segments.h: New file.
28493         * sysdeps/generic/ldsodefs.h
28494         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28495         * elf/dl-close.c: Include <dl-unmap-segments.h>.
28496         * elf/dl-fptr.c: Likewise.
28497         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28498         * sysdeps/aarch64/tlsdesc.c: Likewise.
28499         * sysdeps/arm/tlsdesc.c: Likewise.
28500         * sysdeps/i386/tlsdesc.c: Likewise.
28501         * sysdeps/tile/dl-runtime.c: Likewise.
28502         * sysdeps/x86_64/tlsdesc.c: Likewise.
28503         * elf/dl-load.h: New file.
28504         * elf/dl-load.c: Include it.
28505         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28506         Macros moved to dl-load.h.
28507         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28508         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28509         Use _dl_unmap_segments in place of __munmap.
28510         Break out segment-mapping loop into ...
28511         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28513 2014-04-03  Will Newton  <will.newton@linaro.org>
28515         * elf/dl-lookup.c (do_lookup_x): Remove comment
28516         referring to nested function and move variable
28517         declarations down to before first use.
28519 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
28521         [BZ #16799]
28522         [BZ #16800]
28523         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
28524         with 0 numerator.
28525         * math/s_catanf.c (__catanf): Likewise.
28526         * math/s_catanh.c (__catanh): Likewise.
28527         * math/s_catanhf.c (__catanhf): Likewise.
28528         * math/s_catanhl.c (__catanhl): Likewise.
28529         * math/s_catanl.c (__catanl): Likewise.
28530         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
28531         by positive zero when computing -Inf result.
28532         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
28533         (catanh_test): Likewise.
28534         * sysdeps/i386/fpu/libm-test-ulps: Update.
28535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28537         [BZ #16789]
28538         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
28539         instead of using underflowing value in computing result.
28540         * math/s_clog10.c (__clog10): Likewise.
28541         * math/s_clog10f.c (__clog10f): Likewise.
28542         * math/s_clog10l.c (__clog10l): Likewise.
28543         * math/s_clogf.c (__clogf): Likewise.
28544         * math/s_clogl.c (__clogl): Likewise.
28545         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
28546         (clog10_test): Likewise.
28547         * sysdeps/i386/fpu/libm-test-ulps: Update.
28548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28550 2014-04-02  Alan Modra  <amodra@gmail.com>
28552         [BZ #16739]
28553         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
28554         output when value is near a power of two.  Use int64_t for lx and
28555         remove casts.  Use decimal rather than hex exponent constants.
28556         Don't use long double multiplication when double will suffice.
28557         * math/libm-test.inc (nextafter_test_data): Add tests.
28558         * NEWS: Add 16739 and 16786 to bug list.
28560         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
28562         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28564 2014-04-01  Will Newton  <will.newton@linaro.org>
28566         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
28567         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
28569 2014-04-01  Florian Weimer  <fweimer@redhat.com>
28571         [BZ #13347]
28572         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28573         * nptl/tst-setuid2.c: New file.
28574         * nptl/Makefile (xtests): Add tst-setuid2.
28576 2014-04-01  Alan Modra  <amodra@gmail.com>
28578         [BZ #16786]
28579         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
28581 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28583         [BZ #6803]
28584         [BZ #6804]
28585         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28586         set errno as appropriate.
28587         * math/w_scalbf.c (__scalbf): Likewise.
28588         * math/w_scalbl.c (__scalbl): Likewise.
28589         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28590         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28591         * math/libm-test.inc (scalb_test_data): Add errno expectations.
28592         Add more NaN tests.
28594         [BZ #16349]
28595         * math/w_atan2.c: Include <errno.h>.
28596         (__atan2): Set errno for result underflowing to zero.
28597         * math/w_atan2f.c: Include <errno.h>.
28598         (__atan2f): Set errno for result underflowing to zero.
28599         * math/w_atan2l.c: Include <errno.h>.
28600         (__atan2l): Set errno for result underflowing to zero.
28601         * math/auto-libm-test-in: Don't allow missing errno for some atan2
28602         tests.
28603         * math/auto-libm-test-out: Regenerated.
28605 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28607         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28608         Encode instruction correctly in little endian.
28609         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28610         Likewise.
28611         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28612         Likewise.
28613         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28614         Likewise.
28615         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28616         Likewise.
28618 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28620         [BZ #9894]
28621         * sysdeps/unix/sysv/linux/kernel-features.h
28622         [__sparc__ && !__arch64__ && !__sparc_v9__]
28623         (__ASSUME_SET_ROBUST_LIST): Do not define.
28624         [__sparc__ && !__arch64__ && !__sparc_v9__]
28625         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28626         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28627         Likewise.
28628         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28629         (__ASSUME_FUTEX_LOCK_PI): Undefine.
28630         (__ASSUME_REQUEUE_PI): Likewise.
28631         (__ASSUME_SET_ROBUST_LIST): Likewise.
28632         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28633         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28634         Undefine.
28635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28636         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28637         Likewise.
28638         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28639         Likewise.
28640         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
28641         Likewise.
28642         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28643         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
28644         Undefine.
28645         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
28646         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
28647         Likewise.
28649         [BZ #16648]
28650         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28651         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
28652         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
28654 2014-03-31  Will Newton  <will.newton@linaro.org>
28656         * benchtests/Makefile (bench): Add ffs and ffsll to list
28657         of tests.
28658         * benchtests/ffs-inputs: New file.
28659         * benchtests/ffsll-inputs: Likewise.
28661 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
28663         [BZ #16770]
28664         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
28665         too large before casting to int.
28666         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
28667         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
28668         * math/libm-test.inc (scalb_test_data): Add more tests.
28670 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28672         * benchtests/Makefile (DETAILED_OPT): New make option.
28673         (bench-func): Run benchmark program with -d if DETAILED_OPT is
28674         set.
28675         * benchtests/bench-skeleton.c: Include stdbool.h.
28676         (main): Store and print timings per input.
28677         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
28678         member to each argument value.
28679         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
28680         (_print_arg_data): Initialize per-input timing to 0.
28682         * benchtests/Makefile (timing-type): New binary.
28683         (bench-clean): Also remove bench-timing-type.
28684         (bench): New target for timing-type.
28685         (bench-func): Print output in JSON format.
28686         * benchtests/bench-skeleton.c (main): Print output in JSON
28687         format.
28688         * benchtests/bench-timing-type.c: New file.
28689         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
28690         (TIMING_PRINT_STATS): Remove.
28691         * benchtests/scripts/bench.py (_print_arg_data): Store variant
28692         name separately.
28694         * benchtests/bench-modf.c: Remove.
28695         * benchtests/modf-inputs: New inputs file.
28697 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
28699         [BZ #16362]
28700         * math/s_clog10.c (M_PI_LOG10E): New macro.
28701         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28702         imaginary parts are 0.
28703         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28704         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28705         imaginary parts are 0.
28706         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28707         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28708         imaginary parts are 0.
28709         * math/libm-test.inc (clog10_test_data): Update expected results
28710         for when real and imaginary parts are 0.
28712 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28714         * elf/dl-load.c: Finish conversion of __builtin_expect into
28715         __glibc_{un}likely.
28717 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28719         [BZ #16348]
28720         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28721         1+x for argument with exponent below -67.
28722         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28723         Likewise.
28724         * math/auto-libm-test-in: Add more tests of exp.
28725         * math/auto-libm-test-out: Regenerated.
28727 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28729         [BZ #16759]
28730         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28731         (nscd_getnetgrent): Use it.
28733         [BZ #16760]
28734         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28735         of stpcpy.
28737 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28739         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28740         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28741         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28742         (lll_robust_unlock): Remove out of line section. Use cfi
28743         intrinsics.
28744         (LLL_STUB_UNWIND_INFO*): Remove.
28745         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28746         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28747         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28748         (lll_robust_unlock): Remove out of line section. Use cfi
28749         intrinsics.
28750         (LLL_STUB_UNWIND_INFO*): Remove.
28752 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28754         [BZ #16758]
28755         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28756         blank values.
28758 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28760         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28762 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28764         [BZ #16198]
28765         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28766         fnstenv.
28767         * math/test-fenv-preserve.c: New file.
28768         * math/Makefile (tests): Add test-fenv-preserve.
28770 2014-03-26  Will Newton <will.newton@linaro.org>
28772         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28774 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28776         * scripts/versionlist.awk: Partition the version sets and emit all
28777         GLIBC_* (sorted) before all others (sorted).
28779 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28781         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28782         GLIBC_2.2.5 version.
28784 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28786         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28787         calls.
28789         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28790         previous change.
28792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28794 2014-03-25  Andreas Schwab  <schwab@suse.de>
28796         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28797         label to be used after in6ailist is initialized.
28799 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28801         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28802         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28804 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28806         [BZ #16357]
28807         [BZ #16599]
28808         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28809         min_plus_half.
28810         (fp_formats): Update initializers.
28811         (init_fp_formats): Initialize new field.
28812         (output_for_one_input_case): Allow underflow for results up to
28813         min_plus_half.
28814         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28815         * math/auto-libm-test-in: Don't mark some underflows from asin and
28816         atanh as spurious.
28817         * math/auto-libm-test-out: Regenerated.
28818         * sysdeps/i386/fpu/libm-test-ulps: Update.
28819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28821 2014-03-25  Andreas Schwab  <schwab@suse.de>
28823         * libio/Makefile (tst-ftell-partial-wide-ENV)
28824         (tst-ftell-active-handler-ENV): Define.
28826 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28828         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28830 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28832         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28834 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28836         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28837         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28838         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28840 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28842         [BZ #16634]
28843         * elf/dl-load.c (open_verify): Add mode parameter.
28844         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28845         (open_path): Change from boolean 'secure' to complete flag 'mode'
28846         (_dl_map_object): Adjust.
28847         * elf/Makefile (tests): Add tst-dlopen-aout.
28848         * elf/tst-dlopen-aout.c: New test.
28850 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28852         [BZ #16714]
28853         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28854         (struct stat): Rename member pad0 to __glibc_reserved0.
28856         [BZ #16712]
28857         * sysdeps/s390/s390-32/bits/wordsize.h
28858         (__WORDSIZE32_SIZE_ULONG): New define.
28859         * sysdeps/s390/s390-64/bits/wordsize.h
28860         (__WORDSIZE32_SIZE_ULONG): Likewise.
28861         * sysdeps/generic/stdint.h (SIZE_MAX):
28862         Define as UL if __WORDSIZE32_SIZE_ULONG.
28864         [BZ #16713]
28865         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28866         (__glibc_reserved0): New variable.
28867         (sa_flags): Change type to int.
28869         * posix/Makefile (before-compile): Use += before-compile instead
28870         of a :=.
28872         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28873         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28875 2014-03-20  Andreas Schwab  <schwab@suse.de>
28877         [BZ #16743]
28878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28879         non-matching result from nscd.
28881 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28883         * scripts/bench.py: Moved to ...
28884         * benchtests/scripts/bench.py: ... here.
28885         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28887 2014-03-24  Andreas Schwab  <schwab@suse.de>
28889         [BZ #16002]
28890         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28891         alloca_account and account alloca use for struct in6ailist.
28893 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28895         [BZ #16284]
28896         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28897         rounding mode to recompute results that overflow to infinity or
28898         underflow to zero.
28899         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28900         bug 16284.
28901         * math/auto-libm-test-out: Regenerated.
28902         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28903         (ccosh_test): Likewise.
28904         (csin_test_data): Use plus_oflow.
28905         (csin_test): Use ALL_RM_TEST.
28906         (csinh_test_data): Use plus_oflow.
28907         (csinh_test): Use ALL_RM_TEST.
28908         * sysdeps/i386/fpu/libm-test-ulps: Update.
28909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28911 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28913         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28914         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28915         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28917         [BZ #16731]
28918         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28919         when x - 1 is zero.
28920         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28921         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28922         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28923         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28924         argument is 1.
28925         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28926         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28927         zero.
28928         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28929         * sysdeps/i386/fpu/libm-test-ulps: Update.
28930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28932 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28934         * scripts/bench.pl: Remove file.
28935         * scripts/bench.py: New benchmark script.
28936         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28937         * benchtests/README: Mention python dependency.
28938         * scripts/pylintrc: New file.
28939         * scripts/pylint: New file.
28941         * bits/mathdef.h: Use #ifdef instead of #if.
28942         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28943         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28944         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28945         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28946         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28947         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28949 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28950             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28952         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28954         and strpbrk-ppc64 objects.
28955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28956         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28957         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28958         multiarch strpbrk for POWER7.
28959         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28960         multiarch strpbrk for PPC64.
28961         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28962         ifunc selector.
28963         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28964         strpbrk for POWER7.
28966 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28968         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28969         (atan_test): Likewise.
28970         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28971         (atanh_test): Use ALL_RM_TEST.
28972         (atan2_test_data): Likewise.
28973         (cabs_test): Likewise.
28974         (cacosh_test): Likewise.
28975         (carg_test): Likewise.
28976         (casin_test): Likewise.
28977         (casinh_test): Likewise.
28978         (cbrt_test): Likewise.
28979         (csqrt_test): Likewise.
28980         (erf_test): Likewise.
28981         (erfc_test): Likewise.
28982         (pow10_test): Likewise.
28983         (exp2_test): Likewise.
28984         (hypot_test): Likewise.
28985         (j0_test): Likewise.
28986         (j1_test): Likewise.
28987         (lgamma_test): Likewise.
28988         (gamma_test): Likewise.
28989         (sincos_test): Likewise.
28990         (tanh_test): Likewise.
28991         (y0_test): Likewise.
28992         (y1_test): Likewise.
28993         * sysdeps/i386/fpu/libm-test-ulps: Update.
28994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28996 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28998         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29000         and strcspn-ppc64 objects.
29001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29002         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29003         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29004         multiarch strcspn for POWER7.
29005         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29006         multiarch strcspn for PPC64.
29007         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29008         ifunc selector.
29009         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29010         strcspn for POWER7.
29012 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29014         * math/gen-libm-test.pl (generate_testfile): Expect only function
29015         name as argument to AUTO_TESTS_* and pass results for all rounding
29016         modes to parse_args.
29017         (parse_auto_input): Separate inputs of automatic tests from
29018         outputs before storing in %auto_tests.
29019         * math/libm-test.inc (acos_test_data): Update call to
29020         AUTO_TESTS_f_f.
29021         (acos_test): Use ALL_RM_TEST.
29022         (acos_tonearest_test_data): Remove.
29023         (acos_test_tonearest): Likewise.
29024         (acos_towardzero_test_data): Likewise.
29025         (acos_test_towardzero): Likewise.
29026         (acos_downward_test_data): Likewise.
29027         (acos_test_downward): Likewise.
29028         (acos_upward_test_data): Likewise.
29029         (acos_test_upward): Likewise.
29030         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29031         (asin_test_data): Likewise.
29032         (asin_test): Use ALL_RM_TEST.
29033         (asin_tonearest_test_data): Remove.
29034         (asin_test_tonearest): Likewise.
29035         (asin_towardzero_test_data): Likewise.
29036         (asin_test_towardzero): Likewise.
29037         (asin_downward_test_data): Likewise.
29038         (asin_test_downward): Likewise.
29039         (asin_upward_test_data): Likewise.
29040         (asin_test_upward): Likewise.
29041         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29042         (atan_test_data): Likewise.
29043         (atanh_test_data): Likewise.
29044         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29045         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29046         (carg_test_data): Likewise.
29047         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29048         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29049         (ccosh_test_data): Likewise.
29050         (cexp_test_data): Likewise.
29051         (clog_test_data): Likewise.
29052         (clog10_test_data): Likewise.
29053         (cos_test_data): Update call to AUTO_TESTS_f_f.
29054         (cos_test): Use ALL_RM_TEST.
29055         (cos_tonearest_test_data): Remove.
29056         (cos_test_tonearest): Likewise.
29057         (cos_towardzero_test_data): Likewise.
29058         (cos_test_towardzero): Likewise.
29059         (cos_downward_test_data): Likewise.
29060         (cos_test_downward): Likewise.
29061         (cos_upward_test_data): Likewise.
29062         (cos_test_upward): Likewise.
29063         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29064         (cosh_test): Use ALL_RM_TEST.
29065         (cosh_tonearest_test_data): Remove.
29066         (cosh_test_tonearest): Likewise.
29067         (cosh_towardzero_test_data): Likewise.
29068         (cosh_test_towardzero): Likewise.
29069         (cosh_downward_test_data): Likewise.
29070         (cosh_test_downward): Likewise.
29071         (cosh_upward_test_data): Likewise.
29072         (cosh_test_upward): Likewise.
29073         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29074         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29075         (ctan_test_data): Likewise.
29076         (ctan_test): Use ALL_RM_TEST.
29077         (ctan_tonearest_test_data): Remove.
29078         (ctan_test_tonearest): Likewise.
29079         (ctan_towardzero_test_data): Likewise.
29080         (ctan_test_towardzero): Likewise.
29081         (ctan_downward_test_data): Likewise.
29082         (ctan_test_downward): Likewise.
29083         (ctan_upward_test_data): Likewise.
29084         (ctan_test_upward): Likewise.
29085         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29086         (ctanh_test): Use ALL_RM_TEST.
29087         (ctanh_tonearest_test_data): Remove.
29088         (ctanh_test_tonearest): Likewise.
29089         (ctanh_towardzero_test_data): Likewise.
29090         (ctanh_test_towardzero): Likewise.
29091         (ctanh_downward_test_data): Likewise.
29092         (ctanh_test_downward): Likewise.
29093         (ctanh_upward_test_data): Likewise.
29094         (ctanh_test_upward): Likewise.
29095         (erf_test_data): Update call to AUTO_TESTS_f_f.
29096         (erfc_test_data): Likewise.
29097         (exp_test_data): Likewise.
29098         (exp_test): Use ALL_RM_TEST.
29099         (exp_tonearest_test_data): Remove.
29100         (exp_test_tonearest): Likewise.
29101         (exp_towardzero_test_data): Likewise.
29102         (exp_test_towardzero): Likewise.
29103         (exp_downward_test_data): Likewise.
29104         (exp_test_downward): Likewise.
29105         (exp_upward_test_data): Likewise.
29106         (exp_test_upward): Likewise.
29107         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29108         (exp10_test): Use ALL_RM_TEST.
29109         (exp10_tonearest_test_data): Remove.
29110         (exp10_test_tonearest): Likewise.
29111         (exp10_towardzero_test_data): Likewise.
29112         (exp10_test_towardzero): Likewise.
29113         (exp10_downward_test_data): Likewise.
29114         (exp10_test_downward): Likewise.
29115         (exp10_upward_test_data): Likewise.
29116         (exp10_test_upward): Likewise.
29117         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29118         (expm1_test_data): Likewise.
29119         (expm1_test): Use ALL_RM_TEST.
29120         (expm1_tonearest_test_data): Remove.
29121         (expm1_test_tonearest): Likewise.
29122         (expm1_towardzero_test_data): Likewise.
29123         (expm1_test_towardzero): Likewise.
29124         (expm1_downward_test_data): Likewise.
29125         (expm1_test_downward): Likewise.
29126         (expm1_upward_test_data): Likewise.
29127         (expm1_test_upward): Likewise.
29128         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29129         (fma_test): Use ALL_RM_TEST.
29130         (fma_towardzero_test_data): Remove.
29131         (fma_test_towardzero): Likewise.
29132         (fma_downward_test_data): Likewise.
29133         (fma_test_downward): Likewise.
29134         (fma_upward_test_data): Likewise.
29135         (fma_test_upward): Likewise.
29136         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29137         (j0_test_data): Update call to AUTO_TESTS_f_f.
29138         (j1_test_data): Likewise.
29139         (jn_test_data): Update call to AUTO_TESTS_if_f.
29140         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29141         (log_test_data): Update call to AUTO_TESTS_f_f.
29142         (log10_test_data): Likewise.
29143         (log1p_test_data): Likewise.
29144         (log2_test_data): Likewise.
29145         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29146         (pow_tonearest_test_data): Likewise.
29147         (sin_test_data): Update call to AUTO_TESTS_f_f.
29148         (sin_test): Use ALL_RM_TEST.
29149         (sin_tonearest_test_data): Remove.
29150         (sin_test_tonearest): Likewise.
29151         (sin_towardzero_test_data): Likewise.
29152         (sin_test_towardzero): Likewise.
29153         (sin_downward_test_data): Likewise.
29154         (sin_test_downward): Likewise.
29155         (sin_upward_test_data): Likewise.
29156         (sin_test_upward): Likewise.
29157         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29158         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29159         (sinh_test): Use ALL_RM_TEST.
29160         (sinh_tonearest_test_data): Remove.
29161         (sinh_test_tonearest): Likewise.
29162         (sinh_towardzero_test_data): Likewise.
29163         (sinh_test_towardzero): Likewise.
29164         (sinh_downward_test_data): Likewise.
29165         (sinh_test_downward): Likewise.
29166         (sinh_upward_test_data): Likewise.
29167         (sinh_test_upward): Likewise.
29168         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29169         (sqrt_test): Use ALL_RM_TEST.
29170         (sqrt_tonearest_test_data): Remove.
29171         (sqrt_test_tonearest): Likewise.
29172         (sqrt_towardzero_test_data): Likewise.
29173         (sqrt_test_towardzero): Likewise.
29174         (sqrt_downward_test_data): Likewise.
29175         (sqrt_test_downward): Likewise.
29176         (sqrt_upward_test_data): Likewise.
29177         (sqrt_test_upward): Likewise.
29178         (tan_test_data): Update call to AUTO_TESTS_f_f.
29179         (tan_test): Use ALL_RM_TEST.
29180         (tan_tonearest_test_data): Remove.
29181         (tan_test_tonearest): Likewise.
29182         (tan_towardzero_test_data): Likewise.
29183         (tan_test_towardzero): Likewise.
29184         (tan_downward_test_data): Likewise.
29185         (tan_test_downward): Likewise.
29186         (tan_upward_test_data): Likewise.
29187         (tan_test_upward): Likewise.
29188         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29189         (tgamma_test_data): Likewise.
29190         (y0_test_data): Likewise.
29191         (y1_test_data): Likewise.
29192         (yn_test_data): Update call to AUTO_TESTS_if_f.
29193         (main): Do not call removed functions.
29195 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29197         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29198         (ldexp_test_data): Remove.
29199         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29200         scalbn_test_data.
29201         (scalb_test): Use ALL_RM_TEST.
29203 2014-03-19  Andreas Schwab  <schwab@suse.de>
29205         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29207 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29209         [BZ #16649]
29210         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29211         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29212         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29213         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29214         (__ASSUME_PREADV): Undefine.
29215         (__ASSUME_PWRITEV): Likewise.
29217 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29219         * bits/mman-linux.h: Add comment about non-Linux use.
29220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29221         bits/mman-linux.h resting place.
29223         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29224         * bits/mman-linux.h: ... here.
29226 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29228         * conform/conformtest.pl: Add standard definition when calling C
29229         preprocessor on data files.
29230         (checknamespace): Remove unused variable.
29232 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29234         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29235         minus_oflow, plus_uflow and minus_uflow in expected results.
29236         * math/libm-test.inc (scalbn_test_data): Add more tests of
29237         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
29238         minus_uflow.
29239         (scalbn_test): Use ALL_RM_TEST.
29240         (scalbln_test_data): Add more tests of negative arguments.  Use
29241         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29242         (scalbln_test): Use ALL_RM_TEST.
29244 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29246         * scripts/abilist.awk: Ignore symbols marked with .hidden.
29248 2014-03-18  Will Newton  <will.newton@linaro.org>
29250         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29251         inaccurate comment.
29253 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29255         * Makerules [!subdir] (check-abi): Exit with error status if a
29256         test failed.
29258 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29260         * math/libm-test.inc (nearbyint_test_data): Include all tests used
29261         for rint.  Include results for all rounding modes.
29262         (nearbyint_test): Use ALL_RM_TEST.
29263         (rint_test_data): Include all tests used for nearbyint.
29265 2014-03-17  Will Newton  <will.newton@linaro.org>
29267         * nptl/sysdeps/pthread/pthread.h: Revert previous
29268         change.
29270         * sysdeps/generic/ldsodefs.h: Revert previous
29271         change.
29273         * libio/genops.c: Revert previous change.
29274         * libio/libioP.h: Likewise.
29275         * stdio-common/vfprintf.c: Likewise.
29277         * sysdeps/generic/math_private.h: Revert previous
29278         change.
29280         * sysdeps/generic/math_private.h: Check whether
29281         HAVE_RM_CTX is defined with #ifdef rather
29282         than #if.
29284         * argp/argp-fmtstream.h: Check whether
29285         __STRICT_ANSI__ is defined with #ifdef rather
29286         than #if.
29287         * argp/argp.h: Likewise.
29289         * libio/genops.c: Check whether
29290         _IO_JUMPS_OFFSET is defined with #ifdef rather
29291         than #if.
29292         * libio/libioP.h: Likewise.
29293         * stdio-common/vfprintf.c: Likewise.
29295         * sysdeps/generic/ldsodefs.h: Check whether
29296         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29297         than #if.
29299         * nptl/sysdeps/pthread/pthread.h: Check
29300         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29301         its value.
29303 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29305         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29306         setting O_APPEND.
29307         * libio/tst-ftell-active-handler.c (do_append_test): Add a
29308         test case.
29310         [BZ #16680]
29311         * libio/fileops.c (_IO_file_open): Seek to end of file but
29312         don't cache the offset.
29313         (get_file_offset): Remove function.
29314         (do_ftell): Use cached offset when available.
29315         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29316         don't cache the offset.
29317         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29318         case.
29319         (do_one_test): Call it.
29320         (do_ftell_test): Fix up expected old offset for a+ mode.
29321         * libio/wfileops.c (do_ftell_wide): Used cached offset when
29322         available.
29324         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29325         up test status with function return status.
29326         (do_write_test): Likewise.
29327         (do_append_test): Likewise.
29329         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29330         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29331         Remove.
29333 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29335         * math/gen-libm-test.pl (parse_args): Handle results specified for
29336         each rounding mode separately.
29337         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29338         tests and results from lrint_tonearest_test_data,
29339         lrint_towardzero_test_data, lrint_downward_test_data and
29340         lrint_upward_test_data.
29341         (lrint_test): Use ALL_RM_TEST.
29342         (lrint_tonearest_test_data): Remove.
29343         (lrint_test_tonearest): Likewise.
29344         (lrint_towardzero_test_data): Likewise.
29345         (lrint_test_towardzero): Likewise.
29346         (lrint_downward_test_data): Likewise.
29347         (lrint_test_downward): Likewise.
29348         (lrint_upward_test_data): Likewise.
29349         (lrint_test_upward): Likewise.
29350         (llrint_test_data): Merge in per-rounding-mode tests and results
29351         from llrint_tonearest_test_data, llrint_towardzero_test_data,
29352         llrint_downward_test_data and llrint_upward_test_data.
29353         (llrint_test): Use ALL_RM_TEST.
29354         (llrint_tonearest_test_data): Remove.
29355         (llrint_test_tonearest): Likewise.
29356         (llrint_towardzero_test_data): Likewise.
29357         (llrint_test_towardzero): Likewise.
29358         (llrint_downward_test_data): Likewise.
29359         (llrint_test_downward): Likewise.
29360         (llrint_upward_test_data): Likewise.
29361         (llrint_test_upward): Likewise.
29362         (rint_test_data): Merge in per-rounding-mode tests and results
29363         from rint_tonearest_test_data, rint_towardzero_test_data,
29364         rint_downward_test_data and rint_upward_test_data.  Add
29365         per-rounding-mode results for tests not in those arrays.
29366         (rint_test): Use ALL_RM_TEST.
29367         (rint_tonearest_test_data): Remove.
29368         (rint_test_tonearest): Likewise.
29369         (rint_towardzero_test_data): Likewise.
29370         (rint_test_towardzero): Likewise.
29371         (rint_downward_test_data): Likewise.
29372         (rint_test_downward): Likewise.
29373         (rint_upward_test_data): Likewise.
29374         (rint_test_upward): Likewise.
29375         (main): Don't call removed functions.
29377 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29379         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29380         "Compiled on ..." crapola.  It is anti-useful.
29382 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
29384         * scripts/evaluate-test.sh: Handle fourth argument to determine
29385         whether test run should stop on failure.
29386         * Makeconfig (stop-on-test-failure): New variable.
29387         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29388         $(stop-on-test-failure).
29389         * Makefile (tests): Give a summary of results from testing and
29390         exit with failure status if they include an ERROR or FAIL.
29391         (xtests): Likewise.
29392         * manual/install.texi (Configuring and compiling): Mention
29393         stop-on-test-failure=y.
29394         * INSTALL: Regenerated.
29396 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29398         * scripts/versionlist.awk: New file.
29399         * Makerules [$(build-shared) = yes]
29400         (postclean-generated): Add Versions.def, not Versions.def.v and
29401         Versions.def.v.i.
29402         ($(common-objpfx)Versions.def.v.i): Target removed.
29403         ($(common-objpfx)Versions.def): New target.
29404         ($(common-objpfx)Versions.all): Depend on that rather that
29405         $(common-objpfx)Versions.def.v.
29406         * Versions.def: File removed.
29408         * Makeconfig (+gccwarn): Add -Wundef.
29409         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29410         a dl-sysdep.h breaking its contract.
29411         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29412         * include/stackinfo.h: New file.
29413         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29414         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29415         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29416         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29417         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29418         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29419         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29420         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29421         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29422         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29423         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29424         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29425         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29426         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29427         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29429 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29431         [BZ #16707]
29432         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29433         implementation.
29434         * math/libm-test.inc (round_test_data): Add more tests.
29436         [BZ #16706]
29437         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29438         implementation.
29439         * math/libm-test.inc (nearbyint_test_data): Add more tests.
29441         [BZ #16701]
29442         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29443         implementation.
29444         * math/libm-test.inc (ceil_test_data): Add more tests.
29446         * math/libm-test.inc (trunc_test_data): Add more tests related to
29447         BZ#16414.
29449 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29451         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29452         with #if rather than #ifdef.
29453         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29455 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
29457         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29458         first.  Disable AVX-512 GCC support if assembler doesn't support
29459         it.
29460         * sysdeps/x86_64/configure: Regenerated.
29462 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
29464         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29465         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29466         (__old_pthread_attr_setstack): Likewise.
29467         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29468         [!_STACK_GROWS_DOWN]: Likewise.
29470 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
29472         * config.make.in (have-bash2): Delete.
29473         * configure.ac (libc_cv_have_bash2): Delete.
29474         * configure: Regenerate.
29475         * elf/Makefile (common-ldd-rewrite): Rename to ...
29476         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
29477         (sh-ldd-rewrite): Delete.
29478         (bash-ldd-rewrite): Delete.
29479         (have-bash2): Delete checks.
29480         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29481         ldd-rewrite.
29483         * config.make.in (have-ksh): Delete.
29484         (KSH): Delete.
29485         * configure.ac (libc_cv_have_ksh): Delete.
29486         * configure: Regenerate.
29488         * elf/Makefile: Delete $(have-ksh) check.
29489         ($(objpfx)sotruss): Change KSH to BASH.
29490         * elf/sotruss.ksh: Rename to ...
29491         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
29492         function style to match POSIX.  Drop ksh vim mode setting.
29494         * manual/time.texi (Specifying the Time Zone with TZ): Change
29495         Tuesday to Thursday.
29497         * debug/tst-longjmp_chk2.c: Update header comment.
29498         (stackoverflow_handler): Add comment.  Call assert on pass value.
29500 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
29502         [BZ #16194]
29503         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29504         (HAVE_AVX512_ASM_SUPPORT): Likewise.
29505         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29506         (La_x86_64_vector): Add zmm.
29507         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29508         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29509         ($(objpfx)tst-audit10): New target.
29510         ($(objpfx)tst-audit10.out): Likewise.
29511         (tst-audit10-ENV): New.
29512         (AVX512-CFLAGS): Likewise.
29513         (CFLAGS-tst-audit10.c): Likewise.
29514         (CFLAGS-tst-auditmod10a.c): Likewise.
29515         (CFLAGS-tst-auditmod10b.c): Likewise.
29516         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
29517         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
29518         * sysdeps/x86_64/configure: Regenerated.
29519         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
29520         AVX-512 zmm register support.
29521         (_dl_x86_64_save_sse): Likewise.
29522         (_dl_x86_64_restore_sse): Likewise.
29523         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
29524         size vector registers.
29525         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
29526         (ZMM_SIZE): Likewise.
29527         * sysdeps/x86_64/tst-audit10.c: New file.
29528         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
29529         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
29531 2014-03-13  Roland McGrath  <roland@hack.frob.com>
29533         * configure.ac (HAVE_EHDR_START): New check.
29534         * configure: Regenerated.
29535         * config.h.in (HAVE_EHDR_START): New #undef.
29536         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
29537         assuming the lowest-addressed segment maps the start of the file.
29539 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
29541         * INSTALL: Regenerated.
29543 2014-03-13  Will Newton  <will.newton@linaro.org>
29545         * manual/setjmp.texi (System V contexts): Improve
29546         clarity and grammar of documentation.
29548 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29550         [BZ #16381]
29551         * elf/Makefile (tests): Add tst-pie2.
29552         (tests-pie): Add tst-pie2.
29553         * elf/tst-pie2.c: New file.
29554         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
29555         for ET_EXEC.
29556         * elf/rtld.c (map_doit): Load executable as lt_executable.
29557         (dl_main): Likewise.
29559 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
29561         [BZ #16642]
29562         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29563         (__ASSUME_PSELECT): Undefine.
29565 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29567         [BZ #16689]
29568         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
29569         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
29570         static build.
29571         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
29572         selector for static builds.
29574 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29576         [BZ #16695]
29577         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
29578         key in the buffer.
29580 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29582         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
29583         IFUNC selector for static builds.
29585 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
29587         * sysdeps/mips/math_private.h [__mips_hard_float]
29588         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29589         libc_feresetround_mips_ctx.
29590         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29591         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29592         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29594         [BZ #16677]
29595         * math/s_nextafter.c (__nextafter): Do not return value from
29596         overflowing computation.
29597         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29598         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29599         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29600         Likewise.
29601         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29602         Likewise.
29603         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29604         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29606 2014-03-11  Roland McGrath  <roland@hack.frob.com>
29608         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29609         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29610         Move sfi_sp use from the load-multiple (that no longer sets sp) to
29611         the new mov targetting sp.
29613 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29615         [BZ #16683]
29616         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29617         Define it for static builds as well.
29618         (NO_BZERO_IMPL): Likewise.
29620 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29622         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29623         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29624         multiarch strspn for PPC64.
29625         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29626         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29628         (__libc_ifunc_impl_list): Likewise.
29629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29630         multiarch optimizations
29631         * string/strspn.c (strspn): Using macro to redefine symbol name.
29633 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29634             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29636         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29637         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29638         multiarch strncat for PPC64.
29639         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29640         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
29641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29642         (__libc_ifunc_impl_list): Likewise.
29643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
29644         multiarch optimizations
29646 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29648         [BZ #16639]
29649         * nscd/nscd.service: Make service type forking.
29651 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29653         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
29654         sign in non default rounding modes.
29655         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
29657 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
29659         * math/libm-test.inc (ALL_RM_TEST): New macro.
29660         (ceil_test): Use ALL_RM_TEST.
29661         (cimag_test): Likewise.
29662         (conj_test): Likewise.
29663         (copysign_test): Likewise.
29664         (cproj_test): Likewise.
29665         (creal_test): Likewise.
29666         (fabs_test): Likewise.
29667         (floor_test): Likewise.
29668         (fmax_test): Likewise.
29669         (fmin_test): Likewise.
29670         (fmod_test): Likewise.
29671         (fpclassify_test): Likewise.
29672         (frexp_test): Likewise.
29673         (ilogb_test): Likewise.
29674         (isfinite_test): Likewise.
29675         (finite_test): Likewise.
29676         (isgreater_test): Likewise.
29677         (isgreaterequal_test): Likewise.
29678         (isinf_test): Likewise.
29679         (isless_test): Likewise.
29680         (islessequal_test): Likewise.
29681         (islessgreater_test): Likewise.
29682         (isnan_test): Likewise.
29683         (isnormal_test): Likewise.
29684         (issignaling_test): Likewise.
29685         (isunordered_test): Likewise.
29686         (logb_test): Likewise.
29687         (logb_downward_test_data): Remove.
29688         (logb_test_downward): Likewise.
29689         (lround_test): Use ALL_RM_TEST.
29690         (llround_test): Likewise.
29691         (modf_test): Likewise.
29692         (nexttoward_test): Likewise.
29693         (remainder_test): Likewise.
29694         (drem_test): Likewise.
29695         (remainder_tonearest_test_data): Likewise.
29696         (remainder_test_tonearest): Likewise.
29697         (drem_test_tonearest): Likewise.
29698         (remainder_towardzero_test_data): Likewise.
29699         (remainder_test_towardzero): Likewise.
29700         (drem_test_towardzero): Likewise.
29701         (remainder_downward_test_data): Likewise.
29702         (remainder_test_downward): Likewise.
29703         (drem_test_downward): Likewise.
29704         (remainder_upward_test_data): Likewise.
29705         (remainder_test_upward): Likewise.
29706         (drem_test_upward): Likewise.
29707         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29708         (round_test): Use ALL_RM_TEST.
29709         (signbit_test): Likewise.
29710         (trunc_test): Likewise.
29711         (significand_test): Likewise.
29712         (main): Don't call removed functions.
29714 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29716         [BZ #16674]
29717         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29718         || __USE_XOPEN2K8].
29719         (ILL_ILLOPN): Likewise.
29720         (ILL_ILLADR): Likewise.
29721         (ILL_ILLTRP): Likewise.
29722         (ILL_PRVOPC): Likewise.
29723         (ILL_PRVREG): Likewise.
29724         (ILL_COPROC): Likewise.
29725         (ILL_BADSTK): Likewise.
29726         (FPE_INTDIV): Likewise.
29727         (FPE_INTOVF): Likewise.
29728         (FPE_FLTDIV): Likewise.
29729         (FPE_FLTOVF): Likewise.
29730         (FPE_FLTUND): Likewise.
29731         (FPE_FLTRES): Likewise.
29732         (FPE_FLTINV): Likewise.
29733         (FPE_FLTSUB): Likewise.
29734         (SEGV_MAPERR): Likewise.
29735         (SEGV_ACCERR): Likewise.
29736         (BUS_ADRALN): Likewise.
29737         (BUS_ADRERR): Likewise.
29738         (BUS_OBJERR): Likewise.
29739         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29740         (TRAP_TRACE): Likewise.
29741         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29742         __USE_XOPEN2K8].
29743         (CLD_KILLED): Likewise.
29744         (CLD_DUMPED): Likewise.
29745         (CLD_TRAPPED): Likewise.
29746         (CLD_STOPPED): Likewise.
29747         (CLD_CONTINUED): Likewise.
29748         (POLL_IN): Likewise.
29749         (POLL_OUT): Likewise.
29750         (POLL_MSG): Likewise.
29751         (POLL_ERR): Likewise.
29752         (POLL_PRI): Likewise.
29753         (POLL_HUP): Likewise.
29754         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29755         Likewise.
29756         (ILL_ILLOPN): Likewise.
29757         (ILL_ILLADR): Likewise.
29758         (ILL_ILLTRP): Likewise.
29759         (ILL_PRVOPC): Likewise.
29760         (ILL_PRVREG): Likewise.
29761         (ILL_COPROC): Likewise.
29762         (ILL_BADSTK): Likewise.
29763         (FPE_INTDIV): Likewise.
29764         (FPE_INTOVF): Likewise.
29765         (FPE_FLTDIV): Likewise.
29766         (FPE_FLTOVF): Likewise.
29767         (FPE_FLTUND): Likewise.
29768         (FPE_FLTRES): Likewise.
29769         (FPE_FLTINV): Likewise.
29770         (FPE_FLTSUB): Likewise.
29771         (SEGV_MAPERR): Likewise.
29772         (SEGV_ACCERR): Likewise.
29773         (BUS_ADRALN): Likewise.
29774         (BUS_ADRERR): Likewise.
29775         (BUS_OBJERR): Likewise.
29776         (BUS_MCEERR_AR): Likewise.
29777         (BUS_MCEERR_AO): Likewise.
29778         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29779         (TRAP_TRACE): Likewise.
29780         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29781         __USE_XOPEN2K8].
29782         (CLD_KILLED): Likewise.
29783         (CLD_DUMPED): Likewise.
29784         (CLD_TRAPPED): Likewise.
29785         (CLD_STOPPED): Likewise.
29786         (CLD_CONTINUED): Likewise.
29787         (POLL_IN): Likewise.
29788         (POLL_OUT): Likewise.
29789         (POLL_MSG): Likewise.
29790         (POLL_ERR): Likewise.
29791         (POLL_PRI): Likewise.
29792         (POLL_HUP): Likewise.
29793         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29794         (ILL_ILLOPN): Likewise.
29795         (ILL_ILLADR): Likewise.
29796         (ILL_ILLTRP): Likewise.
29797         (ILL_PRVOPC): Likewise.
29798         (ILL_PRVREG): Likewise.
29799         (ILL_COPROC): Likewise.
29800         (ILL_BADSTK): Likewise.
29801         (FPE_INTDIV): Likewise.
29802         (FPE_INTOVF): Likewise.
29803         (FPE_FLTDIV): Likewise.
29804         (FPE_FLTOVF): Likewise.
29805         (FPE_FLTUND): Likewise.
29806         (FPE_FLTRES): Likewise.
29807         (FPE_FLTINV): Likewise.
29808         (FPE_FLTSUB): Likewise.
29809         (SEGV_MAPERR): Likewise.
29810         (SEGV_ACCERR): Likewise.
29811         (BUS_ADRALN): Likewise.
29812         (BUS_ADRERR): Likewise.
29813         (BUS_OBJERR): Likewise.
29814         (BUS_MCEERR_AR): Likewise.
29815         (BUS_MCEERR_AO): Likewise.
29816         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29817         (TRAP_TRACE): Likewise.
29818         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29819         __USE_XOPEN2K8].
29820         (CLD_KILLED): Likewise.
29821         (CLD_DUMPED): Likewise.
29822         (CLD_TRAPPED): Likewise.
29823         (CLD_STOPPED): Likewise.
29824         (CLD_CONTINUED): Likewise.
29825         (POLL_IN): Likewise.
29826         (POLL_OUT): Likewise.
29827         (POLL_MSG): Likewise.
29828         (POLL_ERR): Likewise.
29829         (POLL_PRI): Likewise.
29830         (POLL_HUP): Likewise.
29831         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29832         Likewise.
29833         (ILL_ILLOPN): Likewise.
29834         (ILL_ILLADR): Likewise.
29835         (ILL_ILLTRP): Likewise.
29836         (ILL_PRVOPC): Likewise.
29837         (ILL_PRVREG): Likewise.
29838         (ILL_COPROC): Likewise.
29839         (ILL_BADSTK): Likewise.
29840         (ILL_BADIADDR): Likewise.
29841         (ILL_BREAK): Likewise.
29842         (FPE_INTDIV): Likewise.
29843         (FPE_INTOVF): Likewise.
29844         (FPE_FLTDIV): Likewise.
29845         (FPE_FLTOVF): Likewise.
29846         (FPE_FLTUND): Likewise.
29847         (FPE_FLTRES): Likewise.
29848         (FPE_FLTINV): Likewise.
29849         (FPE_FLTSUB): Likewise.
29850         (FPE_DECOVF): Likewise.
29851         (FPE_DECDIV): Likewise.
29852         (FPE_DECERR): Likewise.
29853         (FPE_INVASC): Likewise.
29854         (FPE_INVDEC): Likewise.
29855         (SEGV_MAPERR): Likewise.
29856         (SEGV_ACCERR): Likewise.
29857         (SEGV_PSTKOVF): Likewise.
29858         (BUS_ADRALN): Likewise.
29859         (BUS_ADRERR): Likewise.
29860         (BUS_OBJERR): Likewise.
29861         (BUS_MCEERR_AR): Likewise.
29862         (BUS_MCEERR_AO): Likewise.
29863         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29864         (TRAP_TRACE): Likewise.
29865         (TRAP_BRANCH): Likewise.
29866         (TRAP_HWBKPT): Likewise.
29867         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29868         __USE_XOPEN2K8].
29869         (CLD_KILLED): Likewise.
29870         (CLD_DUMPED): Likewise.
29871         (CLD_TRAPPED): Likewise.
29872         (CLD_STOPPED): Likewise.
29873         (CLD_CONTINUED): Likewise.
29874         (POLL_IN): Likewise.
29875         (POLL_OUT): Likewise.
29876         (POLL_MSG): Likewise.
29877         (POLL_ERR): Likewise.
29878         (POLL_PRI): Likewise.
29879         (POLL_HUP): Likewise.
29880         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29881         (ILL_ILLOPN): Likewise.
29882         (ILL_ILLADR): Likewise.
29883         (ILL_ILLTRP): Likewise.
29884         (ILL_PRVOPC): Likewise.
29885         (ILL_PRVREG): Likewise.
29886         (ILL_COPROC): Likewise.
29887         (ILL_BADSTK): Likewise.
29888         (FPE_INTDIV): Likewise.
29889         (FPE_INTOVF): Likewise.
29890         (FPE_FLTDIV): Likewise.
29891         (FPE_FLTOVF): Likewise.
29892         (FPE_FLTUND): Likewise.
29893         (FPE_FLTRES): Likewise.
29894         (FPE_FLTINV): Likewise.
29895         (FPE_FLTSUB): Likewise.
29896         (SEGV_MAPERR): Likewise.
29897         (SEGV_ACCERR): Likewise.
29898         (BUS_ADRALN): Likewise.
29899         (BUS_ADRERR): Likewise.
29900         (BUS_OBJERR): Likewise.
29901         (BUS_MCEERR_AR): Likewise.
29902         (BUS_MCEERR_AO): Likewise.
29903         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29904         (TRAP_TRACE): Likewise.
29905         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29906         __USE_XOPEN2K8].
29907         (CLD_KILLED): Likewise.
29908         (CLD_DUMPED): Likewise.
29909         (CLD_TRAPPED): Likewise.
29910         (CLD_STOPPED): Likewise.
29911         (CLD_CONTINUED): Likewise.
29912         (POLL_IN): Likewise.
29913         (POLL_OUT): Likewise.
29914         (POLL_MSG): Likewise.
29915         (POLL_ERR): Likewise.
29916         (POLL_PRI): Likewise.
29917         (POLL_HUP): Likewise.
29918         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29919         (ILL_ILLOPN): Likewise.
29920         (ILL_ILLADR): Likewise.
29921         (ILL_ILLTRP): Likewise.
29922         (ILL_PRVOPC): Likewise.
29923         (ILL_PRVREG): Likewise.
29924         (ILL_COPROC): Likewise.
29925         (ILL_BADSTK): Likewise.
29926         (FPE_INTDIV): Likewise.
29927         (FPE_INTOVF): Likewise.
29928         (FPE_FLTDIV): Likewise.
29929         (FPE_FLTOVF): Likewise.
29930         (FPE_FLTUND): Likewise.
29931         (FPE_FLTRES): Likewise.
29932         (FPE_FLTINV): Likewise.
29933         (FPE_FLTSUB): Likewise.
29934         (SEGV_MAPERR): Likewise.
29935         (SEGV_ACCERR): Likewise.
29936         (BUS_ADRALN): Likewise.
29937         (BUS_ADRERR): Likewise.
29938         (BUS_OBJERR): Likewise.
29939         (BUS_MCEERR_AR): Likewise.
29940         (BUS_MCEERR_AO): Likewise.
29941         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29942         (TRAP_TRACE): Likewise.
29943         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29944         __USE_XOPEN2K8].
29945         (CLD_KILLED): Likewise.
29946         (CLD_DUMPED): Likewise.
29947         (CLD_TRAPPED): Likewise.
29948         (CLD_STOPPED): Likewise.
29949         (CLD_CONTINUED): Likewise.
29950         (POLL_IN): Likewise.
29951         (POLL_OUT): Likewise.
29952         (POLL_MSG): Likewise.
29953         (POLL_ERR): Likewise.
29954         (POLL_PRI): Likewise.
29955         (POLL_HUP): Likewise.
29956         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29957         (ILL_ILLOPN): Likewise.
29958         (ILL_ILLADR): Likewise.
29959         (ILL_ILLTRP): Likewise.
29960         (ILL_PRVOPC): Likewise.
29961         (ILL_PRVREG): Likewise.
29962         (ILL_COPROC): Likewise.
29963         (ILL_BADSTK): Likewise.
29964         (FPE_INTDIV): Likewise.
29965         (FPE_INTOVF): Likewise.
29966         (FPE_FLTDIV): Likewise.
29967         (FPE_FLTOVF): Likewise.
29968         (FPE_FLTUND): Likewise.
29969         (FPE_FLTRES): Likewise.
29970         (FPE_FLTINV): Likewise.
29971         (FPE_FLTSUB): Likewise.
29972         (SEGV_MAPERR): Likewise.
29973         (SEGV_ACCERR): Likewise.
29974         (BUS_ADRALN): Likewise.
29975         (BUS_ADRERR): Likewise.
29976         (BUS_OBJERR): Likewise.
29977         (BUS_MCEERR_AR): Likewise.
29978         (BUS_MCEERR_AO): Likewise.
29979         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29980         (TRAP_TRACE): Likewise.
29981         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29982         __USE_XOPEN2K8].
29983         (CLD_KILLED): Likewise.
29984         (CLD_DUMPED): Likewise.
29985         (CLD_TRAPPED): Likewise.
29986         (CLD_STOPPED): Likewise.
29987         (CLD_CONTINUED): Likewise.
29988         (POLL_IN): Likewise.
29989         (POLL_OUT): Likewise.
29990         (POLL_MSG): Likewise.
29991         (POLL_ERR): Likewise.
29992         (POLL_PRI): Likewise.
29993         (POLL_HUP): Likewise.
29994         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29995         (ILL_ILLOPN): Likewise.
29996         (ILL_ILLADR): Likewise.
29997         (ILL_ILLTRP): Likewise.
29998         (ILL_PRVOPC): Likewise.
29999         (ILL_PRVREG): Likewise.
30000         (ILL_COPROC): Likewise.
30001         (ILL_BADSTK): Likewise.
30002         (ILL_DBLFLT): Likewise.
30003         (ILL_HARDWALL): Likewise.
30004         (FPE_INTDIV): Likewise.
30005         (FPE_INTOVF): Likewise.
30006         (FPE_FLTDIV): Likewise.
30007         (FPE_FLTOVF): Likewise.
30008         (FPE_FLTUND): Likewise.
30009         (FPE_FLTRES): Likewise.
30010         (FPE_FLTINV): Likewise.
30011         (FPE_FLTSUB): Likewise.
30012         (SEGV_MAPERR): Likewise.
30013         (SEGV_ACCERR): Likewise.
30014         (BUS_ADRALN): Likewise.
30015         (BUS_ADRERR): Likewise.
30016         (BUS_OBJERR): Likewise.
30017         (BUS_MCEERR_AR): Likewise.
30018         (BUS_MCEERR_AO): Likewise.
30019         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30020         (TRAP_TRACE): Likewise.
30021         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30022         __USE_XOPEN2K8].
30023         (CLD_KILLED): Likewise.
30024         (CLD_DUMPED): Likewise.
30025         (CLD_TRAPPED): Likewise.
30026         (CLD_STOPPED): Likewise.
30027         (CLD_CONTINUED): Likewise.
30028         (POLL_IN): Likewise.
30029         (POLL_OUT): Likewise.
30030         (POLL_MSG): Likewise.
30031         (POLL_ERR): Likewise.
30032         (POLL_PRI): Likewise.
30033         (POLL_HUP): Likewise.
30034         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30035         (ILL_ILLOPN): Likewise.
30036         (ILL_ILLADR): Likewise.
30037         (ILL_ILLTRP): Likewise.
30038         (ILL_PRVOPC): Likewise.
30039         (ILL_PRVREG): Likewise.
30040         (ILL_COPROC): Likewise.
30041         (ILL_BADSTK): Likewise.
30042         (FPE_INTDIV): Likewise.
30043         (FPE_INTOVF): Likewise.
30044         (FPE_FLTDIV): Likewise.
30045         (FPE_FLTOVF): Likewise.
30046         (FPE_FLTUND): Likewise.
30047         (FPE_FLTRES): Likewise.
30048         (FPE_FLTINV): Likewise.
30049         (FPE_FLTSUB): Likewise.
30050         (SEGV_MAPERR): Likewise.
30051         (SEGV_ACCERR): Likewise.
30052         (BUS_ADRALN): Likewise.
30053         (BUS_ADRERR): Likewise.
30054         (BUS_OBJERR): Likewise.
30055         (BUS_MCEERR_AR): Likewise.
30056         (BUS_MCEERR_AO): Likewise.
30057         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30058         (TRAP_TRACE): Likewise.
30059         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30060         __USE_XOPEN2K8].
30061         (CLD_KILLED): Likewise.
30062         (CLD_DUMPED): Likewise.
30063         (CLD_TRAPPED): Likewise.
30064         (CLD_STOPPED): Likewise.
30065         (CLD_CONTINUED): Likewise.
30066         (POLL_IN): Likewise.
30067         (POLL_OUT): Likewise.
30068         (POLL_MSG): Likewise.
30069         (POLL_ERR): Likewise.
30070         (POLL_PRI): Likewise.
30071         (POLL_HUP): Likewise.
30072         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30073         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30075         [BZ #16670]
30076         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30077         before #include of <time.h>.
30078         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30079         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30080         (test-xfail-UNIX98/sched.h/conform): Likewise.
30082 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30084         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30085         error absence of trapping exception support.
30086         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30088 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30090         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30091         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30092         * timezone/Makefile (testdata): Move definition above include of
30093         Rules.
30094         (test-zones): New variable.
30095         (tests-special): Add zone files.
30096         (build-testdata): Use $(evaluate-test).
30098         * elf/Makefile (tests-special): Rename tests to end with .out.
30099         ($(objpfx)noload-mem): Likewise.
30100         ($(objpfx)tst-leaks1-mem): Likewise.
30101         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30102         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30103         $(objpfx)test-iconvconfig.out.
30104         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30105         set -e inside subshell and redirect output to file.
30106         * iconvdata/Makefile (generated): Rename tests to end with .out.
30107         Correct type.
30108         (tests-special): Rename tests to end with .out.
30109         ($(objpfx)mtrace-tst-loading): Likewise.
30110         * intl/Makefile (generated): Likewise.
30111         (tests-special): Likewise.
30112         ($(objpfx)mtrace-tst-gettext): Likewise.
30113         * misc/Makefile (generated): Likewise.
30114         (tests-special): Likewise.
30115         ($(objpfx)tst-error1-mem): Likewise.
30116         * nptl/Makefile (tests-special): Likewise.
30117         ($(objpfx)tst-stack3-mem): Likewise.
30118         (generated): Likewise.
30119         * posix/Makefile (generated): Likewise.
30120         (tests-special): Likewise.
30121         (xtests-special): Likewise.
30122         ($(objpfx)tst-fnmatch-mem): Likewise.
30123         ($(objpfx)bug-regex2-mem): Likewise.
30124         ($(objpfx)bug-regex14-mem): Likewise.
30125         ($(objpfx)bug-regex21-mem): Likewise.
30126         ($(objpfx)bug-regex31-mem): Likewise.
30127         ($(objpfx)tst-vfork3-mem): Likewise.
30128         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30129         ($(objpfx)tst-pcre-mem): Likewise.
30130         ($(objpfx)tst-boost-mem): Likewise.
30131         ($(objpfx)bug-ga2-mem): Likewise.
30132         ($(objpfx)bug-glob2-mem): Likewise.
30133         * resolv/Makefile (generate): Likewise.
30134         (tests-special): Likewise.
30135         (xtests-special): Likewise.
30136         (generated): Likewise.
30137         ($(objpfx)mtrace-tst-leaks): Likewise.
30138         ($(objpfx)mtrace-tst-leaks2): Likewise.
30140         * scripts/merge-test-results.sh: New file.
30141         * Makefile (tests-special-notdir): New variable.
30142         (tests): Run merge-test-results.sh.
30143         (xtests): Likewise.
30144         * Rules (tests-special-notdir): New variable.
30145         (xtests-special-notdir): Likewise.
30146         (tests): Run merge-test-results.sh
30147         (xtests): Likewise.
30149         * Makeconfig (test-xfail-name): New variable.
30150         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30151         compute variable name for expected failures.
30152         * conform/Makefile (conformtest-headers-data): New variable.
30153         (conformtest-standards): Likewise.
30154         (conformtest-headers-ISO): Likewise.
30155         (conformtest-headers-ISO99): Likewise.
30156         (conformtest-headers-ISO11): Likewise.
30157         (conformtest-headers-POSIX): Likewise.
30158         (conformtest-headers-XPG3): Likewise.
30159         (conformtest-headers-XPG4): Likewise.
30160         (conformtest-headers-UNIX98): Likewise.
30161         (conformtest-headers-XOPEN2K): Likewise.
30162         (conformtest-headers-POSIX2008): Likewise.
30163         (conformtest-headers-XOPEN2K8): Likewise.
30164         (conformtest-header-list-base): Likewise.
30165         (conformtest-header-list-tests): Likewise.
30166         (conformtest-header-base): Likewise.
30167         (conformtest-header-tests): Likewise.
30168         (tests-special): Add $(conformtest-header-list-tests).  If
30169         [$(fast-check) && !$(cross-compiling)], add
30170         $(conformtest-header-tests) instead of
30171         $(objpfx)run-conformtest.out.
30172         (generated): Add $(conformtest-header-list-base).  If
30173         [$(fast-check) && !$(cross-compiling)], add
30174         $(conformtest-header-base).  Remove previous setting.
30175         ($(conformtest-header-list-tests)): New target.
30176         (test-xfail-run-conformtest): Remove variable.
30177         ($(objpfx)run-conformtest.out): Remove target.
30178         (test-xfail-ISO11/complex.h/conform): New variable.
30179         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30180         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30181         (test-xfail-XPG3/varargs.h/conform): Likewise.
30182         (test-xfail-XPG4/varargs.h/conform): Likewise.
30183         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30184         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30185         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30186         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30187         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30188         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30189         (test-xfail-XPG3/ftw.h/conform): Likewise.
30190         (test-xfail-XPG3/grp.h/conform): Likewise.
30191         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30192         (test-xfail-XPG3/limits.h/conform): Likewise.
30193         (test-xfail-XPG3/pwd.h/conform): Likewise.
30194         (test-xfail-XPG3/search.h/conform): Likewise.
30195         (test-xfail-XPG3/signal.h/conform): Likewise.
30196         (test-xfail-XPG3/stdio.h/conform): Likewise.
30197         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30198         (test-xfail-XPG3/string.h/conform): Likewise.
30199         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30200         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30201         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30202         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30203         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30204         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30205         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30206         (test-xfail-XPG3/termios.h/conform): Likewise.
30207         (test-xfail-XPG3/time.h/conform): Likewise.
30208         (test-xfail-XPG3/unistd.h/conform): Likewise.
30209         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30210         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30211         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30212         (test-xfail-XPG4/netdb.h/conform): Likewise.
30213         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30214         (test-xfail-XPG4/signal.h/conform): Likewise.
30215         (test-xfail-XPG4/stdio.h/conform): Likewise.
30216         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30217         (test-xfail-XPG4/stropts.h/conform): Likewise.
30218         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30219         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30220         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30221         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30222         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30223         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30224         (test-xfail-XPG4/sys/time.h/conform): Likewise.
30225         (test-xfail-XPG4/sys/types.h/conform): Likewise.
30226         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30227         (test-xfail-XPG4/termios.h/conform): Likewise.
30228         (test-xfail-XPG4/ucontext.h/conform): Likewise.
30229         (test-xfail-XPG4/unistd.h/conform): Likewise.
30230         (test-xfail-XPG4/utmpx.h/conform): Likewise.
30231         (test-xfail-POSIX/sched.h/conform): Likewise.
30232         (test-xfail-POSIX/signal.h/conform): Likewise.
30233         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30234         (test-xfail-POSIX/tar.h/conform): Likewise.
30235         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30236         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30237         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30238         (test-xfail-UNIX98/netdb.h/conform): Likewise.
30239         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30240         (test-xfail-UNIX98/sched.h/conform): Likewise.
30241         (test-xfail-UNIX98/signal.h/conform): Likewise.
30242         (test-xfail-UNIX98/stdio.h/conform): Likewise.
30243         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30244         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30245         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30246         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30247         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30248         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30249         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30250         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30251         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30252         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30253         (test-xfail-UNIX98/unistd.h/conform): Likewise.
30254         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30255         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30256         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30257         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30258         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30259         (test-xfail-XOPEN2K/math.h/conform): Likewise.
30260         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30261         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30262         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30263         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30264         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30265         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30266         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30267         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30268         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30269         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30270         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30271         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30272         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30273         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30274         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30275         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30276         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30277         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30278         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30279         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30280         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30281         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30282         (test-xfail-POSIX2008/signal.h/conform): Likewise.
30283         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30284         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30285         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30286         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30287         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30288         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30289         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30290         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30291         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30292         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30293         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30294         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30295         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30296         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30297         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30298         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30299         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30300         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30301         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30302         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30303         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30304         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30305         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30306         (conformtest-cc-flags): Likewise.
30307         ($(conformtest-header-tests): New target.
30308         * conform/check-header-lists.sh: New file.
30309         * conform/run-conformtest.sh: Remove.
30311         * conform/conformtest.pl: Allow ' and \ in values given for
30312         constants.
30313         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30314         inclusion.
30315         [POSIX] (sys/types.h): Likewise.
30316         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30317         inclusion.
30318         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30319         inclusion.
30320         * conform/data/signal.h-data (SIGIO): Remove expectation.
30321         [XPG3] (SIGBUS): Do not expect.
30322         [POSIX || XPG3] (SIGPOLL): Likewise.
30323         [POSIX || XPG3] (SIGPROF): Likewise.
30324         [POSIX || XPG3] (SIGSYS): Likewise.
30325         [XPG3] (SIGTRAP): Likewise.
30326         [POSIX || XPG3] (SIGURG): Likewise.
30327         [POSIX || XPG3] (SIGVTALRM): Likewise.
30328         [POSIX || XPG3] (SIGXCPU): Likewise.
30329         [POSIX || XPG3] (SIGXFSZ): Likewise.
30330         [POSIX] (SA_SIGINFO): Expect.
30331         [XPG3] (siginfo_t): Do not expect type or contents.
30332         [POSIX] (si_pid): Do not expect element.
30333         [POSIX] (si_uid): Likewise.
30334         [POSIX] (si_addr): Likewise.
30335         [POSIX] (si_status): Likewise.
30336         [POSIX] (si_band): Likewise.
30337         [XPG4] (si_value): Likewise.
30338         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30339         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30340         [POSIX || XPG3] (ILL_ILLADR): Likewise.
30341         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30342         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30343         [POSIX || XPG3] (ILL_PRVREG): Likewise.
30344         [POSIX || XPG3] (ILL_COPROC): Likewise.
30345         [POSIX || XPG3] (ILL_BADSTK): Likewise.
30346         [POSIX || XPG3] (FPE_INTDIV): Likewise.
30347         [POSIX || XPG3] (FPE_INTOVF): Likewise.
30348         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30349         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30350         [POSIX || XPG3] (FPE_FLTUND): Likewise.
30351         [POSIX || XPG3] (FPE_FLTRES): Likewise.
30352         [POSIX || XPG3] (FPE_FLTINV): Likewise.
30353         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30354         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30355         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30356         [POSIX || XPG3] (BUS_ADRALN): Likewise.
30357         [POSIX || XPG3] (BUS_ADRERR): Likewise.
30358         [POSIX || XPG3] (BUS_OBJERR): Likewise.
30359         [POSIX || XPG3] (CLD_EXITED): Likewise.
30360         [POSIX || XPG3] (CLD_KILLED): Likewise.
30361         [POSIX || XPG3] (CLD_DUMPED): Likewise.
30362         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30363         [POSIX || XPG3] (CLD_STOPPED): Likewise.
30364         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30365         [POSIX || XPG3] (POLL_IN): Likewise.
30366         [POSIX || XPG3] (POLL_OUT): Likewise.
30367         [POSIX || XPG3] (POLL_MSG): Likewise.
30368         [POSIX || XPG3] (POLL_ERR): Likewise.
30369         [POSIX || XPG3] (POLL_PRI): Likewise.
30370         [POSIX || XPG3] (POLL_HUP): Likewise.
30371         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30372         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30373         (SIG*): Do not allow.
30374         [XPG3] (si_*): Likewise.
30375         [XPG3] (SI_*): Likewise.
30376         [XPG3 || XPG4] (sigev_*): Likewise.
30377         [XPG3 || XPG4] (SIGEV_*): Likewise.
30378         [XPG3 || XPG4] (sival_*): Likewise.
30379         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30380         [POSIX || XPG3] (BUS_*): Likewise.
30381         [POSIX || XPG3] (CLD_*): Likewise.
30382         [POSIX || XPG3] (FPE_*): Likewise.
30383         [POSIX || XPG3] (ILL_*): Likewise.
30384         [POSIX || XPG3] (POLL_*): Likewise.
30385         [POSIX || XPG3] (SEGV_*): Likewise.
30386         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30387         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30388         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30389         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30390         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30391         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30392         Specify type and value.
30393         (TVERSLEN): Likewise.
30394         (REGTYPE): Likewise.
30395         (AREGTYPE): Likewise.
30396         (LNKTYPE): Likewise.
30397         (SYMTYPE): Likewise.
30398         (CHRTYPE): Likewise.
30399         (BLKTYPE): Likewise.
30400         (DIRTYPE): Likewise.
30401         (FIFOTYPE): Likewise.
30402         (CONTTYPE): Likewise.
30403         (TSUID): Likewise.
30404         (TSGID): Likewise.
30405         (TSVTX): Likewise.
30406         (TUREAD): Likewise.
30407         (TUWRITE): Likewise.
30408         (TUEXEC): Likewise.
30409         (TGREAD): Likewise.
30410         (TGWRITE): Likewise.
30411         (TGEXEC): Likewise.
30412         (TOREAD): Likewise.
30413         (TOWRITE): Likewise.
30414         (TOEXEC): Likewise.
30415         [POSIX] (TSVTX): Expect constant.
30417 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
30419         * Makefile (tests): Change dependencies to ....
30420         (tests-special): ... additions to this variable.
30421         (tests): Depend on $(tests-special).
30422         * Makerules (check-abi-list): New variable.
30423         (check-abi): Depend on $(check-abi-list).
30424         [$(subdir) = elf] (tests-special): Add
30425         $(objpfx)check-abi-libc.out.
30426         [$(build-shared) = yes && subdir] (tests-special): Add
30427         $(check-abi-list).
30428         [$(build-shared) = yes && subdir] (tests): Do not depend on
30429         check-abi.
30430         * Rules (tests): Depend on $(tests-special).
30431         (xtests): Depend on $(xtests-special).
30432         * catgets/Makefile (tests): Change dependencies to ....
30433         (tests-special): ... additions to this variable.
30434         * conform/Makefile (tests): Change dependencies to ....
30435         (tests-special): ... additions to this variable.
30436         * elf/Makefile (tests): Change dependencies to ....
30437         (tests-special): ... additions to this variable.
30438         * grp/Makefile (tests): Change dependencies to ....
30439         (tests-special): ... additions to this variable.
30440         * iconv/Makefile (xtests): Change dependencies to ....
30441         (xtests-special): ... additions to this variable.
30442         * iconvdata/Makefile (tests): Change dependencies to ....
30443         (tests-special): ... additions to this variable.
30444         * intl/Makefile (tests): Change dependencies to ....
30445         (tests-special): ... additions to this variable.  Also add
30446         $(objpfx)tst-gettext.out.
30447         * io/Makefile (tests): Change dependencies to ....
30448         (tests-special): ... additions to this variable.
30449         * libio/Makefile (tests): Change dependencies to ....
30450         (tests-special): ... additions to this variable.
30451         * malloc/Makefile (tests): Change dependencies to ....
30452         (tests-special): ... additions to this variable.
30453         * misc/Makefile (tests): Change dependencies to ....
30454         (tests-special): ... additions to this variable.
30455         * nptl/Makefile (tests): Change dependencies to ....
30456         (tests-special): ... additions to this variable.
30457         * nptl_db/Makefile (tests): Change dependencies to ....
30458         (tests-special): ... additions to this variable.
30459         * posix/Makefile (tests): Change dependencies to ....
30460         (tests-special): ... additions to this variable.
30461         (xtests): Change dependencies to ....
30462         (xtests-special): ... additions to this variable.
30463         * resolv/Makefile (tests): Change dependencies to ....
30464         (tests-special): ... additions to this variable.
30465         (xtests): Change dependencies to ....
30466         (xtests-special): ... additions to this variable.
30467         * stdio-common/Makefile (tests): Change dependencies to ....
30468         (tests-special): ... additions to this variable.
30469         (do-tst-unbputc): Remove target.
30470         (do-tst-printf): Likewise.
30471         * stdlib/Makefile (tests): Change dependencies to ....
30472         (tests-special): ... additions to this variable.
30473         * string/Makefile (tests): Change dependencies to ....
30474         (tests-special): ... additions to this variable.
30475         * sysdeps/x86/Makefile (tests): Change dependencies to ....
30476         (tests-special): ... additions to this variable.
30478         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30479         whole file.
30480         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30481         whole file.
30482         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30483         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30485         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30486         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30487         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30488         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30489         * conform/data/libgen.h-data [XPG3]: Likewise.
30490         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30491         * conform/data/ndbm.h-data [XPG3]: Likewise.
30492         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30493         * conform/data/netdb.h-data [XPG3]: Likewise.
30494         * conform/data/netinet/in.h-data [XPG3]: Likewise.
30495         * conform/data/poll.h-data [XPG3]: Likewise.
30496         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30497         * conform/data/strings.h-data [XPG3]: Likewise.
30498         * conform/data/stropts.h-data [XPG3]: Likewise.
30499         * conform/data/sys/mman.h-data [XPG3]: Likewise.
30500         * conform/data/sys/resource.h-data [XPG3]: Likewise.
30501         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30502         Likewise.
30503         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30504         * conform/data/sys/time.h-data [XPG3]: Likewise.
30505         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30506         * conform/data/sys/uio.h-data [XPG3]: Likewise.
30507         * conform/data/sys/un.h-data [XPG3]: Likewise.
30508         * conform/data/syslog.h-data [XPG3]: Likewise.
30509         * conform/data/ucontext.h-data [XPG3]: Likewise.
30510         * conform/data/utmpx.h-data [XPG3]: Likewise.
30511         * conform/data/varargs.h-data [UNIX98]: Enable file.
30513         * manual/Makefile (INSTALL_INFO): Remove variable setting.
30515         * math/libm-test.inc (struct test_f_f_data): Move expected results
30516         into structure for each rounding mode.
30517         (struct test_ff_f_data): Likewise.
30518         (struct test_ff_f_data_nexttoward): Likewise.
30519         (struct test_fi_f_data): Likewise.
30520         (struct test_fl_f_data): Likewise.
30521         (struct test_if_f_data): Likewise.
30522         (struct test_fff_f_data): Likewise.
30523         (struct test_c_f_data): Likewise.
30524         (struct test_f_f1_data): Likewise.
30525         (struct test_fF_f1_data): Likewise.
30526         (struct test_ffI_f1_data): Likewise.
30527         (struct test_c_c_data): Likewise.
30528         (struct test_cc_c_data): Likewise.
30529         (struct test_f_i_data): Likewise.
30530         (struct test_ff_i_data): Likewise.
30531         (struct test_f_l_data): Likewise.
30532         (struct test_f_L_data): Likewise.
30533         (struct test_fFF_11_data): Likewise.
30534         (RM_): New macro.
30535         (RM_FE_DOWNWARD): Likewise.
30536         (RM_FE_TONEAREST): Likewise.
30537         (RM_FE_TOWARDZERO): Likewise.
30538         (RM_FE_UPWARD): Likewise.
30539         (RUN_TEST_LOOP_f_f): Update references to expected results.
30540         (RUN_TEST_LOOP_2_f): Likewise.
30541         (RUN_TEST_LOOP_fff_f): Likewise.
30542         (RUN_TEST_LOOP_c_f): Likewise.
30543         (RUN_TEST_LOOP_f_f1): Likewise.
30544         (RUN_TEST_LOOP_fF_f1): Likewise.
30545         (RUN_TEST_LOOP_fI_f1): Likewise.
30546         (RUN_TEST_LOOP_ffI_f1): Likewise.
30547         (RUN_TEST_LOOP_c_c): Likewise.
30548         (RUN_TEST_LOOP_cc_c): Likewise.
30549         (RUN_TEST_LOOP_f_i): Likewise.
30550         (RUN_TEST_LOOP_f_i_tg): Likewise.
30551         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30552         (RUN_TEST_LOOP_f_b): Likewise.
30553         (RUN_TEST_LOOP_f_b_tg): Likewise.
30554         (RUN_TEST_LOOP_f_l): Likewise.
30555         (RUN_TEST_LOOP_f_L): Likewise.
30556         (RUN_TEST_LOOP_fFF_11): Likewise.
30557         * math/gen-libm-test.pl (parse_args): Output four copies of
30558         expected results for each test.
30560         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30561         (__ASSUME_UTIMES): Remove.
30562         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30563         (__ASSUME_UTIMES): Likewise.
30565         * math/gen-auto-libm-tests.c: Update comment on output format.
30566         (output_for_one_input_case): Generate before-rounding and
30567         after-rounding information as conditions on output flags not
30568         floating-point format.
30569         * math/auto-libm-test-out: Regenerated.
30570         * math/gen-libm-test.pl (cond_value): New function.
30571         (or_cond_value): Use cond_value.
30572         (generate_testfile): Handle conditional exceptions.
30574 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
30576         * math/libm-test.inc (max_valid_error): New variable.
30577         (init_max_error): Take new argument specifying whether function
30578         results are exactly determined.  Set max_valid_error and bound
30579         other variables for errors based on this argument.
30580         (set_max_error): Do not record results above max_valid_error.
30581         (check_float_internal): Only accept errors of up to 0.5ulps if
30582         also at most max_valid_error.
30583         (START): Take new argument EXACT and pass it to init_max_error.
30584         (acos_test): Update call to START.
30585         (acos_test_tonearest): Likewise.
30586         (acos_test_towardzero): Likewise.
30587         (acos_test_downward): Likewise.
30588         (acos_test_upward): Likewise.
30589         (acosh_test): Likewise.
30590         (asin_test): Likewise.
30591         (asin_test_tonearest): Likewise.
30592         (asin_test_towardzero): Likewise.
30593         (asin_test_downward): Likewise.
30594         (asin_test_upward): Likewise.
30595         (asinh_test): Likewise.
30596         (atan_test): Likewise.
30597         (atanh_test): Likewise.
30598         (atan2_test): Likewise.
30599         (cabs_test): Likewise.
30600         (cacos_test): Likewise.
30601         (cacosh_test): Likewise.
30602         (carg_test): Likewise.
30603         (casin_test): Likewise.
30604         (casinh_test): Likewise.
30605         (catan_test): Likewise.
30606         (catanh_test): Likewise.
30607         (cbrt_test): Likewise.
30608         (ccos_test): Likewise.
30609         (ccosh_test): Likewise.
30610         (ceil_test): Likewise.
30611         (cexp_test): Likewise.
30612         (cimag_test): Likewise.
30613         (clog_test): Likewise.
30614         (clog10_test): Likewise.
30615         (conj_test): Likewise.
30616         (copysign_test): Likewise.
30617         (cos_test): Likewise.
30618         (cos_test_tonearest): Likewise.
30619         (cos_test_towardzero): Likewise.
30620         (cos_test_downward): Likewise.
30621         (cos_test_upward): Likewise.
30622         (cosh_test): Likewise.
30623         (cosh_test_tonearest): Likewise.
30624         (cosh_test_towardzero): Likewise.
30625         (cosh_test_downward): Likewise.
30626         (cosh_test_upward): Likewise.
30627         (cpow_test): Likewise.
30628         (cproj_test): Likewise.
30629         (creal_test): Likewise.
30630         (csin_test): Likewise.
30631         (csinh_test): Likewise.
30632         (csqrt_test): Likewise.
30633         (ctan_test): Likewise.
30634         (ctan_test_tonearest): Likewise.
30635         (ctan_test_towardzero): Likewise.
30636         (ctan_test_downward): Likewise.
30637         (ctan_test_upward): Likewise.
30638         (ctanh_test): Likewise.
30639         (ctanh_test_tonearest): Likewise.
30640         (ctanh_test_towardzero): Likewise.
30641         (ctanh_test_downward): Likewise.
30642         (ctanh_test_upward): Likewise.
30643         (erf_test): Likewise.
30644         (erfc_test): Likewise.
30645         (exp_test): Likewise.
30646         (exp_test_tonearest): Likewise.
30647         (exp_test_towardzero): Likewise.
30648         (exp_test_downward): Likewise.
30649         (exp_test_upward): Likewise.
30650         (exp10_test): Likewise.
30651         (exp10_test_tonearest): Likewise.
30652         (exp10_test_towardzero): Likewise.
30653         (exp10_test_downward): Likewise.
30654         (exp10_test_upward): Likewise.
30655         (pow10_test): Likewise.
30656         (exp2_test): Likewise.
30657         (expm1_test): Likewise.
30658         (expm1_test_tonearest): Likewise.
30659         (expm1_test_towardzero): Likewise.
30660         (expm1_test_downward): Likewise.
30661         (expm1_test_upward): Likewise.
30662         (fabs_test): Likewise.
30663         (fdim_test): Likewise.
30664         (floor_test): Likewise.
30665         (fma_test): Likewise.
30666         (fma_test_towardzero): Likewise.
30667         (fma_test_downward): Likewise.
30668         (fma_test_upward): Likewise.
30669         (fmax_test): Likewise.
30670         (fmin_test): Likewise.
30671         (fmod_test): Likewise.
30672         (fpclassify_test): Likewise.
30673         (frexp_test): Likewise.
30674         (hypot_test): Likewise.
30675         (ilogb_test): Likewise.
30676         (isfinite_test): Likewise.
30677         (finite_test): Likewise.
30678         (isgreater_test): Likewise.
30679         (isgreaterequal_test): Likewise.
30680         (isinf_test): Likewise.
30681         (isless_test): Likewise.
30682         (islessequal_test): Likewise.
30683         (islessgreater_test): Likewise.
30684         (isnan_test): Likewise.
30685         (isnormal_test): Likewise.
30686         (issignaling_test): Likewise.
30687         (isunordered_test): Likewise.
30688         (j0_test): Likewise.
30689         (j1_test): Likewise.
30690         (jn_test): Likewise.
30691         (ldexp_test): Likewise.
30692         (lgamma_test): Likewise.
30693         (gamma_test): Likewise.
30694         (lrint_test): Likewise.
30695         (lrint_test_tonearest): Likewise.
30696         (lrint_test_towardzero): Likewise.
30697         (lrint_test_downward): Likewise.
30698         (lrint_test_upward): Likewise.
30699         (llrint_test): Likewise.
30700         (llrint_test_tonearest): Likewise.
30701         (llrint_test_towardzero): Likewise.
30702         (llrint_test_downward): Likewise.
30703         (llrint_test_upward): Likewise.
30704         (log_test): Likewise.
30705         (log10_test): Likewise.
30706         (log1p_test): Likewise.
30707         (log2_test): Likewise.
30708         (logb_test): Likewise.
30709         (logb_test_downward): Likewise.
30710         (lround_test): Likewise.
30711         (llround_test): Likewise.
30712         (modf_test): Likewise.
30713         (nearbyint_test): Likewise.
30714         (nextafter_test): Likewise.
30715         (nexttoward_test): Likewise.
30716         (pow_test): Likewise.
30717         (pow_test_tonearest): Likewise.
30718         (pow_test_towardzero): Likewise.
30719         (pow_test_downward): Likewise.
30720         (pow_test_upward): Likewise.
30721         (remainder_test): Likewise.
30722         (drem_test): Likewise.
30723         (remainder_test_tonearest): Likewise.
30724         (drem_test_tonearest): Likewise.
30725         (remainder_test_towardzero): Likewise.
30726         (drem_test_towardzero): Likewise.
30727         (remainder_test_downward): Likewise.
30728         (drem_test_downward): Likewise.
30729         (remainder_test_upward): Likewise.
30730         (drem_test_upward): Likewise.
30731         (remquo_test): Likewise.
30732         (rint_test): Likewise.
30733         (rint_test_tonearest): Likewise.
30734         (rint_test_towardzero): Likewise.
30735         (rint_test_downward): Likewise.
30736         (rint_test_upward): Likewise.
30737         (round_test): Likewise.
30738         (scalb_test): Likewise.
30739         (scalbn_test): Likewise.
30740         (scalbln_test): Likewise.
30741         (signbit_test): Likewise.
30742         (sin_test): Likewise.
30743         (sin_test_tonearest): Likewise.
30744         (sin_test_towardzero): Likewise.
30745         (sin_test_downward): Likewise.
30746         (sin_test_upward): Likewise.
30747         (sincos_test): Likewise.
30748         (sinh_test): Likewise.
30749         (sinh_test_tonearest): Likewise.
30750         (sinh_test_towardzero): Likewise.
30751         (sinh_test_downward): Likewise.
30752         (sinh_test_upward): Likewise.
30753         (sqrt_test): Likewise.
30754         (sqrt_test_tonearest): Likewise.
30755         (sqrt_test_towardzero): Likewise.
30756         (sqrt_test_downward): Likewise.
30757         (sqrt_test_upward): Likewise.
30758         (tan_test): Likewise.
30759         (tan_test_tonearest): Likewise.
30760         (tan_test_towardzero): Likewise.
30761         (tan_test_downward): Likewise.
30762         (tan_test_upward): Likewise.
30763         (tanh_test): Likewise.
30764         (tgamma_test): Likewise.
30765         (trunc_test): Likewise.
30766         (y0_test): Likewise.
30767         (y1_test): Likewise.
30768         (yn_test): Likewise.
30769         (significand_test): Likewise.
30771         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30772         individual tests in comment.
30773         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30774         (prev_max_error): New variable.
30775         (prev_real_max_error): Likewise.
30776         (prev_imag_max_error): Likewise.
30777         (compare_ulp_data): Don't refer to test names in comment.
30778         (find_test_ulps): Remove function.
30779         (find_function_ulps): Likewise.
30780         (find_complex_function_ulps): Likewise.
30781         (init_max_error): Take function name as argument.  Look up ulps
30782         for that function.
30783         (print_ulps): Remove function.
30784         (print_max_error): Use prev_max_error instead of calling
30785         find_function_ulps.
30786         (print_complex_max_error): Use prev_real_max_error and
30787         prev_imag_max_error instead of calling find_complex_function_ulps.
30788         (check_float_internal): Take max_ulp parameter instead of calling
30789         find_test_ulps.  Don't call print_ulps.
30790         (check_float): Update call to check_float_internal.
30791         (check_complex): Update calls to check_float_internal.
30792         (START): Pass argument to init_max_error.
30793         * math/gen-libm-test.pl (%results): Don't include "kind"
30794         information.
30795         (parse_ulps): Don't handle ulps of individual tests.
30796         (print_ulps_file): Likewise.
30797         (output_ulps): Likewise.
30798         * math/README.libm-test: Update.
30799         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30800         individual tests.
30801         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30802         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30803         * sysdeps/arm/libm-test-ulps: Likewise.
30804         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30805         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30806         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30807         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30808         * sysdeps/microblaze/libm-test-ulps: Likewise.
30809         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30810         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30811         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30812         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30813         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30814         * sysdeps/sh/libm-test-ulps: Likewise.
30815         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30816         * sysdeps/tile/libm-test-ulps: Likewise.
30817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30819 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30821         * math/libm-test.inc (print_complex_max_error): Check separately
30822         whether real and imaginary errors are within allowed range and
30823         pass 0 to print_complex_function_ulps instead of value within
30824         allowed range.
30826 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30828         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30829         formatting.
30830         (get_handles_fopen): Likewise.
30831         (do_write_test): Likewise.
30833         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30835         * libio/fileops.c (do_ftell): Use cached offset when
30836         available.
30837         * libio/iofwide.c (do_ftell_wide): Likewise.
30838         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30839         _IO_file_attach.
30840         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30842         [BZ #16532]
30843         * libio/libioP.h (get_file_offset): New function.
30844         * libio/fileops.c (get_file_offset): Likewise.
30845         (do_ftell): Likewise.
30846         (_IO_new_file_seekoff): Split out ftell logic.
30847         * libio/wfileops.c (do_ftell_wide): Likewise.
30848         (_IO_wfile_seekoff): Split out ftell logic.
30849         * libio/tst-ftell-active-handler.c: New test case.
30850         * libio/Makefile (tests): Add it.
30852 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30854         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30855         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30857 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30859         [BZ #16639]
30860         * nscd/connections.c (nscd_init): Call do_exit.
30861         (start_threads): Call do_exit and notify_parent.
30862         (begin_drop_privileges): Call do_exit.
30863         (finish_drop_privileges): Likewise.
30864         * nscd/selinux.c (preserve_capabilities): Likewise.
30865         (install_real_capabilities): Likewise.
30866         (nscd_selinux_enabled): Likewise.
30867         (avc_create_thread): Likewise.
30868         (avc_alloc_lock): Likewise.
30869         (nscd_avc_init): Likewise.
30870         * nscd/nscd.c (parent_fd): New static variable.
30871         (main): Create a pipe between parent and child processes.
30872         Skip closing parent_fd.
30873         (monitor_child): New function.
30874         (do_exit): Likewise.
30875         (notify_parent): Likewise.
30876         * nscd/nscd.h (notify_parent): Likewise.
30877         (do_exit): Likewise.
30879 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30881         * malloc/malloc.c (__libc_calloc): Revert last change.
30883 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30887 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30889         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30891         implementation.
30892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30893         (__libc_ifunc_impl_list): Likewise.
30894         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30895         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30896         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30897         * string/strrchr.c: Define STRRCHR.
30899 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30901         * benchtest/bench-strtok.c (simple_strtok): Delete.
30902         (strtok_string): Use as benchmark.
30903         * string/strtok (STRTOK): New macro.
30905 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30907         * manual/threads.texi: Add header and standard comments to all
30908         functions.
30910         * elf/dl-lookup.c (check_match): New function.
30911         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30912         (do_lookup_x): Remove nested function check_match. Use non-nested
30913         function check_match.
30915 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30917         * csu/Makefile (generated, before-compile): Use += rather than =.
30918         * catgets/Makefile (generated, generated-dirs): Likewise.
30919         * debug/Makefile (generated): Likewise.
30920         * dlfcn/Makefile (generated): Likewise.
30921         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30922         * iconvdata/Makefile (before-compile, generated): Likewise.
30923         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30924         * libio/Makefile (generated): Likewise.
30925         * malloc/Makefile (generated): Likewise.
30926         * manual/Makefile (generated, generated-dirs): Likewise.
30927         * misc/Makefile (generated): Likewise.
30928         * posix/Makefile (generated): Likewise.
30929         * resolv/Makefile (generated): Likewise.
30930         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30931         * timezone/Makefile (generated, generated-dirs): Likewise.
30933         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30935 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30938         power8 implementation.
30939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30940         file: POWER8 llround ifunc implementation.
30941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30942         (__lllround): Add POWER8 implementation.
30943         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30944         POWER8 llround implementation.
30946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30947         power8 implementation.
30948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30949         file: POWER8 llrint ifunc implementation.
30950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30951         Add POWER8 implementation.
30952         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30953         POWER8 llrint implementation.
30955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30956         power8 implementation.
30957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30958         file: POWER8 finite ifunc implementation.
30959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30960         Add POWER8 implementation.
30961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30962         Likewise.
30963         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30964         POWER8 finite implementation.
30965         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30968         power8 implementation.
30969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30970         file: POWER8 isinf ifunc implementation.
30971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30972         POWER8 implementation.
30973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30974         Likewise.
30975         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30976         isinf implementation.
30977         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30979         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30980         (INIT_ARCH): Add hwcap2 initialization.
30981         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30982         power8 implementation.
30983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30984         file: POWER8 isnan ifunc implementation.
30985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30986         POWER8 implementation.
30987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30988         Likewise.
30989         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30990         isnan implementation.
30991         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30993 2014-02-27  Joey Ye  <joey.ye@arm.com>
30995         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30996         (_FP_NANFRAC_Q): Set to zero.
30998 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31000         [BZ #16623]
31001         * math/auto-libm-test-in: New test inputs.
31002         * math/auto-libm-test-out: Regenerate.
31003         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31004         and DA.
31005         (__cos): Likewise.
31006         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31008 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31010         * scripts/evaluate-test.sh: Take new argument indicating whether
31011         failure is expected.
31012         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31013         indicating whether failure is expected.
31014         * conform/Makefile (test-xfail-run-conformtest): New variable.
31015         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31016         level.
31017         * posix/Makefile (test-xfail-annexc): New variable.
31018         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31020 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31022         * argp/Makefile: Include Makeconfig immediately after defining
31023         subdir.
31024         * assert/Makefile: Likewise.
31025         * benchtests/Makefile: Likewise.
31026         * catgets/Makefile: Likewise.
31027         * conform/Makefile: Likewise.
31028         * crypt/Makefile: Likewise.
31029         * csu/Makefile: Likewise.
31030         (all): Remove target.
31031         * ctype/Makefile: Include Makeconfig immediately after defining
31032         subdir.
31033         * debug/Makefile: Likewise.
31034         * dirent/Makefile: Likewise.
31035         * dlfcn/Makefile: Likewise.
31036         * gmon/Makefile: Likewise.
31037         * gnulib/Makefile: Likewise.
31038         * grp/Makefile: Likewise.
31039         * gshadow/Makefile: Likewise.
31040         * hesiod/Makefile: Likewise.
31041         * hurd/Makefile: Likewise.
31042         (all): Remove target.
31043         * iconvdata/Makefile: Include Makeconfig immediately after
31044         defining subdir.
31045         * inet/Makefile: Likewise.
31046         * intl/Makefile: Likewise.
31047         * io/Makefile: Likewise.
31048         * libio/Makefile: Likewise.
31049         (all): Remove target.
31050         * locale/Makefile: Include Makeconfig immediately after defining
31051         subdir.
31052         * login/Makefile: Likewise.
31053         * mach/Makefile: Likewise.
31054         (all): Remove target.
31055         * malloc/Makefile: Include Makeconfig immediately after defining
31056         subdir.
31057         (all): Remove target.
31058         * manual/Makefile: Include Makeconfig immediately after defining
31059         subdir.
31060         * math/Makefile: Likewise.
31061         * misc/Makefile: Likewise.
31062         * nis/Makefile: Likewise.
31063         * nss/Makefile: Likewise.
31064         * po/Makefile: Likewise.
31065         (all): Remove target.
31066         * posix/Makefile: Include Makeconfig immediately after defining
31067         subdir.
31068         * pwd/Makefile: Likewise.
31069         * resolv/Makefile: Likewise.
31070         * resource/Makefile: Likewise.
31071         * rt/Makefile: Likewise.
31072         * setjmp/Makefile: Likewise.
31073         * shadow/Makefile: Likewise.
31074         * signal/Makefile: Likewise.
31075         * socket/Makefile: Likewise.
31076         * soft-fp/Makefile: Likewise.
31077         * stdio-common/Makefile: Likewise.
31078         * stdlib/Makefile: Likewise.
31079         * streams/Makefile: Likewise.
31080         * string/Makefile: Likewise.
31081         * sunrpc/Makefile: Likewise.
31082         (all): Remove target.
31083         * sysvipc/Makefile: Include Makeconfig immediately after defining
31084         subdir.
31085         * termios/Makefile: Likewise.
31086         * time/Makefile: Likewise.
31087         * timezone/Makefile: Likewise.
31088         (all): Remove target.
31089         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31090         subdir.
31091         * wctype/Makefile: Likewise.
31093 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31095         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31096         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31097         (libc_feholdexcept_setround_mips): Ditto.
31098         (libc_feholdsetround): New.
31099         (libc_feholdsetroundf): New.
31100         (libc_feholdsetroundl): New.
31101         (libc_feupdateenv_test_mips): New.
31102         (libc_feupdateenv_test): New.
31103         (libc_feupdateenv_testf): New.
31104         (libc_feupdateenv_testl): New.
31105         (libc_feresetround): New.
31106         (libc_feresetroundf): New.
31107         (libc_feresetroundl): New.
31108         (libc_fetestexcept_mips): New.
31109         (libc_fetestexcept): New.
31110         (libc_fetestexceptf): New.
31111         (libc_fetestexceptl): New.
31112         (HAVE_RM_CTX): New.
31113         (libc_feholdexcept_setround_mips_ctx): New.
31114         (libc_feholdexcept_setround_ctx): New.
31115         (libc_feholdexcept_setroundf_ctx): New.
31116         (libc_feholdexcept_setroundl_ctx): New.
31117         (libc_fesetenv_mips_ctx): New.
31118         (libc_fesetenv_ctx): New.
31119         (libc_fesetenv_ctxf): New.
31120         (libc_fesetenv_ctxl): New.
31121         (libc_feupdateenv_mips_ctx): New.
31122         (libc_feupdateenv_ctx): New.
31123         (libc_feupdateenvf_ctx): New.
31124         (libc_feupdateenvl_ctx): New.
31125         (libc_feholdsetround_mips_ctx): New.
31126         (libc_feholdsetround_ctx): New.
31127         (libc_feholdsetroundf_ctx): New.
31128         (libc_feholdsetroundl_ctx): New.
31129         (libc_feresetround_mips_ctx): New.
31130         (libc_feresetround_ctx): New.
31131         (libc_feresetroundf_ctx): New.
31132         (libc_feresetroundl_ctx): New.
31134 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31136         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31138         * manual/ipc.texi: New file.
31139         * manual/Makefile (chapters): Add ipc.
31140         * manual/job.texi: Add "Inter-Process Communication" to next.
31141         * manual/process.texi: Add "Inter-Process Communication" to prev.
31143 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31147 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31149         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31151         * manual/arith.texi: Fix spaces after sentences.
31152         * manual/charset.texi: Likewise.
31153         * manual/errno.texi: Likewise.
31154         * manual/install.texi: Likewise.
31155         * manual/llio.texi: Likewise.
31156         * manual/locale.texi: Likewise.
31157         * manual/maint.texi: Likewise.
31158         * manual/math.texi: Likewise.
31159         * manual/memory.texi: Likewise.
31160         * manual/message.texi: Likewise.
31161         * manual/probes.texi: Likewise.
31162         * manual/resource.texi: Likewise.
31163         * manual/signal.texi: Likewise.
31164         * manual/socket.texi: Likewise.
31165         * manual/stdio.texi: Likewise.
31166         * manual/string.texi: Likewise.
31167         * manual/time.texi: Likewise.
31168         * manual/users.texi: Likewise.
31170 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31172         [BZ #16632]
31173         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31174         _DEFAULT_SOURCE is defined.
31176 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31177             Carlos O'Donell  <carlos@redhat.com>
31179         [BZ #16613]
31180         * elf/dl-tls.c (_dl_count_modids): New function.
31181         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31182         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31183         audit library and increment generation counter.
31184         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31185         * elf/tst-audit9.c: New file.
31186         * elf/tst-auditmod9a.c: New file.
31187         * elf/tst-auditmod9b.c: New file.
31188         * elf/Makefile: Add rules to build and run tst-audit9.
31190 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31192         [BZ #15347]
31193         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31195 2014-02-25  Will Newton  <will.newton@linaro.org>
31197         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31198         (__longjmp): Restore sp and lr before restoring callee
31199         saved registers.  Add longjmp and longjmp_target
31200         SystemTap probe point.
31201         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31202         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31203         Define to zero to match jmpbuf layout.
31204         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31205         (__sigsetjmp): Save sp and lr before saving callee
31206         saved registers.  Add setjmp SystemTap probe point.
31208 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31210         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31212 2014-02-24  Andreas Schwab  <schwab@suse.de>
31214         [BZ #15804]
31215         * elf/pldd.c (wait_for_ptrace_stop): New function.
31216         (main): Call it after attaching.
31218 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31220         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31221         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31222         Versions files is now verboten.
31223         * hurd/Versions (libc: GLIBC_2.0):
31224         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31225         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31226         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31227         * mach/Versions: Likewise.
31229         * csu/Versions: Remove unused %include.
31230         * resolv/Versions: Likewise.
31232 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
31234         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31235         ($(objpfx)check-local-headers.out): Likewise.
31236         ($(objpfx)begin-end-check.out): Likewise.
31237         * Makerules (check-abi-%.out): Likewise.
31238         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31239         ($(objpfx)test2.cat): Likewise.
31240         ($(objpfx)de/libc.cat): Likewise.
31241         ($(objpfx)test-gencat.out): Likewise.
31242         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31243         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31244         ($(objpfx)noload-mem): Likewise.
31245         ($(objpfx)tst-pathopt.out): Likewise.
31246         ($(objpfx)tst-rtld-load-self.out): Likewise.
31247         ($(objpfx)tst-array1-cmp.out): Likewise.
31248         ($(objpfx)tst-array1-static-cmp.out): Likewise.
31249         ($(objpfx)tst-array2-cmp.out): Likewise.
31250         ($(objpfx)tst-array3-cmp.out): Likewise.
31251         ($(objpfx)tst-array4-cmp.out): Likewise.
31252         ($(objpfx)tst-array5-cmp.out): Likewise.
31253         ($(objpfx)tst-array5-static-cmp.out): Likewise.
31254         ($(objpfx)check-textrel.out): Likewise.
31255         ($(objpfx)check-execstack.out): Likewise.
31256         ($(objpfx)check-localplt.out): Likewise.
31257         ($(objpfx)order2-cmp.out): Likewise.
31258         ($(objpfx)tst-leaks1-mem): Likewise.
31259         ($(objpfx)tst-leaks1-static-mem): Likewise.
31260         ($(objpfx)tst-initorder-cmp.out): Likewise.
31261         ($(objpfx)tst-initorder2-cmp.out): Likewise.
31262         ($(objpfx)tst-unused-dep.out): Likewise.
31263         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31264         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31265         * iconv/Makefile (test-iconvconfig): Likewise.
31266         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31267         ($(objpfx)iconv-test.out): Likewise.
31268         ($(objpfx)tst-tables.out): Likewise.
31269         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31270         ($(objpfx)tst-gettext.out): Likewise.
31271         ($(objpfx)tst-translit.out): Likewise.
31272         ($(objpfx)tst-gettext2.out): Likewise.
31273         ($(objpfx)tst-gettext4.out): Likewise.
31274         ($(objpfx)tst-gettext6.out): Likewise.
31275         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31276         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31277         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31278         ($(objpfx)tst-fopenloc-mem.out): Likewise.
31279         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31280         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31281         * posix/Makefile ($(objpfx)globtest.out): Likewise.
31282         ($(objpfx)wordexp-tst.out): Likewise.
31283         ($(objpfx)annexc.out): Likewise.
31284         ($(objpfx)tst-fnmatch-mem): Likewise.
31285         ($(objpfx)bug-regex2-mem): Likewise.
31286         ($(objpfx)bug-regex14-mem): Likewise.
31287         ($(objpfx)bug-regex21-mem): Likewise.
31288         ($(objpfx)bug-regex31-mem): Likewise.
31289         ($(objpfx)tst-vfork3-mem): Likewise.
31290         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31291         ($(objpfx)tst-pcre-mem): Likewise.
31292         ($(objpfx)tst-boost-mem): Likewise.
31293         ($(objpfx)tst-getconf.out): Likewise.
31294         ($(objpfx)bug-ga2-mem): Likewise.
31295         ($(objpfx)bug-glob2-mem): Likewise.
31296         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31297         ($(objpfx)mtrace-tst-leaks2): Likewise.
31298         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31299         ($(objpfx)tst-printf.out): Likewise.
31300         ($(objpfx)tst-setvbuf1.out): Likewise.
31301         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31302         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31303         ($(objpfx)tst-fmtmsg.out): Likewise.
31304         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31305         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31307         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31308         * bits/sigaction.h [__USE_MISC]: Likewise.
31309         * bits/waitstatus.h: Update #endif comments.
31310         * ctype/ctype.h: Likewise.
31311         * dirent/dirent.h: Likewise.
31312         [__USE_MISC]: Remove redundant conditionals.
31313         * grp/grp.h: Update #endif comments.
31314         [__USE_GNU]: Remove redundant conditionals.
31315         [__USE_MISC]: Likewise.
31316         * inet/netinet/in.h [__USE_GNU]: Likewise.
31317         * io/sys/stat.h [__USE_MISC]: Likewise.
31318         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31319         * libio/bits/stdio.h: Update #endif comments.
31320         [__USE_MISC]: Remove redundant conditionals.
31321         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31322         * libio/stdio.h: Update #endif comments.
31323         [__USE_MISC]: Remove redundant conditionals.
31324         * math/bits/math-finite.h [__USE_MISC]: Likewise.
31325         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31326         * math/math.h: Update #else and #endif comments.
31327         [__USE_MISC]: Remove redundant conditionals.
31328         * misc/sys/uio.h: Update #endif comments.
31329         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31330         * posix/glob.h [__USE_MISC]: Likewise.
31331         * posix/sys/types.h: Update #endif comments.
31332         [__USE_MISC]: Remove redundant conditionals.
31333         * posix/sys/wait.h: Update #endif comments.
31334         [__USE_MISC]: Remove redundant conditionals.
31335         * posix/unistd.h: Update #endif comments.
31336         [__USE_MISC]: Remove redundant conditionals.
31337         * pwd/pwd.h [__USE_GNU]: Likewise.
31338         [__USE_MISC]: Likewise.
31339         * resolv/netdb.h [__USE_GNU]: Likewise.
31340         * signal/signal.h: Update #endif comments.
31341         [__USE_MISC]: Remove redundant conditionals.
31342         * stdlib/stdlib.h: Update #else and #endif comments.
31343         [__USE_MISC]: Remove redundant conditionals.
31344         [__USE_GNU]: Likewise.
31345         * string/bits/string2.h [__USE_MISC]: Likewise.
31346         * string/string.h: Update #endif comments.
31347         [__USE_MISC]: Remove redundant conditionals.
31348         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31349         Likewise.
31350         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31351         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31352         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31353         Likewise.
31354         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31355         Likewise.
31356         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31357         comments.
31358         [__USE_MISC]: Remove redundant conditionals.
31359         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31360         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31361         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31362         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31363         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31364         Likewise.
31365         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31366         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31367         Likewise.
31368         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31369         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31370         Likewise.
31371         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31372         Likewise.
31373         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31374         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31375         Likewise.
31376         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31377         Likewise.
31378         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31379         * sysdeps/x86/bits/string.h: Update #endif comments.
31380         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31381         conditionals.
31382         * time/sys/time.h: Update #endif comments.
31383         * time/time.h: Likewise.
31384         [__USE_MISC]: Remove redundant conditionals.
31386 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
31388         [BZ #16600]
31389         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31391 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
31393         * Versions.def (librt): Add GLIBC_2.17.
31395 2014-02-21  Adam Conrad  <adconrad@0c3.net>
31397         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31398         synonym for _SYS_AUXV_H to allow direct inclusion.
31399         * sysdeps/sparc/bits/hwcap.h: Likewise.
31400         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31401         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31402         * sysdeps/sparc/sysdep.h: Likewise.
31404 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31406         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31408 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31410         * benchtests/bench-strrchr.c: Print length instead of position.
31412 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
31414         [BZ #16611]
31415         * sysdeps/unix/sysv/linux/kernel-features.h
31416         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31417         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31418         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31419         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31420         Likewise.
31421         [__i386__ || __powerpc__ || __sh__ || __sparc__]
31422         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31423         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31424         (__ASSUME_SENDMMSG): Define instead of using previous
31425         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31426         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31427         (__ASSUME_SENDMMSG_SYSCALL): Define.
31428         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31429         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31430         Likewise.
31431         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31432         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31433         Likewise.
31434         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31435         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31436         Likewise.
31437         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31438         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31439         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31440         [__ASSUME_SENDMMSG]: Change conditionals to
31441         [__ASSUME_SENDMMSG_SOCKETCALL].
31442         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31443         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31444         Define.
31445         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31446         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31447         Likewise.
31448         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31449         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31450         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31451         [!__ASSUME_SENDMMSG]: Change conditional to
31452         [!__ASSUME_SENDMMSG_SOCKETCALL].
31453         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31454         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31455         Define.
31457         [BZ #16610]
31458         * sysdeps/unix/sysv/linux/kernel-features.h
31459         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31460         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31461         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31462         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31463         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31464         [__i386__ || __sparc__]
31465         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31466         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31467         (__ASSUME_RECVMMSG): Define instead of using previous
31468         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31469         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31470         (__ASSUME_RECVMMSG_SYSCALL): Define.
31471         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31472         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31473         Likewise.
31474         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31475         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31476         Likewise.
31477         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31478         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31479         Likewise.
31480         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31481         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31482         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31483         [__ASSUME_RECVMMSG]: Change condition to
31484         [__ASSUME_RECVMMSG_SOCKETCALL].
31485         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31486         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31487         Define.
31488         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31489         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31490         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31491         Likewise.
31492         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31493         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31494         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31495         [!__ASSUME_RECVMMSG]: Change condition to
31496         [!__ASSUME_RECVMMSG_SOCKETCALL].
31497         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31498         (__ASSUME_RECVMMSG_SYSCALL): Define.
31500         [BZ #16609]
31501         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31502         __powerpc__ || __s390__ || __sh__ || __sparc__]
31503         (__ASSUME_SOCKETCALL): Define.
31504         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31505         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31506         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31507         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31508         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31509         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31510         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31511         (__ASSUME_ACCEPT4): Define instead of using previous
31512         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31513         __powerpc__ || __sparc__ || __s390__)] condition.
31514         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31515         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31516         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
31517         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31518         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31519         [!__ASSUME_ACCEPT4]: Change condition to
31520         [!__ASSUME_ACCEPT4_SOCKETCALL].
31521         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31522         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
31523         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
31524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31525         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
31526         __ASSUME_ACCEPT4_SYSCALL.
31527         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
31528         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
31529         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31530         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
31531         __ASSUME_ACCEPT4_SYSCALL.
31532         * sysdeps/unix/sysv/linux/internal_accept4.S [__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/m68k/kernel-features.h
31538         (__ASSUME_SOCKETCALL): Define.
31539         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
31540         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31541         (__ASSUME_SOCKETCALL): Define.
31542         (__ASSUME_ACCEPT4): Remove.
31543         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
31544         Define.
31545         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31546         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
31547         Likewise.
31548         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31549         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31551         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
31552         macro.
31553         (HWCAP_ARM_LPAE): Likewise.
31554         (HWCAP_ARM_EVTSTRM): Likewise.
31555         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
31556         Add vpfd32, lpae and evtstrm.
31557         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
31558         Increase to 22.
31560 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
31562         * math/auto-libm-test-in: Add tests of clog10.
31563         * math/auto-libm-test-out: Regenerated.
31564         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
31565         * sysdeps/i386/fpu/libm-test-ulps: Update.
31566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31568 2014-02-18  Andreas Schwab  <schwab@suse.de>
31570         [BZ #16574]
31571         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
31572         Store non-zero if the second buffer was newly allocated.
31573         (send_dg): Likewise.
31574         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
31575         to send_vc and send_dg.
31576         (res_nsend): Pass NULL for ansp2_malloced.
31577         * resolv/res_query.c (__libc_res_nquery): Add parameter
31578         answerp2_malloced and pass it down to __libc_res_nsend.
31579         (res_nquery): Pass additional NULL to __libc_res_nquery.
31580         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
31581         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
31582         second answer buffer if answerp2_malloced was set.
31583         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
31584         (__libc_res_nquerydomain): Add parameter
31585         answerp2_malloced and pass it down to __libc_res_nquery.
31586         (res_nquerydomain): Pass additional NULL to
31587         __libc_res_nquerydomain.
31588         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31589         additional NULL to __libc_res_nsend and __libc_res_nquery.
31590         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31591         additional NULL to __libc_res_nsearch.
31592         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
31593         parameter of __libc_res_nsearch to check for separately allocated
31594         second buffer.
31595         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31596         __libc_res_nquery.
31597         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31598         additional NULL to __libc_res_nquery.
31599         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31600         __libc_res_nsearch.
31601         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31602         * include/resolv.h: Update prototypes of __libc_res_nquery,
31603         __libc_res_nsearch, __libc_res_nsend.
31605 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
31607         * math/auto-libm-test-in: Add tests of fma.
31608         * math/auto-libm-test-out: Regenerated.
31609         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31610         (fma_towardzero_test_data): Likewise.
31611         (fma_downward_test_data): Likewise.
31612         (fma_upward_test_data): Likewise.
31613         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31614         mpc_mode.
31615         (rounding_modes): Add values for new field.
31616         (func_calc_method): Add value mpfr_fff_f.
31617         (func_calc_desc): Add mpfr_fff_f union field.
31618         (test_function): Add field exact_args.
31619         (FUNC): Add macro argument EXACT_ARGS.
31620         (FUNC_mpfr_f_f): Update call to FUNC.
31621         (FUNC_mpfr_f_f): Likewise.
31622         (FUNC_mpfr_ff_f): Likewise.
31623         (FUNC_mpfr_if_f): Likewise.
31624         (FUNC_mpc_c_f): Likewise.
31625         (FUNC_mpc_c_c): Likewise.
31626         (test_functions): Add fma.  Update calls to FUNC.
31627         (handle_input_arg): Add argument exact_args.
31628         (add_test): Update call to handle_input_arg.
31629         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
31630         (output_for_one_input_case): Update call to calc_generic_results.
31631         Recalculate exact zero results in each rounding mode.
31633         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31634         non-negative before setting low bit.
31635         * math/auto-libm-test-in: Mark one asin test possibly having
31636         spurious underflow.
31637         * math/auto-libm-test-out: Regenerated.
31638         * sysdeps/i386/fpu/libm-test-ulps: Update.
31639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31641 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
31643         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
31644         * sysdeps/unix/sysv/linux/microblaze: Move directory from
31645         ports/sysdeps/unix/sysv/linux/microblaze.
31646         * README: Add missing listing for microblaze*-*-linux-gnu.
31648 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
31650         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
31651         duplicate code
31653 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
31655         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
31656         * sysdeps/unix/sysv/linux/ia64: Move directory from
31657         ports/sysdeps/unix/sysv/linux/ia64.
31658         * README: Update listing for ia64-*-linux-gnu.
31660 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
31661             Joseph Myers  <joseph@codesourcery.com>
31663         * Makeconfig (test-name): New variable.
31664         (evaluate-test): Likewise.
31665         * Makerules (do-test-clean): Remove .test-result files.
31666         (common-mostlyclean): Likewise.
31667         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
31668         * scripts/evaluate-test.sh: New file.
31670 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
31672         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
31673         separate $(objpfx)tst-fopenloc-cmp.out and
31674         $(objpfx)tst-fopenloc-mem.out targets.
31675         (tests): Update dependencies.
31676         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
31677         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
31678         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
31679         (tst-rxspencer-no-utf8-ARGS): New variable.
31680         (tst-rxspencer-no-utf8-ENV): Likewise.
31681         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
31682         instead of $(objpfx)tst-rxspencer-mem.
31683         ($(objpfx)tst-rxspencer-mem): Change target to
31684         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
31685         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
31686         * posix/tst-rxspencer-no-utf8.c: New file.
31688         * elf/Makefile ($(objpfx)order.out): Remove rule.
31689         [$(run-built-tests) = yes] (tests): Depend on
31690         $(objpfx)order-cmp.out.
31691         ($(objpfx)order-cmp.out): New rule.
31692         [$(run-built-tests) = yes] (tests): Depend on
31693         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
31694         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
31695         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
31696         $(objpfx)tst-array5-static-cmp.out.
31697         ($(objpfx)tst-array1.out): Remove rule.
31698         ($(objpfx)tst-array1-cmp.out): New rule.
31699         ($(objpfx)tst-array1-static.out): Remove rule.
31700         ($(objpfx)tst-array1-static-cmp.out): New rule.
31701         ($(objpfx)tst-array2.out): Remove rule.
31702         ($(objpfx)tst-array2-cmp.out): New rule.
31703         ($(objpfx)tst-array3.out): Remove rule.
31704         ($(objpfx)tst-array3-cmp.out): New rule.
31705         ($(objpfx)tst-array4.out): Remove rule.
31706         ($(objpfx)tst-array4-cmp.out): New rule.
31707         ($(objpfx)tst-array5.out): Remove rule.
31708         ($(objpfx)tst-array5-cmp.out): New rule.
31709         ($(objpfx)tst-array5-static.out): Remove rule.
31710         ($(objpfx)tst-array5-static-cmp.out): New rule.
31711         [$(run-built-tests) = yes] (tests): Depend on
31712         $(objpfx)order2-cmp.out.
31713         ($(objpfx)order2.out): Remove rule.
31714         ($(objpfx)order2-cmp.out): New rule.
31715         ($(objpfx)tst-initorder.out): Remove rule.
31716         [$(run-built-tests) = yes] (tests): Depend on
31717         $(objpfx)tst-initorder-cmp.out.
31718         ($(objpfx)tst-initorder-cmp.out): New rule.
31719         ($(objpfx)tst-initorder2.out): Remove rule.
31720         [$(run-built-tests) = yes] (tests): Depend on
31721         $(objpfx)tst-initorder2-cmp.out.
31722         ($(objpfx)tst-initorder2-cmp.out): New rule.
31723         [$(run-built-tests) = yes] (tests): Depend on
31724         $(objpfx)tst-unused-dep-cmp.out.
31725         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31726         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31727         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31728         on $(objpfx)tst-setvbuf1-cmp.out.
31729         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31730         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31731         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31732         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31733         ($(objpfx)tst-svc.out): Remove rule.
31734         ($(objpfx)tst-svc-cmp.out): New rule.
31736 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31738         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31739         * ctype/ctype.h [__USE_MISC]: Likewise.
31740         * dirent/dirent.h [__USE_MISC]: Likewise.
31741         * grp/grp.h [__USE_MISC]: Likewise.
31742         * io/fcntl.h [__USE_MISC]: Likewise.
31743         * io/sys/stat.h [__USE_MISC]: Likewise.
31744         * libio/stdio.h [__USE_MISC]: Likewise.
31745         * posix/unistd.h [__USE_MISC]: Likewise.
31746         * pwd/pwd.h [__USE_MISC]: Likewise.
31747         * stdlib.h [__USE_MISC]: Likewise.
31748         * string/bits/string2.h [__USE_MISC]: Likewise.
31749         * string/string.h [__USE_MISC]: Likewise.
31750         * time/time.h [__USE_MISC]: Likewise.
31752 2014-02-13  Andreas Schwab  <schwab@suse.de>
31754         [BZ #16574]
31755         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31756         second answer buffer if it was separately allocated.
31758 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31760         * sysdeps/mips/math-tests.h: Include <features.h>.
31761         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31762         (ROUNDING_TESTS_long_double): Do not define.
31763         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31764         (EXCEPTION_TESTS_long_double): Likewise.
31765         * sysdeps/mips/mips64/libm-test-ulps: Update.
31767         * include/features.h (__USE_BSD): Remove macro definitions.
31768         (__USE_SVID): Likewise.
31769         (_BSD_SOURCE): Likewise.
31770         (_SVID_SOURCE): Likewise.
31771         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31772         from definition of _DEFAULT_SOURCE.
31773         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31774         [_DEFAULT_SOURCE].
31775         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31776         * bits/mman.h [__USE_BSD]: Likewise.
31777         * bits/termios.h [__USE_BSD]: Likewise.
31778         * bits/waitstatus.h [__USE_BSD]: Likewise.
31779         * ctype/ctype.h [__USE_SVID]: Likewise.
31780         * dirent/dirent.h [__USE_BSD]: Likewise.
31781         * grp/grp.h [__USE_SVID]: Likewise.
31782         [__USE_BSD]: Likewise.
31783         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31784         * io/fcntl.h [__USE_BSD]: Likewise.
31785         * io/ftw.h [__USE_BSD]: Likewise.
31786         * io/sys/stat.h [__USE_BSD]: Likewise.
31787         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31788         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31789         * libio/stdio.h [__USE_SVID]: Likewise.
31790         [__USE_BSD]: Likewise.
31791         * math/math.h [__USE_SVID]: Likewise.
31792         [__USE_BSD]: Likewise.
31793         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31794         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31795         * misc/search.h [__USE_SVID]: Likewise.
31796         * misc/sys/mman.h [__USE_BSD]: Likewise.
31797         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31798         * misc/sys/uio.h [__USE_BSD]: Likewise.
31799         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31800         * posix/glob.h [__USE_BSD]: Likewise.
31801         * posix/regex.h [__USE_BSD]: Likewise.
31802         * posix/sys/types.h [__USE_BSD]: Likewise.
31803         [__USE_SVID]: Likewise.
31804         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31805         * posix/sys/wait.h [__USE_BSD]: Likewise.
31806         [__USE_SVID]: Likewise.
31807         * posix/unistd.h [__USE_BSD]: Likewise.
31808         [__USE_SVID]: Likewise.
31809         * pwd/pwd.h [__USE_SVID]: Likewise.
31810         * resolv/netdb.h [__USE_BSD]: Likewise.
31811         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31812         * signal/signal.h [__USE_BSD]: Likewise.
31813         [__USE_SVID]: Likewise.
31814         * socket/sys/socket.h [__USE_BSD]: Likewise.
31815         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31816         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31817         [__USE_SVID]: Likewise.
31818         * string/bits/string2.h [__USE_BSD]: Likewise.
31819         [__USE_SVID]: Likewise.
31820         * string/bits/string3.h [__USE_BSD]: Likewise.
31821         * string/endian.h [__USE_BSD]: Likewise.
31822         * string/string.h [__USE_SVID]: Likewise.
31823         [__USE_BSD]: Likewise.
31824         * string/strings.h [__USE_BSD]: Likewise.
31825         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31826         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31827         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31828         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31829         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31830         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31831         Likewise.
31832         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31833         Likewise.
31834         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31835         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31836         Likewise.
31837         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31838         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31839         Likewise.
31840         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31841         Likewise.
31842         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31843         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31844         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31845         Likewise.
31846         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31847         Likewise.
31848         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31849         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31850         * termios/termios.h [__USE_BSD]: Likewise.
31851         * time/sys/time.h [__USE_BSD]: Likewise.
31852         * time/time.h [__USE_BSD]: Likewise.
31853         [__USE_SVID]: Likewise.
31855         * Makefile (subdir_targets): Remove subdir_lint.out.
31857         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31858         (do-tst-printf): Likewise.
31859         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31860         $(objpfx)tst-printf.out.
31862         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31864         * Makerules (check-abi-%): Change target to
31865         $(objpfx)check-abi-%.out.
31866         (check-abi target): Update dependencies.
31867         (check-abi-pattern variable): Redirect output of diff to $@.
31868         (check-abi variable): Likewise.
31869         * elf/Makefile (check-abi): Update dependencies.
31871         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31872         unused.
31873         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31874         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31875         subnormal range.
31876         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31877         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31878         value has largest subnormal exponent.
31879         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31880         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31881         * sysdeps/aarch64/soft-fp/sfp-machine.h
31882         (_FP_TININESS_AFTER_ROUNDING): New macro.
31883         * sysdeps/alpha/soft-fp/sfp-machine.h
31884         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31885         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31886         Likewise.
31887         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31888         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31889         * sysdeps/mips/soft-fp/sfp-machine.h
31890         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31891         * sysdeps/powerpc/soft-fp/sfp-machine.h
31892         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31893         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31894         Likewise.
31895         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31896         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31897         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31898         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31899         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31900         Likewise.
31902 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31904         [BZ #16545]
31905         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31906         model 1.
31908 2014-02-12  Richard Henderson  <rth@redhat.com>
31910         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31911         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31912         * sysdeps/unix/sysv/linux/alpha: Move directory from
31913         ports/sysdeps/unix/sysv/linux/alpha.
31914         * README: Update listing for alpha-*-linux-gnu.
31916 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31918         * include/features.h: Update comment documenting feature test
31919         macros.
31920         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31921         _DEFAULT_SOURCE.
31922         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31923         (_SVID_SOURCE): Likewise.
31924         (_DEFAULT_SOURCE): Update description of default features.
31925         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31926         with _GNU_SOURCE.
31927         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31928         (S_ISVTX): Likewise.
31929         * manual/math.texi (Mathematical Constants): Likewise.
31930         * manual/signal.texi (Interrupted Primitives): Likewise.
31931         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31932         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31933         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31934         Don't refer to _SVID_SOURCE in warning text.
31936         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31938         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31939         already defined.
31940         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31941         * sysdeps/mips/dl-lookup.c: Remove.
31942         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31944 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31946         [BZ #16447]
31947         * math/auto-libm-test-in: Add testcase for expl.
31948         * math/auto-libm-test-out: Regenerate.
31949         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31950         calculation of unsafe.
31951         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31953 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31955         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31956         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31957         ports/sysdeps/unix/sysv/linux/aarch64.
31958         * README: Update listing for aarch64*-*-linux-gnu.
31960 2014-02-11  Will Newton  <will.newton@linaro.org>
31962         * manual/probes.texi (Mathematical Function Probes): Use
31963         "triggered" instead of "hit".
31965         * manual/probes.texi (Internal Probes): Add documentation
31966         of setjmp, longjmp and longjmp_target probes.
31968         * include/stap-probe.h: Add comment about probe argument
31969         format.
31971         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31972         definition.  (tr_where, tr_freehook, tr_mallochook,
31973         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31975 2014-02-11  David S. Miller  <davem@davemloft.net>
31977         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31978         processing int_tests.
31980 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31982         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31983         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31984         * sysdeps/unix/sysv/linux/mips: Move directory from
31985         ports/sysdeps/unix/sysv/linux/mips.
31986         * README: Update listing for mips-*-linux-gnu and
31987         mips64-*-linux-gnu.
31989 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31991         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31992         * sysdeps/unix/sysv/linux/m68k: Move directory from
31993         ports/sysdeps/unix/sysv/linux/m68k.
31994         * README: Update listing for m68k-*-linux-gnu.
31996 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31998         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31999         * sysdeps/unix/sysv/linux/generic: Move directory from
32000         ports/sysdeps/unix/sysv/linux/generic.
32001         * sysdeps/unix/sysv/linux/tile: Move directory from
32002         ports/sysdeps/unix/sysv/linux/tile.
32003         * README: Update listing for tile*-*-linux-gnu.
32005 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32007         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32008         __builtin_expect.
32009         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32010         * catgets/open_catalog.c (__open_catalog): Likewise.
32011         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32012         * debug/confstr_chk.c: Likewise.
32013         * debug/fread_chk.c (__fread_chk): Likewise.
32014         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32015         * debug/getgroups_chk.c: Likewise.
32016         * debug/mbsnrtowcs_chk.c: Likewise.
32017         * debug/mbsrtowcs_chk.c: Likewise.
32018         * debug/mbstowcs_chk.c: Likewise.
32019         * debug/memcpy_chk.c: Likewise.
32020         * debug/memmove_chk.c: Likewise.
32021         * debug/mempcpy_chk.c: Likewise.
32022         * debug/memset_chk.c: Likewise.
32023         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32024         * debug/strcat_chk.c (__strcat_chk): Likewise.
32025         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32026         * debug/strncat_chk.c (__strncat_chk): Likewise.
32027         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32028         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32029         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32030         * debug/wcpncpy_chk.c: Likewise.
32031         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32032         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32033         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32034         * debug/wcsncpy_chk.c: Likewise.
32035         * debug/wcsnrtombs_chk.c: Likewise.
32036         * debug/wcsrtombs_chk.c: Likewise.
32037         * debug/wcstombs_chk.c: Likewise.
32038         * debug/wmemcpy_chk.c: Likewise.
32039         * debug/wmemmove_chk.c: Likewise.
32040         * debug/wmempcpy_chk.c: Likewise.
32041         * debug/wmemset_chk.c: Likewise.
32042         * dirent/scandirat.c (SCANDIRAT): Likewise.
32043         * dlfcn/dladdr1.c (dladdr1): Likewise.
32044         * dlfcn/dladdr.c (dladdr): Likewise.
32045         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32046         * dlfcn/dlerror.c (__dlerror): Likewise.
32047         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32048         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32049         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32050         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32051         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32052         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32053         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32054         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32055         Likewise.
32056         * elf/dl-conflict.c: Likewise.
32057         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32058         * elf/dl-dst.h: Likewise.
32059         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32060         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32061         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32062         * elf/dl-init.c (call_init, _dl_init): Likewise.
32063         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32064         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32065         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32066         Likewise.
32067         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32068         Likewise.
32069         * elf/dl-minimal.c (__libc_memalign): Likewise.
32070         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32071         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32072         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32073         * elf/dl-sym.c (do_sym): Likewise.
32074         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32075         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32076         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32077         * elf/dl-writev.h (_dl_writev): Likewise.
32078         * elf/ldconfig.c (search_dir): Likewise.
32079         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32080         (dl_main): Likewise.
32081         * elf/setup-vdso.h (setup_vdso): Likewise.
32082         * grp/compat-initgroups.c (compat_call): Likewise.
32083         * grp/fgetgrent.c (fgetgrent): Likewise.
32084         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32085         * grp/putgrent.c (putgrent): Likewise.
32086         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32087         Likewise.
32088         * hurd/hurdinit.c: Likewise.
32089         * iconvdata/8bit-gap.c (struct): Likewise.
32090         * iconvdata/ansi_x3.110.c : Likewise.
32091         * iconvdata/big5.c : Likewise.
32092         * iconvdata/big5hkscs.c : Likewise.
32093         * iconvdata/cp1255.c: Likewise.
32094         * iconvdata/cp1258.c : Likewise.
32095         * iconvdata/cp932.c : Likewise.
32096         * iconvdata/euc-cn.c: Likewise.
32097         * iconvdata/euc-jisx0213.c : Likewise.
32098         * iconvdata/euc-jp.c: Likewise.
32099         * iconvdata/euc-jp-ms.c : Likewise.
32100         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32101         * iconvdata/gb18030.c : Likewise.
32102         * iconvdata/gbbig5.c (const): Likewise.
32103         * iconvdata/gbgbk.c: Likewise.
32104         * iconvdata/gbk.c : Likewise.
32105         * iconvdata/ibm1364.c : Likewise.
32106         * iconvdata/ibm930.c : Likewise.
32107         * iconvdata/ibm932.c: Likewise.
32108         * iconvdata/ibm933.c : Likewise.
32109         * iconvdata/ibm935.c : Likewise.
32110         * iconvdata/ibm937.c : Likewise.
32111         * iconvdata/ibm939.c : Likewise.
32112         * iconvdata/ibm943.c: Likewise.
32113         * iconvdata/iso_11548-1.c: Likewise.
32114         * iconvdata/iso-2022-cn.c : Likewise.
32115         * iconvdata/iso-2022-cn-ext.c : Likewise.
32116         * iconvdata/iso-2022-jp-3.c: Likewise.
32117         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32118         * iconvdata/iso-2022-kr.c : Likewise.
32119         * iconvdata/iso646.c (gconv_end): Likewise.
32120         * iconvdata/iso_6937-2.c : Likewise.
32121         * iconvdata/iso_6937.c : Likewise.
32122         * iconvdata/iso8859-1.c: Likewise.
32123         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32124         * iconvdata/shift_jisx0213.c : Likewise.
32125         * iconvdata/sjis.c : Likewise.
32126         * iconvdata/t.61.c : Likewise.
32127         * iconvdata/tcvn5712-1.c : Likewise.
32128         * iconvdata/tscii.c: Likewise.
32129         * iconvdata/uhc.c : Likewise.
32130         * iconvdata/unicode.c (gconv_end): Likewise.
32131         * iconvdata/utf-16.c (gconv_end): Likewise.
32132         * iconvdata/utf-32.c (gconv_end): Likewise.
32133         * iconvdata/utf-7.c (base64): Likewise.
32134         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32135         * iconv/gconv_close.c (__gconv_close): Likewise.
32136         * iconv/gconv_open.c (__gconv_open): Likewise.
32137         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32138         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32139         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32140         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32141         (ucs4le_internal_loop_single): Likewise.
32142         * iconv/iconv.c (iconv): Likewise.
32143         * iconv/iconv_close.c: Likewise.
32144         * iconv/loop.c (SINGLE): Likewise.
32145         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32146         * include/atomic.h: Likewise.
32147         * inet/inet6_option.c (option_alloc): Likewise.
32148         * intl/bindtextdom.c (set_binding_values): Likewise.
32149         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32150         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32151         * intl/localealias.c (read_alias_file): Likewise.
32152         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32153         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32154         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32155         * libio/fmemopen.c (fmemopen): Likewise.
32156         * libio/iofgets.c (_IO_fgets): Likewise.
32157         * libio/iofgets_u.c (fgets_unlocked): Likewise.
32158         * libio/iofgetws.c (fgetws): Likewise.
32159         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32160         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32161         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32162         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32163         * locale/findlocale.c (_nl_find_locale): Likewise.
32164         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32165         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32166         Likewise.
32167         * locale/setlocale.c (setlocale): Likewise.
32168         * login/programs/pt_chown.c (main): Likewise.
32169         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32170         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32171         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32172         (mmap, mmap64, mremap, munmap): Likewise.
32173         * math/e_exp2l.c: Likewise.
32174         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32175         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32176         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32177         * math/s_catan.c (__catan): Likewise.
32178         * math/s_catanf.c (__catanf): Likewise.
32179         * math/s_catanh.c (__catanh): Likewise.
32180         * math/s_catanhf.c (__catanhf): Likewise.
32181         * math/s_catanhl.c (__catanhl): Likewise.
32182         * math/s_catanl.c (__catanl): Likewise.
32183         * math/s_ccosh.c (__ccosh): Likewise.
32184         * math/s_ccoshf.c (__ccoshf): Likewise.
32185         * math/s_ccoshl.c (__ccoshl): Likewise.
32186         * math/s_cexp.c (__cexp): Likewise.
32187         * math/s_cexpf.c (__cexpf): Likewise.
32188         * math/s_cexpl.c (__cexpl): Likewise.
32189         * math/s_clog10.c (__clog10): Likewise.
32190         * math/s_clog10f.c (__clog10f): Likewise.
32191         * math/s_clog10l.c (__clog10l): Likewise.
32192         * math/s_clog.c (__clog): Likewise.
32193         * math/s_clogf.c (__clogf): Likewise.
32194         * math/s_clogl.c (__clogl): Likewise.
32195         * math/s_csin.c (__csin): Likewise.
32196         * math/s_csinf.c (__csinf): Likewise.
32197         * math/s_csinh.c (__csinh): Likewise.
32198         * math/s_csinhf.c (__csinhf): Likewise.
32199         * math/s_csinhl.c (__csinhl): Likewise.
32200         * math/s_csinl.c (__csinl): Likewise.
32201         * math/s_csqrt.c (__csqrt): Likewise.
32202         * math/s_csqrtf.c (__csqrtf): Likewise.
32203         * math/s_csqrtl.c (__csqrtl): Likewise.
32204         * math/s_ctan.c (__ctan): Likewise.
32205         * math/s_ctanf.c (__ctanf): Likewise.
32206         * math/s_ctanh.c (__ctanh): Likewise.
32207         * math/s_ctanhf.c (__ctanhf): Likewise.
32208         * math/s_ctanhl.c (__ctanhl): Likewise.
32209         * math/s_ctanl.c (__ctanl): Likewise.
32210         * math/w_pow.c: Likewise.
32211         * math/w_powf.c: Likewise.
32212         * math/w_powl.c: Likewise.
32213         * math/w_scalb.c (sysv_scalb): Likewise.
32214         * math/w_scalbf.c (sysv_scalbf): Likewise.
32215         * math/w_scalbl.c (sysv_scalbl): Likewise.
32216         * misc/error.c (error_tail): Likewise.
32217         * misc/pselect.c (__pselect): Likewise.
32218         * nis/nis_callback.c (__nis_create_callback): Likewise.
32219         * nis/nis_call.c (__nisfind_server): Likewise.
32220         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32221         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32222         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32223         * nis/nis_getservlist.c (nis_getservlist): Likewise.
32224         * nis/nis_lookup.c (nis_lookup): Likewise.
32225         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32226         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32227         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32228         * nis/nis_xdr.c (xdr_endpoint): Likewise.
32229         * nis/nss_compat/compat-grp.c (getgrent_next_file)
32230         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32231         * nis/nss_compat/compat-initgroups.c (add_group)
32232         (internal_getgrent_r): Likewise.
32233         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32234         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32235         * nis/nss_compat/compat-spwd.c (getspent_next_file)
32236         (internal_getspnam_r): Likewise.
32237         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32238         (_nss_nis_getaliasbyname_r): Likewise.
32239         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32240         (_nss_nis_getntohost_r): Likewise.
32241         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32242         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32243         (_nss_nis_getgrgid_r): Likewise.
32244         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32245         (internal_nis_gethostent_r, internal_gethostbyname2_r)
32246         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32247         (_nss_nis_gethostbyname4_r): Likewise.
32248         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32249         (initgroups_netid): Likewise.
32250         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32251         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32252         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32253         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32254         (_nss_nis_getprotobynumber_r): Likewise.
32255         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32256         (_nss_nis_getsecretkey): Likewise.
32257         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32258         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32259         (_nss_nis_getpwuid_r): Likewise.
32260         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32261         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32262         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32263         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32264         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32265         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32266         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32267         Likewise.
32268         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32269         (_nss_nisplus_getntohost_r): Likewise.
32270         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32271         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32272         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32273         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32274         Likewise.
32275         * nis/nss_nisplus/nisplus-initgroups.c
32276         (_nss_nisplus_initgroups_dyn): Likewise.
32277         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32278         (_nss_nisplus_getnetbyaddr_r): Likewise.
32279         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32280         (_nss_nisplus_getprotobynumber_r): Likewise.
32281         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32282         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32283         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32284         Likewise.
32285         * nis/nss_nisplus/nisplus-service.c
32286         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32287         (_nss_nisplus_getservbyport_r): Likewise.
32288         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32289         (_nss_nisplus_getspnam_r): Likewise.
32290         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32291         Likewise.
32292         * nscd/aicache.c (addhstaiX): Likewise.
32293         * nscd/cache.c (cache_search, prune_cache): Likewise.
32294         * nscd/connections.c (register_traced_file, send_ro_fd)
32295         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32296         (main_loop_epoll): Likewise.
32297         * nscd/grpcache.c (addgrbyX): Likewise.
32298         * nscd/hstcache.c (addhstbyX): Likewise.
32299         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32300         * nscd/mem.c (gc, mempool_alloc): Likewise.
32301         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32302         (addinnetgrX): Likewise.
32303         * nscd/nscd-client.h (__nscd_acquire_maplock)
32304         (__nscd_drop_map_ref): Likewise.
32305         * nscd/nscd_getai.c (__nscd_getai): Likewise.
32306         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32307         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32308         Likewise.
32309         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32310         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32311         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32312         (__nscd_get_map_ref): Likewise.
32313         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32314         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32315         Likewise.
32316         * nscd/pwdcache.c (addpwbyX): Likewise.
32317         * nscd/selinux.c (preserve_capabilities): Likewise.
32318         * nscd/servicescache.c (addservbyX): Likewise.
32319         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32320         * posix/fnmatch.c (fnmatch): Likewise.
32321         * posix/getopt.c (_getopt_internal_r): Likewise.
32322         * posix/glob.c (glob, glob_in_dir): Likewise.
32323         * posix/wordexp.c (exec_comm_child): Likewise.
32324         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32325         (getanswer_r, gaih_getanswer_slice): Likewise.
32326         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32327         * resolv/res_init.c: Likewise.
32328         * resolv/res_mkquery.c (res_nmkquery): Likewise.
32329         * resolv/res_query.c (__libc_res_nquery): Likewise.
32330         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32331         Likewise.
32332         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32333         * stdio-common/perror.c (perror): Likewise.
32334         * stdio-common/printf_fp.c (___printf_fp): Likewise.
32335         * stdio-common/tmpnam.c (tmpnam): Likewise.
32336         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32337         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32338         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32339         Likewise.
32340         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32341         * stdlib/putenv.c (putenv): Likewise.
32342         * stdlib/setenv.c (__add_to_environ): Likewise.
32343         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32344         * stdlib/strtol_l.c (INTERNAL): Likewise.
32345         * string/memmem.c (memmem): Likewise.
32346         * string/strerror.c (strerror): Likewise.
32347         * string/strnlen.c (__strnlen): Likewise.
32348         * string/test-memmem.c (simple_memmem): Likewise.
32349         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32350         * sunrpc/pm_getport.c (__get_socket): Likewise.
32351         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32352         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32353         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32354         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32355         Likewise.
32356         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32357         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32358         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32359         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32360         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32361         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32362         Likewise.
32363         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32364         Likewise.
32365         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32366         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32367         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32368         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32369         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32370         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32371         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32372         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32373         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32374         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32375         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32376         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32377         Likewise.
32378         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32379         Likewise.
32380         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32381         Likewise.
32382         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32383         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32384         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32385         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32386         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32387         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32388         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32389         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32390         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32391         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32392         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32393         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32394         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32395         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32396         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32397         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32398         Likewise.
32399         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32400         Likewise.
32401         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32402         Likewise.
32403         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32404         Likewise.
32405         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32406         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32407         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32408         Likewise.
32409         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32410         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32411         * sysdeps/posix/opendir.c (__opendirat): Likewise.
32412         * sysdeps/posix/sleep.c: Likewise.
32413         * sysdeps/posix/tempname.c: Likewise.
32414         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32415         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32416         Likewise.
32417         * sysdeps/powerpc/powerpc32/dl-machine.h
32418         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32419         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32420         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32421         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32422         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32423         Likewise.
32424         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32425         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32426         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32427         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32428         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32429         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32430         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32431         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32432         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32433         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32434         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32435         (elf_machine_lazy_rel): Likewise.
32436         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32437         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32438         (elf_machine_lazy_rel): Likewise.
32439         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32440         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32441         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32442         * sysdeps/unix/grantpt.c (grantpt): Likewise.
32443         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32444         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32445         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32446         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32447         Likewise.
32448         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32449         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32450         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32451         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32452         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32453         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32454         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32455         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32456         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32457         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32458         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32459         Likewise.
32460         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32461         (__posix_fallocate64_l64): Likewise.
32462         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32463         (posix_fallocate): Likewise.
32464         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32465         Likewise.
32466         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32467         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32468         (getifaddrs_internal): Likewise.
32469         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32470         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32471         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32472         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32473         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32474         (__posix_fallocate64_l64): Likewise.
32475         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32476         Likewise.
32477         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32478         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32479         (__get_clockfreq): Likewise.
32480         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32481         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32482         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32483         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32484         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32485         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32486         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32487         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32488         Likewise.
32489         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32490         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32491         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32492         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32493         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32494         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32495         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32496         Likewise.
32497         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32498         (posix_fallocate): Likewise.
32499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32500         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32501         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32502         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32503         (elf_machine_rela, elf_machine_rela_relative)
32504         (elf_machine_lazy_rel): Likewise.
32505         * time/asctime.c (asctime_internal): Likewise.
32506         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32507         * time/tzset.c (__tzset_parse_tz): Likewise.
32508         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32509         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32510         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32511         * wcsmbs/wcsmbsload.h: Likewise.
32513         [BZ #15894]
32514         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
32516         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
32517         (arena_get2): Remove THREAD_STATS conditionals.
32518         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
32519         (__malloc_stats, int): Likewise.
32521 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
32523         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
32524         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
32526         * manual/setjmp.texi: Fix typos/grammar errors.
32528         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
32529         Only return early when n is <= 0.  Delete unused return statement.
32531         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
32532         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
32533         * debug/tst-longjmp_chk3.c: New file.
32535         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
32536         (test_main): Replace code with set_fortify_handler call.
32537         * debug/test-strcpy_chk.c: Likewise.
32538         * debug/tst-chk1.c: Likewise.
32539         * debug/tst-longjmp_chk.c: Likewise.
32540         * test-skeleton.c: Include fcntl.h & paths.h
32541         (set_fortify_handler): Define.
32543         * debug/tst-longjmp_chk.c: Add header comment and include
32544         ../test-skeleton.c.
32545         (do_test): Mark static.
32546         (TEST_FUNCTION): Define.
32548         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32549         (IP_PMTUDISC_INTERFACE): Likewise.
32550         (IP_MULTICAST_IF): Likewise.
32551         (IP_MULTICAST_TTL): Likewise.
32552         (IP_MULTICAST_LOOP): Likewise.
32553         (IP_ADD_MEMBERSHIP): Likewise.
32554         (IP_DROP_MEMBERSHIP): Likewise.
32555         (IP_UNBLOCK_SOURCE): Likewise.
32556         (IP_BLOCK_SOURCE): Likewise.
32557         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
32558         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
32559         (IP_MSFILTER): Likewise.
32560         (MCAST_JOIN_GROUP): Likewise.
32561         (MCAST_BLOCK_SOURCE): Likewise.
32562         (MCAST_UNBLOCK_SOURCE): Likewise.
32563         (MCAST_LEAVE_GROUP): Likewise.
32564         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32565         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32566         (MCAST_MSFILTER): Likewise.
32567         (IP_MULTICAST_ALL): Likewise.
32568         (IP_UNICAST_IF): Likewise.
32570         * timezone/Makefile: Delete $(have-ksh) check.
32571         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
32572         * timezone/tzselect.ksh: Add +x mode bits.
32574         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
32575         (ANON_INODE_FS_MAGIC): Likewise.
32576         (BDEVFS_MAGIC): Likewise.
32577         (BINFMTFS_MAGIC): Likewise.
32578         (BTRFS_TEST_MAGIC): Likewise.
32579         (CRAMFS_MAGIC_WEND): Likewise.
32580         (DEBUGFS_MAGIC): Likewise.
32581         (ECRYPTFS_SUPER_MAGIC): Likewise.
32582         (EXT3_SUPER_MAGIC): Likewise.
32583         (EXT4_SUPER_MAGIC): Likewise.
32584         (FUTEXFS_SUPER_MAGIC): Likewise.
32585         (HOSTFS_SUPER_MAGIC): Likewise.
32586         (HUGETLBFS_MAGIC): Likewise.
32587         (MINIX3_SUPER_MAGIC): Likewise.
32588         (MTD_INODE_FS_MAGIC): Likewise.
32589         (NILFS_SUPER_MAGIC): Likewise.
32590         (OPENPROM_SUPER_MAGIC): Likewise.
32591         (PIPEFS_MAGIC): Likewise.
32592         (PSTOREFS_MAGIC): Likewise.
32593         (QNX6_SUPER_MAGIC): Likewise.
32594         (RAMFS_MAGIC): Likewise.
32595         (REISERFS_SUPER_MAGIC_STRING): Likewise.
32596         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32597         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32598         (SECURITYFS_MAGIC): Likewise.
32599         (SELINUX_MAGIC): Likewise.
32600         (SMACK_MAGIC): Likewise.
32601         (SOCKFS_MAGIC): Likewise.
32602         (SQUASHFS_MAGIC): Likewise.
32603         (STACK_END_MAGIC): Likewise.
32604         (TMPFS_MAGIC): Likewise.
32605         (USBDEVICE_SUPER_MAGIC): Likewise.
32606         (V9FS_MAGIC): Likewise.
32607         (XENFS_SUPER_MAGIC): Likewise.
32608         (CRAMFS_MAGIC): Fix typo in comment.
32609         (EXT2_SUPER_MAGIC): Update comment.
32610         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32612 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
32614         * sysdeps/arm: Move directory from ports/sysdeps/arm.
32615         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32616         * sysdeps/unix/sysv/linux/arm: Move directory from
32617         ports/sysdeps/unix/sysv/linux/arm.
32618         * README: Update listing for arm-*-linux-gnueabi.
32620         * README: Remove mention of am33.
32622 2014-02-07  Roland McGrath  <roland@hack.frob.com>
32624         * bits/sigset.h (__sigemptyset): Use a statement expression rather
32625         than the comma operator, to avoid "rhs of comma has no effect"
32626         compiler warnings.
32627         (__sigfillset, __sigandset, __sigorset): Likewise.
32628         * include/signal.h (__sigemptyset): Likewise.
32629         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32631 2014-02-07  Allan McRae  <allan@archlinux.org>
32633         * version.h (RELEASE): Set to "development".
32634         (VERSION): Set to "2.19.90"
32635         * NEWS: Add 2.20 section.
32637 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
32639         [BZ #16529]
32640         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
32642 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32644         * manual/contrib.texi: Update entry for Carlos O'Donell,
32645         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
32647 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
32649         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
32651         * sysdeps/unix/sysv/linux/kernel-features.h
32652         [__LINUX_KERNEL_VERSION >= 0x020621]
32653         (__ASSUME_PROC_PID_TASK_COMM): Define.
32655 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32657         [BZ #16398]
32658         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
32659         conversion when destination buffer does not have enough space.
32660         * libio/tst-ftell-partial-wide.c: New test case.
32661         * libio/Makefile (tests): Add tst-ftell-partial-wide.
32663         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
32664         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
32665         Leonard and Allan McRae.
32667 2014-02-04  David S. Miller  <davem@davemloft.net>
32669         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32670         32-bit.
32672 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32675         New file
32676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32677         New file
32678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32679         New file.
32680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32681         New file.
32682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32683         New file.
32684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32685         New file.
32686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32687         New file.
32688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32689         New file.
32690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32691         New file.
32692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32693         New file.
32694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32695         New file.
32696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32697         New file.
32698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32699         New file.
32701 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32703         * nptl/shlib-versions: Change powerpc*le start to 2.17.
32704         * shlib-versions: Likewise.
32706 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32707             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32709         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32710         (abilist-pattern): New variable, set to %-le.abilist.
32712         * Makerules (abilist-pattern): New variable.
32713         (vpath): Use $(abilist-pattern) in place of %.abilist.
32714         (check-abi-% pattern rule): Likewise.
32715         (check-abi, update-abi): Likewise.
32717 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32721 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32723         * manual/startup.texi: Add next, previous, and top entries for
32724         the `Program Arguments' and `Environment Variables' nodes.
32726 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32728         * manual/macros.texi: Add comments before MTASC-safety macros.
32730         * manual/users.texi: Document MTASC-safety properties.
32732         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32733         (pthread_getspecific, pthread_setspecific): Format with
32734         @deftypefun, and add @safety note.
32735         * manual/signal.texi: Move comments that analyze the above
32736         functions to their home place.
32738 2014-02-03  Allan McRae  <allan@archlinux.org>
32740         * po/sl.po: Update Slovenian translation from translation project.
32742 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32744         * manual/time.texi (timegm): Add missing blank after @c.
32745         Reported by Joseph Myers <joseph@codesourcery.com>.
32747 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32749         * manual/check-safety.sh: New.
32750         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32752         * manual/terminal.texi: Document MTASC-safety properties.
32754         * manual/filesys.texi: Document MTASC-safety properties.
32756         * manual/errno.texi: Document MTASC-safety properties.
32758         * manual/intro.texi: Document safety identifiers and
32759         conditionals.
32761         * manual/string.texi (wcstok): Fix prototype.
32762         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32764         * manual/time.texi: Document MTASC-safety properties.
32766         * manual/string.texi: Document MTASC-safety properties.
32768         * manual/threads.texi: Document MTASC-safety properties.
32770         * manual/stdio.texi: Document MTASC-safety properties.
32772         * manual/syslog.texi: Document MTASC-safety properties.
32774         * manual/sysinfo.texi: Document MTASC-safety properties.
32776         * manual/startup.texi: Document MTASC-safety properties.
32778         * manual/socket.texi: Document MTASC-safety properties.
32780         * manual/signal.texi: Document MTASC-safety properties.
32782 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32784         * manual/setjmp.texi: Document MTASC-safety properties.
32786         * manual/search.texi: Document MTASC-safety properties.
32788         * manual/resource.texi: Document MTASC-safety properties.
32790         * manual/process.texi: Document MTASC-safety properties.
32792         * manual/platform.texi: Document MTASC-safety properties.
32794         * manual/pipe.texi: Document MTASC-safety properties.
32796         * manual/pattern.texi: Document MTASC-safety properties.
32798         * manual/message.texi: Document MTASC-safety properties.
32800         [BZ #12751]
32801         * manual/memory.texi: Document MTASC-safety properties.
32803         * manual/math.texi: Document MTASC-safety properties.
32805         * manual/locale.texi: Document MTASC-safety properties.
32807         * manual/llio.texi: Document MTASC-safety properties.
32809         * manual/libdl.texi: New.
32811         * manual/lang.texi: Document MTASC-safety properties.
32813         * manual/job.texi: Document MTASC-safety properties.
32815         * manual/getopt.texi: Document MTASC-safety properties.
32817         * manual/ctype.texi: Document MTASC-safety properties.
32819 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32821         [BZ #16046]
32822         * csu/libc-tls.c (static_map): Remove variable.
32823         (__libc_setup_tls): Use main executable's link map for TLS data.
32824         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32825         casing for LM_ID_BASE and GL(dl_nns).
32826         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32827         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32828         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32829         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32830         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32831         member.
32832         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32833         l_phnum members.
32835 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32837         * manual/debug.texi: Document MTASC-safety properties.
32839 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32841         [BZ #16510]
32842         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32843         of __x86_64__ when disabling x87 inline functions.
32845 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32847         * manual/charset.texi: Document MTASC-safety properties.
32849         * manual/crypt.texi: Document MTASC-safety properties.
32851         * manual/conf.texi: Document MTASC-safety properties.
32853         * manual/arith.texi: Document MTASC-safety properties.
32855         * manual/argp.texi: Document MTASC-safety properties.
32857         * manual/macros.texi: Introduce macros to document multi
32858         thread, asynchronous signal and asynchronous cancellation
32859         safety properties.
32860         * manual/intro.texi: Introduce the properties themselves.
32862 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32864         * sysdeps/sh/sh4/Makefile: New file.
32866 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32868         * math/gen-libm-test.pl ($srcdir): New variable.
32869         ($auto_input): Use it.
32871 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32873         [BZ #16506]
32874         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32875         access beyond array bounds when parsing netgroups file.
32877         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32878         the old buffer before realloc.
32880 2014-01-27  Allan McRae  <allan@archlinux.org>
32882         * po/fr.po: Update French translation from translation project.
32884 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32886         * sysdeps/sh/libm-test-ulps: Regenerate.
32888 2014-01-24  David S. Miller  <davem@davemloft.net>
32890         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32892 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32894         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32895         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32897 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32899         [BZ #16474]
32900         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32901         string pointers after reallocation.
32903 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32905         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32906         __SH4A__ instead of __SH_FPU_ANY__.
32908 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32910         * sysdeps/sh/fpu_control.h: New file.
32911         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32912         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32913         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32914         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32915         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32916         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32917         * sysdeps/sh/sys/ucontext.h: Remove.
32918         * sysdeps/sh/sys: Remove directory.
32920 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32922         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32923         s390/sys/ucontext.h.
32924         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32925         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32927 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32929         [BZ #15605]
32930         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32932 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32934         [BZ#16431]
32935         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32936         Adjust the vDSO correctly for internal calls.
32937         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32939 2014-01-20  Allan McRae  <allan@archlinux.org>
32941         * po/ca.po: Update Catalan translation from translation project.
32943 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32945         * sysdeps/s390/sotruss-lib.c: New file.
32947 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32949         [BZ#16430]
32950         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32951         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32952         local calls issues by not having a PLT stub required for IFUNC calls.
32953         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32955 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32957         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32958         * math/test-fpucw-static.c: Likewise.
32960 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32962         [BZ #16453]
32963         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32965 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32967         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32968         implementation for powerpc.
32970 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32972         [BZ #14782]
32973         * sysdeps/posix/system.c (__libc_system): Do not enable
32974         asynchronous cancellation.
32976 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32978         [BZ #16427]
32979         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32980         handling only for numbers special also in the IEEE case.
32982 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32984         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32986 2014-01-11  Allan McRae  <allan@archlinux.org>
32988         * po/bg.po: Update Bulgarian translation from translation project.
32990         * po/de.po: Update German translation from translation project.
32992 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32994         * sysdeps/generic/gcc-compat.h: New file.
32996 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32998         * benchtests/asin-inputs: Correct slow inputs.
32999         * benchtests/acos-inputs: Likewise.
33001 2014-01-10  Allan McRae  <allan@archlinux.org>
33003         * po:sv.po: Update Swedish translation from translation project.
33005         * po/vi.po: Update Vietnamese translation from translation project.
33007         * po/eo.po: Update Esperanto translation from translation project.
33009         * po/cs.po: Update Czech translation from translation project.
33011         * po/nl.po: Update Dutch translation from translation project.
33013         * po/pl.po: Update Polish translation from translation project.
33015         * po/ru.po: Update Russian translation from translation project.
33017         * po/uk.po: Update Ukrainian translation from translation project.
33019 2014-01-08  Brooks Moses  <bmoses@google.com>
33021         * elf/dl-load.c: Fix comment typo.
33023 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33025         * po/header.pot: Rename to...
33026         * po/pot.header: ... this.
33027         * po/Makefile: Use pot.header.
33029 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33030             Maxim Kuvyrkov  <maxim@kugelworks.com>
33032         [BZ #16394]
33033         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33034         SRC and DEST against LEN.
33036 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33038         [BZ #16414]
33039         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33040         implementation.
33041         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33043 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33047 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33049         [BZ #16408]
33050         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33051         for large positive arguments.
33053 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33055         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33057         * math/auto-libm-test-in: Mark various tests with
33058         xfail-rounding:ldbl-128ibm.
33059         * math/auto-libm-test-out: Regenerated.
33061         [BZ #16407]
33062         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33063         Increase overflow threshold.
33065 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33067         [BZ #14286]
33068         * stdio-common/vfprintf.c: Check for integer overflow.
33070 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33072         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33073         the first argument and return value of __tls_get_addr_internal.
33075 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33077         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33078         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33080 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33082         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33083         * sysdeps/s390/rtld-global-offsets.sym: New file.
33084         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33085         GLIBC_2.19 symbol.
33086         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33087         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33088         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33089         ... this.
33090         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33091         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33092         ... this.
33093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33094         Regenerate.
33095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33096         Regenerate.
33097         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33098         halfs of GPRs for high_gprs contexts.
33099         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33100         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33101         field.
33102         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33103         uc_flags field.
33104         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33105         64 bit versions:
33106         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33107         for high GPRs (uc_high_gprs) and for future extensions
33108         (__reserved).
33109         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33110         for future extensions (__reserved).
33111         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33112         64 bit versions:
33113         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33114         SC_HIGHGPRS offset definition.
33115         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33116         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33118         * Versions.def: Add GLIBC_2.19 for libpthread.
33119         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33120         siglongjmp for libpthread with GLIBC_2.19 symver.
33121         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33122         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33123         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33124         * sysdeps/s390/__longjmp.c: New file.
33125         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33126         * sysdeps/s390/longjmp.c: New file.
33127         * sysdeps/s390/setjmp.S: New file.
33128         * sysdeps/s390/sigjmp.S: New file.
33129         * sysdeps/s390/v1-longjmp.c: New file.
33130         * sysdeps/s390/v1-setjmp.h: New file.
33131         * sysdeps/s390/v1-sigjmp.c: New file.
33132         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33133         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33134         GLIBC_2.19 version.
33135         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33136         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33137         versioned symbols for ____longjmp_chk.
33138         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33139         Likewise.
33140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33141         Regenerate.
33142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33143         Regenerate.
33144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33145         Regenerate.
33146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33147         Regenerate.
33148         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33149         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33150         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33151         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33152         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33153         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33154         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33155         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33156         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33157         * sysdeps/s390/rtld-__longjmp.c: New file.
33158         * sysdeps/s390/rtld-setjmp.S: New file.
33160 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33162         [BZ #16400]
33163         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33164         Return -__logl (x) for small positive arguments without evaluating
33165         a polynomial.
33167 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33169         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33170         Rename to ...
33171         (__ptrace_peeksiginfo_args): ... this.
33172         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33173         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33174         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33176 2014-01-06  Allan McRae  <allan@archlinux.org>
33178         * inet/netinet/in.h: Fix typo in comment.
33180 2014-01-05  Andreas Jaeger  <aj@suse.de>
33182         * sysdeps/i386/fpu/libm-test-ulps: Update.
33184 2014-01-05  Allan McRae  <allan@archlinux.org>
33186         * po/libc.pot: Regenerated.
33188         * malloc/memusagestat.c: Fix gettext call formatting.
33190 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33192         * nscd/nscd.c: Improve usage() output.
33194 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33196         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33197         * sysdeps/unix/sysv/linux/configure: Regenerated.
33198         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33199         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33201 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33203         [BZ #16390]
33204         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33205         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33207 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33209         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33210         extra tokens at end of #undef directive.
33211         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33212         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33213         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33215 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33217         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33219         * math/auto-libm-test-in: Mark various tests with
33220         xfail-rounding:ldbl-128ibm.
33221         * math/auto-libm-test-out: Regenerated.
33223 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
33225         [BZ #16386]
33226         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33227         numbers with subnormal high part when calculating exponent.
33229         [BZ #16385]
33230         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33231         fabs.
33233         [BZ #16384]
33234         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33235         M_LN2l.
33236         (__ieee754_acoshl): Use __log1pl not __log1p.
33238 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
33240         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33241         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33242         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33243         (grow_heap, heap_trim, _int_new_arena, get_free_list)
33244         (reused_arena, arena_get2): Convert to GNU style.
33245         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33246         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33247         (memalign_check, __malloc_set_state): Likewise.
33248         * malloc/mallocbug.c (main): Likewise.
33249         * malloc/malloc.c (__malloc_assert, malloc_init_state)
33250         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33251         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33252         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33253         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33254         (__posix_memalign, malloc_info): Likewise.
33255         * malloc/malloc.h: Likewise.
33256         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33257         (mallochook, memalignhook, reallochook, mabort): Likewise.
33258         * malloc/mcheck.h: Likewise.
33259         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33260         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33261         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33262         * malloc/morecore.c (__default_morecore): Likewise.
33263         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33264         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33265         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33266         (print_and_abort): Likewise.
33267         * malloc/obstack.h: Likewise.
33268         * malloc/set-freeres.c (__libc_freeres): Likewise.
33269         * malloc/tst-mallocstate.c (main): Likewise.
33270         * malloc/tst-mtrace.c (main): Likewise.
33271         * malloc/tst-realloc.c (do_test): Likewise.
33273 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33275         [BZ #16366]
33276         * nscd/netgroupcache.c (do_notfound): New function.
33277         (addgetnetgrentX): Use it.
33279         [BZ # 16365]
33280         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33281         NSS_STATUS_NOTFOUND.
33283 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33285         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33288 2014-01-01  Allan McRae  <allan@archlinux.org>
33290         * scripts/update-copyrights: Update configure input file suffix.
33292         * NEWS: Update copyright year.
33293         * catgets/gencat.c: Likewise.
33294         * csu/version.c: Likewise.
33295         * debug/catchsegv.sh: Likewise.
33296         * debug/pcprofiledump.c: Likewise.
33297         * debug/xtrace.sh: Likewise.
33298         * elf/ldconfig.c: Likewise.
33299         * elf/ldd.bash.in: Likewise.
33300         * elf/pldd.c: Likewise.
33301         * elf/sotruss.ksh: Likewise.
33302         * elf/sprof.c: Likewise.
33303         * iconv/iconv_prog.c: Likewise.
33304         * iconv/iconvconfig.c: Likewise.
33305         * locale/programs/locale.c: Likewise.
33306         * locale/programs/localedef.c: Likewise.
33307         * login/programs/pt_chown.c: Likewise.
33308         * malloc/memusage.sh: Likewise.
33309         * malloc/memusagestat.c: Likewise.
33310         * malloc/mtrace.pl: Likewise.
33311         * manual/libc.texinfo: Likewise.
33312         * nscd/nscd.c: Likewise.
33313         * nss/getent.c: Likewise.
33314         * nss/makedb.c: Likewise.
33315         * posix/getconf.c: Likewise.
33316         * scripts/test-installation.pl: Likewise.
33318         * All files with FSF copyright notices: Update copyright dates
33319         using scripts/update-copyrights.
33320         * intl/plural.c: Regenerated.
33321         * locale/programs/charmap-kw.h: Likewise.
33322         * locale/programs/locfile-kw.h: Likewise.
33324 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
33326         * sysdeps/unix/sysv/linux/configure: Regenerated.
33327         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33328         the linux/fanotify.h header.
33329         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33330         HAVE_LINUX_FANOTIFY_H is defined.
33332 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33334         * benchtests/cos-inputs: New inputs.
33335         * benchtests/sin-inputs: Likewise.
33337         * benchtests/atan-inputs: New inputs. Fix name of multiple
33338         precision fallback inputs.
33340         * benchtests/atanh-inputs: New inputs.
33341         * benchtests/tanh-inputs: Likewise.
33343         * benchtests/acosh-inputs: New inputs.
33344         * benchtests/asinh-inputs: Likewise.
33346         * benchtests/cosh-inputs: New inputs.
33347         * benchtests/sinh-inputs: Likewise.
33349         * benchtests/acos-inputs: Add more inputs.
33350         * benchtests/asin-inputs: Likewise.
33352 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
33354         [BZ #16375]
33355         * manual/arith.texi: Fix spelling.
33356         * manual/charset.texi: Likewise.
33357         * manual/errno.texi: Likewise.
33358         * manual/filesys.texi: Likewise.
33359         * manual/lang.texi: Likewise.
33360         * manual/llio.texi: Likewise.
33361         * manual/locale.texi: Likewise.
33362         * manual/message.texi: Likewise.
33363         * manual/resource.texi: Likewise.
33364         * manual/search.texi: Likewise.
33365         * manual/setjmp.texi: Likewise.
33366         * manual/stdio.texi: Likewise.
33367         * manual/string.texi: Likewise.
33368         * manual/sysinfo.texi: Likewise.
33369         * manual/time.texi: Likewise.
33371 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
33373         * po/sl.po: New file.
33375 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
33377         * .gitignore: Add core/.gdbinit/.gdb_history.
33379 2013-12-27  Allan McRae  <allan@archlinux.org>
33381         [BZ #16369]
33382         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33383         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33385 2013-12-24  Brooks Moses  <bmoses@google.com>
33387         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33388         all compilers that claim C++98 compliance, not just GCC.
33389         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33390         Likewise.
33392 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33394         * NEWS: Restore accidentally deleted bug-fix entries.
33396 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33397             Ondřej Bílka  <neleai@seznam.cz>
33399         [BZ #15073]
33400         * malloc/malloc.c (_int_free): Perform sanity check only if we
33401         have_lock.
33403 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
33405         [BZ #12986]
33406         * manual/stdio.texi (String Input Conversions): Clarify that character
33407         classes are not supported.
33409 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33413 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
33415         [BZ #16337]
33416         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33417         Calculate results for small negative arguments directly rather
33418         than using reflection formula with special underflow handling.
33420         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33421         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33422         sysdeps/unix/bsd/bsd4.4/syscalls.list.
33423         (fchflags): Likewise.
33424         (revoke): Likewise.
33425         (setlogin): Likewise.
33426         (sigaltstack): Likewise.
33427         (wait4): Likewise.
33428         (sigblock): Remove.
33429         (sigsetmask): Likewise.
33430         (wait3): Likewise.
33431         (waitpid): Likewise.
33432         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33433         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33434         file.
33435         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33436         * sysdeps/unix/bsd/Makefile: ... here.
33437         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33438         * sysdeps/unix/bsd/Versions: ... here.
33439         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33440         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33441         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33442         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33443         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33444         * sysdeps/unix/bsd/sigblock.c: ... here.
33445         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33446         * sysdeps/unix/bsd/sigsetmask.c: ... here.
33447         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33448         * sysdeps/unix/bsd/sigvec.c: ... here.
33449         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33450         * sysdeps/unix/bsd/tcdrain.c: ... here.
33451         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33452         * sysdeps/unix/bsd/tcgetattr.c: ... here.
33453         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33454         * sysdeps/unix/bsd/tcsetattr.c: ... here.
33455         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33456         * sysdeps/unix/bsd/wait.c: ... here.
33457         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33458         * sysdeps/unix/bsd/wait3.c: ... here.
33459         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33460         * sysdeps/unix/bsd/waitpid.c: ... here.
33462 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
33464         [BZ #16356]
33465         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33466         round-to-nearest for [!USE_AS_EXPM1L].
33467         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33468         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
33469         more tests of exp and exp10.  Expect some exp10 tests to miss
33470         exceptions or fail in directed rounding modes.
33471         * math/auto-libm-test-out: Regenerated.
33472         * math/libm-test.inc (exp10_tonearest_test_data): New array.
33473         (exp10_test_tonearest): New function.
33474         (exp10_towardzero_test_data): New array.
33475         (exp10_test_towardzero): New function.
33476         (exp10_downward_test_data): New array.
33477         (exp10_test_downward): New function.
33478         (exp10_upward_test_data): New array.
33479         (exp10_test_upward): New function.
33480         (main): Call the new functions.
33481         * sysdeps/i386/fpu/libm-test-ulps: Update.
33482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33484 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
33486         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33487         asinh, atan, atan2, atanh, cbrt, cos and cosh.
33488         * math/auto-libm-test-out: Regenerated.
33489         * math/libm-test.inc (acosh_test_data): Add more tests.
33490         (atanh_test_data): Likewise.
33491         (ceil_test_data): Likewise.
33492         (copysign_test_data): Likewise.
33493         * sysdeps/i386/fpu/libm-test-ulps: Update.
33494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33496         * timezone/checktab.awk: Update from tzcode 2013i.
33497         * timezone/private.h: Likewise.
33498         * timezone/scheck.c: Likewise.
33499         * timezone/tzfile.h: Likewise.
33500         * timezone/tzselect.ksh: Likewise.
33501         * timezone/zdump.c: Likewise.
33502         * timezone/zic.c: Likewise.
33504         * math/auto-libm-test-in: Add tests of cpow.
33505         * math/auto-libm-test-out: Regenerated.
33506         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33507         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33508         mpc_cc_c.
33509         (func_calc_desc): Add mpc_cc_c union field.
33510         (test_functions): Add cpow.
33511         (special_fill_2pi): New function.
33512         (special_real_inputs): Add 2pi.
33513         (calc_generic_results): Handle mpc_cc_c.
33514         * sysdeps/i386/fpu/libm-test-ulps: Update.
33515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33517         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
33518         csqrt, ctan and ctanh.
33519         * math/auto-libm-test-out: Regenerated.
33520         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33521         (TEST_COND_x86): Likewise.
33522         (ccos_test_data): Use AUTO_TESTS_c_c.
33523         (ccosh_test_data): Likewise.
33524         (cexp_test_data): Likewise.
33525         (clog_test_data): Likewise.
33526         (csqrt_test_data): Likewise.
33527         (ctan_test_data): Likewise.
33528         (ctan_tonearest_test_data): Likewise.
33529         (ctan_towardzero_test_data): Likewise.
33530         (ctan_downward_test_data): Likewise.
33531         (ctan_upward_test_data): Likewise.
33532         (ctanh_test_data): Likewise.
33533         (ctanh_tonearest_test_data): Likewise.
33534         (ctanh_towardzero_test_data): Likewise.
33535         (ctanh_downward_test_data): Likewise.
33536         (ctanh_upward_test_data): Likewise.
33537         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33538         mpc_c_c.
33539         (func_calc_desc): Add mpc_c_c union field.
33540         (FUNC_mpc_c_c): New macro.
33541         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
33542         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
33543         ctanh.
33544         (special_fill_min_subnorm_p120): New function.
33545         (special_real_inputs): Add min_subnorm_p120.
33546         (calc_generic_results): Handle mpc_c_c.
33547         * sysdeps/i386/fpu/libm-test-ulps: Update.
33548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33550 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33552         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
33553         (do_sin_slow): New functions.
33554         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
33555         (cslow2, csloww1, csloww2): Use the new functions.
33557         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
33558         Use M to change sign of result instead of X.  Assume X is
33559         positive.
33560         (csloww1): Likewise.
33561         (__sin): Adjust.
33562         (__cos): Adjust.
33564         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
33565         arguments A and DA.
33566         (__sin): Adjust.
33567         (__cos): Likewise.
33569         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
33570         (__cos): Likewise.
33571         (sloww1): Don't adjust sign of DX.
33572         (csloww1): Likewise.
33573         (sloww2): Use X directly and don't adjust sign of DX.
33574         (csloww2): Likewise.
33576 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33578         * math/auto-libm-test-in: Add tests of cabs and carg.
33579         * math/auto-libm-test-out: Regenerated.
33580         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
33581         (carg_test_data): Likewise.
33582         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33583         mpc_c_f.
33584         (func_calc_desc): Add mpc_c_f union field.
33585         (test_functions): Add cabs and carg.
33586         (calc_generic_results): Handle mpc_c_f.
33588         * sysdeps/powerpc/powerpc32/libgcc-compat.S
33589         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33590         as a macro and a compat symbol.
33591         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33592         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33593         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33594         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33595         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33596         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33597         not use .hidden.
33598         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33599         Likewise.
33600         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33601         Likewise.
33602         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33603         Likewise.
33604         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33605         Likewise.
33606         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33607         Likewise.
33608         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33609         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33610         from GLIBC_2.3.2.
33612 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33616 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33618         * manual/texinfo.tex: Update to version 2013-11-26.10 with
33619         trailing whitespace removed.
33620         * scripts/config.guess: Update to version 2013-11-29.
33621         * scripts/config.sub: Update to version 2013-10-01.
33623         * math/auto-libm-test-in: Add tests of sincos.
33624         * math/auto-libm-test-out: Regenerated.
33625         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33626         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33627         mpfr_f_11.
33628         (func_calc_desc): Add mpfr_f_11 union field.
33629         (test_functions): Add sincos.
33630         (calc_generic_results): Handle mpfr_f_11.
33631         * sysdeps/i386/fpu/libm-test-ulps: Update.
33632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33634 2013-12-19  Andreas Schwab  <schwab@suse.de>
33636         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33637         CALL_MCOUNT.
33638         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33639         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33640         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
33642 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33644         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
33645         * sysdeps/i386/fpu/libm-test-ulps: Update.
33646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33648         [BZ #16293]
33649         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
33650         round-to-nearest mode when using frndint.
33651         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
33652         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33653         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33654         Likewise.
33655         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
33656         sinh test to fail.
33657         * math/auto-libm-test-out: Regenerated.
33658         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
33659         (TEST_COND_x86): Likewise.
33660         (expm1_tonearest_test_data): New array.
33661         (expm1_test_tonearest): New function.
33662         (expm1_towardzero_test_data): New array.
33663         (expm1_test_towardzero): New function.
33664         (expm1_downward_test_data): New array.
33665         (expm1_test_downward): New function.
33666         (expm1_upward_test_data): New array.
33667         (expm1_test_upward): New function.
33668         (main): Run the new test functions.
33669         * sysdeps/i386/fpu/libm-test-ulps: Update.
33670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33672         * include/features.h: Update comment documenting feature test
33673         macros.  Mention _DEFAULT_SOURCE in comment.
33674         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
33675         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
33676         _BSD_SOURCE and _SVID_SOURCE.
33677         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
33678         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
33679         !_SVID_SOURCE]: Likewise.
33680         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33681         (__USE_POSIX_IMPLICITLY): Define.
33682         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33683         (_POSIX_SOURCE): Undefine and redefine.
33684         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33685         (_POSIX_C_SOURCE): Likewise.
33686         * manual/creature.texi (_DEFAULT_SOURCE): Document.
33687         (Feature Test Macros): Update documentation of default features.
33689 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33691         * benchtests/Makefile: Add bench-strtok.
33692         * benchtests/bench-strtok.c: New file: strtok benchtest.
33694 2013-12-19  Allan McRae  <allan@archlinux.org>
33696         * manual/install.texi: Suppress menu for plain text output.
33697         * INSTALL: Regenerated.
33699 2013-12-18  Brooks Moses  <bmoses@google.com>
33701         [BZ #15846]
33702         * misc/getauxval.c: Include errno.h.
33703         (__getauxval): Set errno to ENOENT if the requested type is not
33704         found.
33705         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33706         don't declare with __attribute_const__.
33707         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33708         * manual/startup.texi: Document that getauxval sets errno.
33710 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33712         * math/auto-libm-test-in: Add tests of jn and yn.
33713         * math/auto-libm-test-out: Regenerated.
33714         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33715         (yn_test_data): Likewise.
33716         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33717         mpfr_if_f.
33718         (func_calc_desc): Add mpfr_if_f union field.
33719         (FUNC_mpfr_if_f): New macro.
33720         (test_functions): Add jn and yn.
33721         (calc_generic_results): Assert type of second input for
33722         mpfr_ff_f.  Handle mpfr_if_f.
33723         (output_for_one_input_case): Disable all checking for arguments
33724         fitting floating-point types in case of an integer argument.
33725         * sysdeps/i386/fpu/libm-test-ulps: Update.
33726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33729         Don't expect fegetround reference in libm.so.
33731 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33733         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33734         $(config-cflags-nofma).
33736 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33738         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33739         * math/auto-libm-test-out: Regenerated.
33741         [BZ #16338]
33742         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33743         to determine exponent and adjust argument to have exponent of -1.
33744         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33745         log2.
33746         * math/auto-libm-test-out: Regenerated.
33747         * sysdeps/i386/fpu/libm-test-ulps: Update.
33748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33750 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33752         * manual/probes.texi: Remove cases when per-thread arenas are
33753         disabled.
33755 2013-12-18  Andreas Schwab  <schwab@suse.de>
33757         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33758         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33759         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33760         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33761         * sysdeps/i386/i686/multiarch/Makefile: Update.
33762         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33764 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33766         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33767         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33769 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33771         [BZ #15968]
33772         Support TZ transition times < 00:00:00.
33773         This is needed for version-3 tz-format files; it supports time
33774         stamps past 2037 for America/Godthab (the only entry in the tz
33775         database for which this change is relevant).
33776         * manual/time.texi (TZ Variable): Document transition times
33777         from -167:59:59 through -00:00:01.
33778         * time/tzset.c (tz_rule): Time of day is now signed.
33779         (__tzset_parse_tz): Parse negative time of day.
33781         Document TZ transition times >= 25:00:00.
33782         * manual/time.texi (TZ Variable): Document transition times from
33783         25:00:00 through 167:59:59.  These are already supported, and this
33784         support will help with version-3 tz-format files.
33786         * manual/time.texi (TZ Variable): Modernize North America example
33787         to reflect current (i.e., 2007-and-later) daylight saving rules.
33789         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33791 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33793         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33794         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33795         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33796         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33797         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33798         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33799         * sysdeps/unix/bsd/clock.c: Likewise.
33800         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33801         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33802         * sysdeps/unix/bsd/init-posix.c: Likewise.
33803         * sysdeps/unix/bsd/poll.c: Likewise.
33804         * sysdeps/unix/bsd/ptsname.c: Likewise.
33805         * sysdeps/unix/bsd/seekdir.c: Likewise.
33806         * sysdeps/unix/bsd/setegid.c: Likewise.
33807         * sysdeps/unix/bsd/seteuid.c: Likewise.
33808         * sysdeps/unix/bsd/setgid.c: Likewise.
33809         * sysdeps/unix/bsd/setrgid.c: Likewise.
33810         * sysdeps/unix/bsd/setruid.c: Likewise.
33811         * sysdeps/unix/bsd/setsid.c: Likewise.
33812         * sysdeps/unix/bsd/setuid.c: Likewise.
33813         * sysdeps/unix/bsd/sigaction.c: Likewise.
33814         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33815         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33816         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33817         * sysdeps/unix/bsd/telldir.c: Likewise.
33818         * sysdeps/unix/bsd/times.c: Likewise.
33819         * sysdeps/unix/bsd/usleep.c: Likewise.
33821         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33822         ($(objpfx)libbsd-compat.a): Remove rule.
33824         * include/features.h (__FAVOR_BSD): Do not define.
33825         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33826         features conflicting with POSIX.
33827         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33828         (_BSD_SOURCE): Remove description of not being a subset of other
33829         feature test macros.
33830         * manual/job.texi (getpgrp): Do not document BSD version.
33831         (getpgid): Do not document by reference to BSD getpgrp.
33832         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33833         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33834         * signal/signal.h [__FAVOR_BSD]: Likewise.
33835         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33836         instead of making contents conditional on [__FAVOR_BSD].
33837         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33839 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33843 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33845         [BZ #16314]
33846         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33847         values below 2**-450, not 2**-500.
33848         * math/auto-libm-test-in: Don't allow spurious underflow from
33849         hypot.
33850         * math/auto-libm-test-out: Regenerated.
33852         [BZ #16316]
33853         [BZ #16330]
33854         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33855         values of ha and hb and sort them after adjusting subnormal
33856         arguments.
33857         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33858         Likewise.
33859         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33860         values of ea and eb and sort them after adjusting subnormal
33861         arguments.
33862         * math/auto-libm-test-in: Do not expect some hypot tests of
33863         subnormals to fail.  Add more hypot tests.
33864         * math/auto-libm-test-out: Regenerated.
33866 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33868         [BZ #13304]
33869         * sysdeps/sh/s_fma.c: New file.
33870         * sysdeps/sh/s_fmaf.c: New file.
33871         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33872         version.
33873         * sysdeps/sh/Implies: Add sh/soft-fp.
33875 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33877         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33878         level of indirection to members `objname', `errstring', `malloced'.
33879         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33880         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33881         it as the __longjmp argument (just pass 1 instead).
33882         (_dl_catch_error): Initialize C with argument pointers and address of
33883         volatile local ERRCODE rather than copying values out of C at return.
33885 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33887         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33888         * math/auto-libm-test-out: Regenerated.
33889         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33890         (hypot_test_data): Likewise.
33891         (pow_test_data): Likewise.
33892         (pow_tonearest_test_data): Likewise.
33893         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33894         mpfr_ff_f.
33895         (func_calc_desc): Add mpfr_ff_f union field.
33896         (FUNC_mpfr_ff_f): New macro.
33897         (test_functions): Add atan2, hypot and pow.
33898         (special_fill_min): New function.
33899         (special_fill_minus_min): Likewise.
33900         (special_fill_min_subnorm): Likewise.
33901         (special_fill_minus_min_subnorm): Likewise.
33902         (special_real_inputs): Add min, -min, min_subnorm and
33903         -min_subnorm.
33904         (calc_generic_results): Handle mpfr_ff_f.
33905         * sysdeps/i386/fpu/libm-test-ulps: Update.
33906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33908 2013-12-16  Will Newton  <will.newton@linaro.org>
33910         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33911         (Aligned Memory Blocks): Add documentation for aligned_alloc
33912         and suggest it as an alternative to posix_memalign.
33913         (Hooks for Malloc): Document __memalign_hook is also called
33914         for aligned_alloc.  (Summary of Malloc): Add summary for
33915         aligned alloc.  Document __memalign_hook is also called
33916         for aligned_alloc.
33918 2013-12-16  Will Newton  <will.newton@linaro.org>
33920         * manual/memory.texi (Malloc Examples): Clarify default
33921         alignment documentation.  Suggest posix_memalign rather
33922         than memalign or valloc.
33923         (Aligned Memory Blocks): Remove suggestion to use memalign
33924         or valloc.  Remove obsolete comment about BSD.
33925         Document memalign errno values and mark the function obsolete.
33926         Document posix_memalign returned error codes.  Mark valloc
33927         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33928         called for posix_memalign and valloc.
33929         (Summary of Malloc): Add posix_memalign to function summary.
33930         __memalign_hook is also called for posix_memalign and valloc.
33932 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33934         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33935         TAYLOR_SIN.
33936         (__sin): Adjust.
33937         (__cos): Likewise.
33938         (sloww): Use mynumber union.  Expand ternary operator into
33939         if-else statements.
33940         (cslow): use mynumber union.
33942 2013-12-16  Allan McRae  <allan@archlinux.org>
33944         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33945         * configure: Regenerated.
33947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33949         [BZ #14120]
33950         * configure.ac: Added --enable-maintainer-mode. Check for
33951         autoconf when enabled.
33952         * configure: Regenerated.
33954         * nscd/nscd.service: New file.
33955         * nscd/nscd.tmpfiles: New file.
33957 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33959         [BZ #12100]
33960         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33961         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33962         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33963         (strstr): Add __strstr_sse2_unaligned ifunc.
33964         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33965         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33966         (strcasestr): Remove __strcasestr_sse42 ifunc.
33967         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33971 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33973         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33974         * sysdeps/sh/bits/fenv.h: ... here.
33975         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33977 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33979         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33981         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33982         hypotf multiarch implementations.
33983         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33984         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33985         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33986         multiarch hypot for PPC64.
33987         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33988         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33989         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33990         multiarch hypotf for PPC64.
33992         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33993         modff multiarch implementations.
33994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33997         multiarch modf for PPC64.
33998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34001         multiarch modff for PPC64.
34003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34004         and logl multiarch implementations.
34005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34008         multiarch logb for PPC64.
34009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34012         multiarch logb for PPC64.
34013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34016         multiarch logb for PPC64.
34018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34019         isinff multiarch implementation.
34020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34021         file.
34022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34024         multiarch isinf for PPC64.
34025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34026         file.
34027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34028         multiarch isinff for PPC64.
34030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34031         finitef multiarch implementation.
34032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34033         file.
34034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34036         multiarch finite for PPC64.
34037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34038         file.
34039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34040         multiarch finitef for PPC64.
34042         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34043         lrint multiarch implementation.
34044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34045         file.
34046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34048         multiarch llrint for PPC64.
34049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34050         multiarch lrint for PPC64.
34052         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34053         copysignf multiarch implementation.
34054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34055         file.
34056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34057         file.
34058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34059         multiarch copysign for PPC64.
34060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34061         multiarch copysignf for PPC64.
34063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34064         multiarch implementation.
34065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34066         file.
34067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34068         file.
34069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34070         file.
34071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34072         file.
34073         multiarch llround for PPC64.
34074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34075         multiarch trunc for PPC64.
34076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34077         multiarch truncf for PPC64.
34079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34080         multiarch implementation.
34081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34082         file.
34083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34084         file.
34085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34086         file.
34087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34088         file.
34089         multiarch llround for PPC64.
34090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34091         multiarch round for PPC64.
34092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34093         multiarch roundf for PPC64.
34095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34096         multiarch implementation.
34097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34098         file.
34099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34100         file.
34101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34102         file.
34103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34104         file.
34105         multiarch llround for PPC64.
34106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34107         multiarch floor for PPC64.
34108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34109         multiarch floorf for PPC64.
34111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34112         multiarch implementation.
34113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34114         file.
34115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34116         file.
34117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34118         file.
34119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34120         file.
34121         multiarch llround for PPC64.
34122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34123         multiarch ceil for PPC64.
34124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34125         multiarch ceilf for PPC64.
34127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34128         multiarch implementation.
34129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34130         file.
34131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34132         file.
34133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34134         file.
34135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34136         multiarch llround for PPC64.
34137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34138         multiarch lround for PPC64.
34140         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34141         multiarch implementation.
34142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34145         file.
34146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34149         multiarch isnan for PPC64.
34150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34151         multiarch isnanf for PPC64.
34153         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34154         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34155         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34156         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34157         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34160         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34161         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34162         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34163         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34166         multiarch implementations.
34167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34168         (__libc_ifunc_impl_list): Likewise.
34169         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34171         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34172         multiarch stpcpy for PPC64.
34174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34175         multiarch implementations.
34176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34177         (__libc_ifunc_impl_list): Likewise.
34178         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34179         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34180         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34181         multiarch strcpy for PPC64.
34183         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34184         redefine function name.
34185         (_wordcopy_fwd_dest_aligned): Likewise.
34186         (_wordcopy_bwd_aligned): Likewise.
34187         (_wordcopy_bwd_dest_aligned): Likewise.
34188         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34189         multiarch implementations.
34190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34191         (__libc_ifunc_impl_list): Likewise.
34192         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34193         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34194         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34195         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34196         multiarch wcscpy for PPC64.
34198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34199         multiarch implementations.
34200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34201         (__libc_ifunc_impl_list): Likewise.
34202         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34203         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34204         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34205         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34206         multiarch wcscpy for PPC64.
34208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34209         multiarch implementations.
34210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34211         (__libc_ifunc_impl_list): Likewise.
34212         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34213         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34214         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34215         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34216         multiarch wcsrchr for PPC64.
34218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34219         multiarch implementations.
34220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34221         (__libc_ifunc_impl_list): Likewise.
34222         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34223         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34224         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34225         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34226         multiarch wcschr for PPC64.
34228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34229         multiarch implementations.
34230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34231         (__libc_ifunc_impl_list): Likewise.
34232         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34233         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34234         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34235         multiarch strchrnul for PPC64.
34237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34238         implementations.
34239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34240         (__libc_ifunc_impl_list): Likewise.
34241         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34242         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34243         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34244         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34245         strchr for PPC64.
34247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34248         implementations.
34249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34250         (__libc_ifunc_impl_list): Likewise.
34251         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34252         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34253         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34254         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34255         strncmp for PPC64.
34257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34258         multiarch implementations.
34259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34260         (__libc_ifunc_impl_list): Likewise.
34261         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34262         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34263         strncasecmp for PPC64.
34264         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34265         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34266         multiarch strncasecmp_l for PPC64.
34268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34269         multiarch implementations.
34270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34271         (__libc_ifunc_impl_list): Likewise.
34272         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34273         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34274         multiarch strcasecmp for PPC64.
34275         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34276         file.
34277         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34278         multiarch strcasecmp_l for PPC64.
34280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34281         implementations.
34282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34283         (__libc_ifunc_impl_list): Likewise.
34284         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34285         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34286         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34287         strnlen for PPC64.
34289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34290         implementations.
34291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34292         (__libc_ifunc_impl_list): Likewise.
34293         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34294         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34295         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34296         strlen for PPC64.
34298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34299         implementations.
34300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34301         (__libc_ifunc_impl_list): Likewise.
34302         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34303         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34304         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34305         rawmemrchr for PPC64.
34307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34308         implementation.
34309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34310         (__libc_ifunc_impl_list): Likewise.
34311         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34312         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34313         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34314         memrchr for PPC64.
34316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34317         implementation.
34318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34319         (__libc_ifunc_impl_list): Likewise.
34320         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34321         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34322         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34323         memchr for PPC64.
34325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34326         implementation.
34327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34328         (__libc_ifunc_impl_list): Likewise.
34329         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34330         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34331         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34332         mempcpy for PPC64.
34334         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34335         avoid cretion of __bzero symbol.
34336         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34337         Likewise.
34338         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34339         Likewise.
34340         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34341         Likewise.
34342         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34343         multiarch implementations.
34344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34345         (__libc_ifunc_impl_list): Likewise.
34346         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34347         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34348         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34349         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34350         bzero for PPC32.
34351         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34352         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34353         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34354         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34355         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34356         memset for PPC64.
34357         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34359         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34361         implementations.
34362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34363         (__libc_ifunc_impl_list): Likewise.
34364         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34365         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34366         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34367         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34368         memcmp for PPC64.
34370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34371         multiarch for POWER/PPC64.
34372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34373         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34374         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34375         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34376         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34377         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34378         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34379         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34380         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34381         memcpy for PPC64.
34383         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34384         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34385         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34386         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34387         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34388         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34389         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34390         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34391         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34392         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34393         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34394         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34395         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34396         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34397         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34406 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34408         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34410 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34412         * benchtests/Makefile (bench): Add exp2 and log2.
34413         (LDLIBS-bench-exp2): Add -lm.
34414         (LDLIBS-bench-log2): Likewise.
34415         * benchtests/exp2-inputs: New inputs file.
34416         * benchtests/log2-inputs: New inputs file.
34417         * benchtests/log-inputs: Add new inputs.
34418         * benchtests/tan-inputs: Likewise.
34420 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34422         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34423         definition...
34424         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34425         (csloww2): ... from here.
34427         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34428         instead of structures.
34429         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34430         (POLYNOMIAL): Likewise.
34431         (TAYLOR_SLOW): Likewise.
34432         (__sin): Likewise.
34433         (__cos): Likewise.
34434         (slow1): Likewise.
34435         (slow2): Likewise.
34436         (sloww): Likewise.
34437         (sloww1); Likewise.
34438         (sloww2): Likewise.
34439         (bsloww1): Likewise.
34440         (bsloww2): Likewise.
34441         (cslow2): Likewise.
34442         (csloww): Likewise.
34443         (csloww1): Likewise.
34444         (csloww2): Likewise.
34446 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
34448         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34449         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34450         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34451         * malloc/hooks.c (realloc_check): Likewise.
34453         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34454         * malloc/arena.c: Remove PER_THREAD conditional.
34455         [!PER_THREAD]: Remove code.
34456         (ptmalloc_unlock_all2): Likewise.
34457         (ptmalloc_init): Likewise.
34458         (_int_new_arena): Likewise.
34459         (arena_get2): Likewise.
34460         * malloc/hooks.c (__malloc_get_state): Likewise.
34461         (__malloc_set_state): Likewise.
34462         * malloc/malloc.c: Likewise.
34463         (struct malloc_state): Likewise.
34464         (struct malloc_par): Likewise.
34465         (__libc_realloc): Likewise.
34466         (__libc_mallopt): Likewise.
34468 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34470         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34472 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
34474         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34475         macro to a function.  Check for zero perturb_byte.
34476         (_int_malloc, _int_free): Remove zero perturb_byte checks.
34478         * malloc/malloc.c: (force_reg): Remove.
34479         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34480         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34481         force_reg by atomic_forced_read.
34482         * malloc/arena.c (ptmalloc_init): Likewise.
34483         * malloc/hooks.c (top_check): Likewise.
34485 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34489 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
34491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34493 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
34495         * math/auto-libm-test-in: Add tests of lgamma.
34496         * math/auto-libm-test-out: Regenerated.
34497         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34498         (M_LOG_2_SQRT_PIl): Likewise.
34499         (lgamma_test_data): Use AUTO_TESTS_f_f1.
34500         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34501         mpfr_f_f1.
34502         (func_calc_desc): Add mpfr_f_f1 union field.
34503         (ARGS1): New macro.
34504         (ARGS2): Likewise.
34505         (ARGS3): Likewise.
34506         (ARGS4): Likewise.
34507         (RET1): Likewise.
34508         (RET2): Likewise.
34509         (CALC): Likewise.
34510         (FUNC): Likewise.
34511         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34512         (test_functions): Add lgamma.
34513         (calc_generic_results): Handle mpfr_f_f1.
34514         * sysdeps/i386/fpu/libm-test-ulps: Update.
34515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34517 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34519         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
34520         __mpn_add_n for PowerPC64/POWER7.
34521         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34522         __mpn_sub_n for PowerPC64/POWER7.
34524         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
34525         __mpn_addmul_1 for PowerPC64.
34526         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
34527         __mpn_submul_1 for PowerPC64.
34528         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
34529         for PowerPC64.
34530         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
34531         for PowerPC64.
34533 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
34535         [BZ #15089]
34536         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
34538 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34540         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
34542         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
34543         add multiarch folders.
34544         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
34545         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
34546         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
34547         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
34548         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
34549         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
34550         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
34551         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
34552         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
34553         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
34554         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
34555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
34556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
34557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
34558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
34559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
34560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
34562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34563         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
34564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
34565         New file.
34566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
34567         New file.
34568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
34569         multiarch __ieee754_hypot for PowerPC32.
34570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
34571         New file.
34572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
34573         New file.
34574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
34575         multiarch __ieee754_hypotf for PowerPC32.
34577         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
34578         long_double_symbol only if __logbl is defined.
34579         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
34580         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
34581         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
34582         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
34583         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
34584         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34585         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34586         path for implementation.
34587         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34588         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34590         logb, and logbl multiarch implementations for PowerPC32.
34591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34592         file.
34593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34594         file.
34595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34596         multiarch logb for PowerPC32.
34597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34598         file.
34599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34600         file.
34601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34602         multiarch logbf for PowerPC32.
34603         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34605         file.
34606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34607         multiarch logbl implementation for PowerPC32.
34609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34610         and modff multiarch implementations.
34611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34612         New file.
34613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34614         New file.
34615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34616         multiarch modf for PowerPC32.
34617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34618         New file.
34619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34620         New file.
34621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34622         multiarch modff for PowerPC32.
34624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34625         and lrintf multiarch implementations.
34626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34627         New file.
34628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34629         New file.
34630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34631         multiarch lrint for PowerPC32.
34632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34633         file: multiarch lrintf for PowerPC32.
34635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34636         and lroundf multiarch implementations.
34637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34638         New file.
34639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34640         New file.
34641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
34642         New file.
34643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
34644         multiarch lround for PowerPC32.
34645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
34646         file: multiarch lroundf for PowerPC32.
34648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34649         copysign and copysignf multiarch implementations.
34650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34651         New file.
34652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
34653         New file.
34654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
34655         file: multiarch copysign for PowerPC32.
34656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
34657         file: multiarch copysignf for PowerPC32.
34659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
34660         and truncf multiarch implementations.
34661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
34662         New file.
34663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
34664         file.
34665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
34666         multiarch trunc for PowerPC32.
34667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
34668         New file.
34669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
34670         New file.
34671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
34672         multiarch truncf for PowerPC32.
34674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
34675         and roundf multiarch implementations.
34676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
34677         New file.
34678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
34679         file.
34680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
34681         multiarch round for PowerPC32.
34682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
34683         New file.
34684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
34685         New file.
34686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
34687         multiarch roundf for PowerPC32.
34689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
34690         and floorf multiarch implementations.
34691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
34692         New file.
34693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
34694         file.
34695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
34696         multiarch floor for PowerPC32.
34697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
34698         New file.
34699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34700         New file.
34701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34702         multiarch floorf for PowerPC32.
34704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34705         and ceilf multiarch implementations.
34706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34707         New file.
34708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34709         file.
34710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34711         multiarch ceil for PowerPC32.
34712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34713         New file.
34714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34715         file.
34716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34717         multiarch ceilf for PowerPC32.
34719         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34720         is defined.
34721         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34722         FINITEF is defined.
34723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34724         and finitef multiarch implementations.
34725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34726         New file.
34727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34728         file.
34729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34730         multiarch finite for PowerPC32.
34731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34732         New file.
34733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34734         file: multiarch finitef for PowerPC32.
34736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34737         and isinff multiarch implementations.
34738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34739         file.
34740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34741         file.
34742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34743         multiarch isinf for PowerPC32.
34744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34745         New file.
34746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34747         multiarch isinff for PowerPC32.
34749         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34750         alias when __isnan is defined.
34751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34752         and isnanf multiarch implementations.
34753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34754         file.
34755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34756         file.
34757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34758         file.
34759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34760         file.
34761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34762         multiarch isnan for PowerPC32.
34763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34764         New file.
34765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34766         New file.
34767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34768         multiarch isnanf for PowerPC32.
34770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34771         and sqrtf multiarch implementations.
34772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34773         file.
34774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34775         file.
34776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34777         multiarch sqrt for PowerPC32.
34778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34779         file.
34780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34781         file.
34782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34783         multiarch sqrtf for PowerPC32.
34785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34786         and llroundf multiarch implementations.
34787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34788         New file.
34789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34790         New file.
34791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34792         New file.
34793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34794         file: multiarch llround for PowerPC32.
34795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34796         file: multiarch llroundf for PowerPC32.
34798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34799         multiarch PowerPC32 fpu implementations.
34800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34801         New file.
34802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34803         New file.
34804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34805         multiarch llrint for PowerPC32.
34806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34807         New file.
34808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34809         New file.
34810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34811         file.
34813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34815         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34816         file.
34817         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34818         file.
34819         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34820         file.
34821         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34822         multiarch wordcopy for PPC32.
34823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34824         wordcopy objects.
34825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34826         (__libc_ifunc_impl_list): Likewise.
34827         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34828         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34829         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34830         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34831         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34832         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34834         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34836         file.
34837         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34838         file.
34839         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34840         file.
34841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34842         multiarch wcscpy for PPC32.
34843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34844         multiarch objects.
34845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34846         (__libc_ifunc_impl_list): Likewise.
34847         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34848         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34849         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34850         sysdeps/powerpc/power6/wcscpy.c.
34852         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34854         file.
34855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34856         file.
34857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34858         file.
34859         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34860         multiarch wcsrchr for PPC32.
34861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34862         multiarch objects.
34863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34864         (__libc_ifunc_impl_list): Likewise.
34865         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34866         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34867         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34868         sysdeps/powerpc/power6/wcsrchr.c.
34870         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34871         file.
34872         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34873         file.
34874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34876         multiarch wcschr 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/wcschr.c: Move ...
34882         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34883         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34884         sysdeps/powerpc/power6/wcschr.c.
34886         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34887         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34888         file.
34889         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34890         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34891         file: multiarch strchr for PPC32.
34892         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34893         multiarch objects.
34894         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34895         (__libc_ifunc_impl_list): Likewise.
34897         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34898         name.
34899         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34900         file.
34901         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34902         file.
34903         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34904         multiarch strchrnul for PPC32.
34905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34906         multiarch objects.
34907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34908         (__libc_ifunc_impl_list): Likewise.
34910         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34911         file.
34912         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34913         multiarch strncasecmp for PPC32.
34914         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34915         file.
34916         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34917         multiarch strncasecmp_l for PPC32.
34918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34919         strncasecmp multiarch objects.
34920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34921         (__libc_ifunc_impl_list): Likewise.
34923         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34924         file.
34925         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34926         multiarch strncasecmp for PPC32.
34927         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34928         New file.
34929         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34930         multiarch strcasecmp_l for PPC32.
34931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34932         multiarch objects.
34933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34934         (__libc_ifunc_impl_list): Likewise.
34936         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34937         file.
34938         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34939         file.
34940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34941         multiarch strncmp for PPC32.
34942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34943         multiarch objects.
34944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34945         (__libc_ifunc_impl_list): Likewise.
34947         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34948         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34949         file.
34950         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34951         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34953         multiarch objects.
34954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34955         (__libc_ifunc_impl_list): Likewise.
34957         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34958         file.
34959         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34960         file.
34961         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34963         multiarch objects.
34964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34965         (__libc_ifunc_impl_list): Likewise.
34967         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34968         file.
34969         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34970         file.
34971         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34972         multiarch rawmemchr for PPC32.
34973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34974         multiarch objects.
34975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34976         (__libc_ifunc_impl_list): Likewise.
34978         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34979         file.
34980         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34981         file.
34982         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34983         file: memrchr multiarch for PPC32.
34984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34985         multiarch objects.
34986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34987         (__libc_ifunc_impl_list): Likewise.
34989         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34990         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34991         file.
34992         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34993         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34994         multiarch memchr for PPC32.
34995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34996         multiarch objects.
34997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34998         (__libc_ifunc_impl_list): Likewise.
35000         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35001         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35002         file.
35003         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35004         file.
35005         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35006         file: multiarch mempcpy for PPC32.
35007         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35008         multiarch objects.
35009         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35010         (__libc_ifunc_impl_list): Likewise.
35012         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35013         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35014         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35015         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35016         multiarch bzero for PPC32.
35017         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35018         file.
35019         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35020         file.
35021         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35022         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35023         file: multiarch memset for PPC32.
35024         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35026         memset multiarch objects.
35027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35028         (__libc_ifunc_impl_list): Likewise.
35030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35031         file.
35032         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35033         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35034         memcmp for PPC32.
35035         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35037         multiarch objects.
35038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35039         (__libc_ifunc_impl_list): Likewise.
35041         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35042         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35044         file.
35045         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35046         file.
35047         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35048         file.
35049         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35050         multiarch memcpy for PPC32.
35051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35052         multiarch objects.
35053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35054         (__libc_ifunc_impl_list): Likewise.
35056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35057         support multiarch for POWER/PPC32.
35058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35059         Likewise.
35060         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35062         Implies file to make multiarch folder appers before the fpu and
35063         default folder for power4 configuration.
35065 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35067         * scripts/bench.pl: Append volatile keyword to type.
35069 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35071         * sysdeps/sh/sotruss-lib.c: New file.
35072         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35074 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35078 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35080         [BZ #6810]
35081         * math/w_tgamma.c: Include <errno.h>.
35082         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35083         * math/w_tgammaf.c: Include <errno.h>.
35084         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35085         * math/w_tgammal.c: Include <errno.h>.
35086         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35087         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35088         underflow.  Add more tgamma tests.
35089         * math/auto-libm-test-out: Regenerated.
35090         * sysdeps/i386/fpu/libm-test-ulps: Update.
35091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35093         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35094         sin, sinh, tan, tanh, tgamma, y0 and y1.
35095         * math/auto-libm-test-out: Regenerated.
35096         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35097         (TEST_COND_x86): Likewise.
35098         (M_E2l): Remove macro.
35099         (M_E3l): Likewise.
35100         (M_2_SQRT_PIl): Likewise.
35101         (M_SQRT_PIl): Likewise.
35102         (M_1_DIV_El): Likewise.
35103         (log_test_data): Use AUTO_TESTS_f_f.
35104         (log10_test_data): Likewise.
35105         (log1p_test_data): Likewise.
35106         (log2_test_data): Likewise.
35107         (sin_test_data): Likewise.
35108         (sin_tonearest_test_data): Likewise.
35109         (sin_towardzero_test_data): Likewise.
35110         (sin_downward_test_data): Likewise.
35111         (sin_upward_test_data): Likewise.
35112         (sinh_test_data): Likewise.
35113         (sinh_tonearest_test_data): Likewise.
35114         (sinh_towardzero_test_data): Likewise.
35115         (sinh_downward_test_data): Likewise.
35116         (sinh_upward_test_data): Likewise.
35117         (tan_test_data): Likewise.
35118         (tan_tonearest_test_data): Likewise.
35119         (tan_towardzero_test_data): Likewise.
35120         (tan_downward_test_data): Likewise.
35121         (tan_upward_test_data): Likewise.
35122         (tanh_test_data): Likewise.
35123         (tgamma_test_data): Likewise.
35124         (y0_test_data): Likewise.
35125         (y1_test_data): Likewise.
35126         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35127         (special_real_inputs): Add pi/4.
35128         * sysdeps/i386/fpu/libm-test-ulps: Update.
35129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35131 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35133         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35134         "longjmp_target" static probes.
35135         (__longjmp): Rename to __longjmp_symbol.
35136         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35137         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35138         on which longjmp to generate.
35139         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35140         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35141         probe.
35142         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35143         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35144         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35145         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35146         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35147         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35149         __longjmp_symbol based on which __longjmp to generate.
35150         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35151         probe.
35152         (setjmp): Rename to setjmp_symbol.
35153         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35154         (_setjmp): Rename to _setjmp_symbol.
35155         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35156         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35157         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35158         which setjmp to generate.
35159         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35160         "longjmp_target" static probes.
35162 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35164         * benchtests/README: Add note about output arguments.
35165         * benchtests/bench-sincos.c: Remove file.
35166         * benchtests/sincos-inputs: New file.
35167         * scripts/bench.pl: Identify output arguments and define
35168         static variables for them.
35170         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35172         [BZ #15941]
35173         * Makefile (INSTALL): Add install-plain.texi as the primary
35174         dependency.
35175         * manual/install-plain.texi: New file.
35176         * manual/install.texi: Include node directive only for
35177         non-plaintext output.
35179 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35181         * stdlib/longlong.h: Update from GCC.
35183         [BZ #6807]
35184         [BZ #15901]
35185         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35186         * math/w_j0f.c (y0f): Likewise.
35187         * math/w_j0l.c (__y0l): Likewise.
35188         * math/w_j1.c (y1): Likewise.
35189         * math/w_j1f.c (y1f): Likewise.
35190         * math/w_j1l.c (__y1l): Likewise
35191         * math/w_jn.c (yn): Likewise.
35192         * math/w_jnf.c (ynf): Likewise.
35193         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35194         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35195         value for Bessel function domain errors outside _SVID_ mode.
35196         Adjust sign of return value for yn (negative integer, 0).
35197         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35198         by zero in return for negative x and set sign appropriately for
35199         negative n.
35200         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35201         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35202         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35203         expectations in error cases.
35204         (y1_test_data): Likewise.
35205         (yn_test_data): Likewise.
35206         * sysdeps/i386/fpu/libm-test-ulps: Update.
35207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35209 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35211         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35212         "64" to "64-v1".  Add "64-v2".
35213         (abi-64-options): Rename to ...
35214         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35215         (abi-64-condition): Rename to ...
35216         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35217         (abi-64-ld-soname): Rename to ...
35218         (abi-64-v1-ld-soname): ... this.
35219         (abi-64-v2-options): Define.
35220         (abi-64-v2-condition): Likewise.
35221         (abi-64-v2-ld-soname): Likewise.
35222         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35223         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35228 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35229             Alan Modra  <amodra@gmail.com>
35231         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35232         New versions for use with the ELFv2 ABI.
35233         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35234         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35235         declaration.
35236         (struct La_ppc64v2_retval): Likewise.
35237         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35238         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35239         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35240         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35241         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35242         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35243         Do not save or restore CR.
35244         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35245         (_dl_profile_resolve): Do no save or restore CR.  Support extended
35246         return values for ELFv2 ABI.  Fix location of FPR return registers.
35247         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35248         updated values for _CALL_ELF == 2.
35249         (La_regs, La_retval, int_retval): Likewise.
35251 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35253         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35254         (FRAME_MIN_SIZE_PARM): Likewise.
35255         (FRAME_BACKCHAIN): Likewise.
35256         (FRAME_CR_SAVE): Likewise.
35257         (FRAME_LR_SAVE): Likewise.
35258         (FRAME_TOC_SAVE): Likewise.
35259         (FRAME_PARM_SAVE): Likewise.
35260         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35261         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35262         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35263         (call_mcount_parm_offset): New macro.
35264         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35265         (PROF): Use symbolic stack frame offsets.
35266         (TAIL_CALL_SYSCALL_ERROR): Likewise.
35267         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35268         Redefine in terms of FRAME_MIN_SIZE.
35269         (_dl_runtime_resolve): Use symbolic stack frame offsets.
35270         (_dl_profile_resolve): Likewise.  Update comment.
35271         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35272         symbols stack frame offsets.
35273         (__sigsetjmp): Likewise.
35274         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35275         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35276         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35277         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35280         (FRAME_BACKCHAIN): Remove.
35281         (FRAME_CR_SAVE): Likewise.
35282         (FRAME_LR_SAVE): Likewise.
35283         (FRAME_COMPILER_DW): Likewise.
35284         (FRAME_LINKER_DW): Likewise.
35285         (FRAME_TOC_SAVE): Likewise.
35286         (FRAME_PARM_SAVE): Likewise.
35287         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35288         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35289         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35291         (CHECK_SP): Use symbolic stack frame offsets.
35292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35293         zone" instead of caller's parameter save area for temp storage.
35294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35295         Likewise.  Also, use symbolic stack frame offsets.
35296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35297         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35298         our own stack frame instead of the caller's.
35299         (__socket): Use symbolic stack frame offsets.
35301 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35302             Alan Modra  <amodra@gmail.com>
35304         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35305         Define.
35306         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35307         (PPC64_LOCAL_ENTRY_OFFSET): Define.
35308         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35309         New function.
35310         (elf_machine_fixup_plt): Call it.
35311         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
35312         reloc arguments.
35313         (elf_machine_rela): Update call to elf_machine_plt_conflict.
35314         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35315         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35316         r2 before calling target.
35318 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35319             Alan Modra  <amodra@gmail.com>
35321         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35322         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35323         versions of macros to support ELFv2 ABI.
35324         (LOCALENTRY): New macro.
35325         (ENTRY, EALIGN): Use it.
35326         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35327         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35328         fall through into ENTRY entry point.
35329         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35330         Only define if _CALL_ELF != 2.
35332         (elf_machine_matches_host): Verify ABI version matches.
35333         (RTLD_START): Use LOCALENTRY.
35334         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35335         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35336         (PLT_ENTRY_WORDS): New macro.
35337         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35338         (elf_machine_runtime_setup): Support ELFv2 ABI.
35339         (elf_machine_fixup_plt): Likewise.
35340         (elf_machine_plt_conflict): Likewise.
35341         (resolve_ifunc): Likewise.
35342         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35343         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35344         Likewise.
35345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35346         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35348         (makecontext): Support ELFv2 ABI.
35349         * elf/elf.h (EF_PPC64_ABI): Define.
35351 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35353         * sysdeps/powerpc/powerpc64/sysdep.h
35354         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35355         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35356         (ENTRY) [ASSEMBLER]: ... but instead here ...
35357         (EALIGN) [ASSEMBLER]: ... and here.
35358         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35359         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35360         (ENTRY_2) [!ASSEMBLER]: Use it.
35361         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35362         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
35363         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35364         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35365         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35367         Use PPC64_LOAD_FUNCPTR.
35369         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35371 2013-12-04  Alan Modra  <amodra@gmail.com>
35373         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35374         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35375         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35376         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35378         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35379         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35380         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35381         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35382         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35383         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35385 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35388         (__makecontext): Fix incorrect CFI when backtracing out of
35389         context created via makecontext.
35390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35391         (__setcontext): Fix incorrect CFI during switch to new context.
35392         (__novec_setcontext): Likewise.
35394 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35396         [BZ #4772]
35397         * time/strptime_l.c (__strptime_internal): Allow modifiers
35398         in strptime.
35399         * time/tst-strptime.c (day_tests): Add testcase.
35401 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35403         * scripts/bench.pl: Skip over blank lines.
35405 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
35407         [BZ #926]
35408         * manual/time.texi (Calendar Time): Clarify what timezone functions
35409         use.
35411 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35415 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35417         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35418         implementation.
35419         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35420         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35421         * debug/memset_chk.c (__memset_chk): Likewise.
35422         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35423         * debug/strncpy_chk.c: Likewise.
35425 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35427         [BZ #15268]
35428         [BZ #15425]
35429         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35430         (__ieee754_exp): For possibly underflowing results, check size of
35431         result and force underflow exception if required.
35432         * math/auto-libm-test-in: Add more tests of exp.
35433         * math/auto-libm-test-out: Regenerated.
35434         * sysdeps/i386/fpu/libm-test-ulps: Update.
35435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35437         [BZ #16283]
35438         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35439         * math/w_exp2f.c (__exp2f): Likewise.
35440         * math/w_exp2l.c (__exp2l): Likewise.
35441         * math/auto-libm-test-in: Do not allow missing errno on exp2
35442         underflow.
35443         * math/auto-libm-test-out: Regenerated.
35445 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
35447         [BZ #16274]
35448         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35449         handle filename validation.
35450         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35451         (do_open): Delete.
35453 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35455         [BZ #6786]
35456         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35457         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35458         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35459         <float.h>.
35460         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35461         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35462         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35463         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35464         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35465         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35466         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35467         * math/auto-libm-test-in: Don't allow missing errno from erfc.
35468         Add more erfc tests.
35469         * math/auto-libm-test-out: Regenerated.
35470         * sysdeps/i386/fpu/libm-test-ulps: Update.
35471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35473         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35474         exp2, expm1, j0 and j1.
35475         * math/auto-libm-test-out: Regenerated.
35476         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35477         (erfc_test_data): Likewise.
35478         (exp_test_data): Likewise.
35479         (exp_tonearest_test_data): Likewise.
35480         (exp_towardzero_test_data): Likewise.
35481         (exp_downward_test_data): Likewise.
35482         (exp_upward_test_data): Likewise.
35483         (exp10_test_data): Likewise.
35484         (exp2_test_data): Likewise.
35485         (expm1_test_data): Likewise.
35486         (j0_test_data): Likewise.
35487         (j1_test_data): Likewise.
35488         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35489         (input_flag_type): Add flag_xfail_rounding.
35490         (input_flags): Add xfail-rounding.
35491         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35492         (output_for_one_input_case): Handle flag_xfail_rounding.
35493         * sysdeps/i386/fpu/libm-test-ulps: Update.
35494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35496 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
35498         [BZ #16289]
35499         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35500         division by 0.
35502 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35504         [BZ #16195]
35505         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35506         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35507         (STAP_PROBE0): New macro.
35508         (STAP_PROBE1): Likewise.
35509         (STAP_PROBE2): Likewise.
35510         (STAP_PROBE3): Likewise.
35511         (STAP_PROBE4): Likewise.
35513 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
35515         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
35517 2013-12-02  Steve Ellcey  <sellcey@mips.com>
35519         * benchtests/Makefile (bench): Add sqrt.
35520         (LDLIBS-bench-sqrt): New.
35521         * benchtests/sqrt-input: New.
35523 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
35525         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
35526         (GAIH_EAI): Likewise.
35527         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
35528         (gaih_inet): Likewise.
35529         (getaddrinfo): Don't use GAIH_EAI.
35531         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
35532         (struct gaih): Remove definition.
35534 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35536         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
35537         Use HERRNOP directly.
35539 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35543 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
35545         * math/gen-auto-libm-tests.c (test_functions): Add more
35546         single-argument functions.
35547         (special_fill_pi_2): New function.
35548         (special_fill_minus_pi_2): Likewise.
35549         (special_fill_pi_6): Likewise.
35550         (special_fill_minus_pi_6): Likewise.
35551         (special_fill_pi_3): Likewise.
35552         (special_fill_2pi_3): Likewise.
35553         (special_fill_e): Likewise.
35554         (special_fill_1_e): Likewise.
35555         (special_fill_e_minus_1): Likewise.
35556         (special_real_inputs): Add more special inputs.
35557         (output_for_one_input_case): Do not require ERANGE on underflow to
35558         zero if round-to-nearest result does not underflow to zero, unless
35559         exact results required.
35560         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
35561         atan, atanh, cbrt, cos and cosh.
35562         * math/auto-libm-test-out: Regenerated.
35563         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
35564         (acos_tonearest_test_data): Likewise.
35565         (acos_towardzero_test_data): Likewise.
35566         (acos_downward_test_data): Likewise.
35567         (acos_upward_test_data): Likewise.
35568         (acosh_test_data): Likewise.
35569         (asin_test_data): Likewise.
35570         (asin_tonearest_test_data): Likewise.
35571         (asin_towardzero_test_data): Likewise.
35572         (asin_upward_test_data): Likewise.
35573         (asinh_test_data): Likewise.
35574         (atan_test_data): Likewise.
35575         (atanh_test_data): Likewise.
35576         (cbrt_test_data): Likewise.
35577         (cos_test_data): Likewise.
35578         (cos_tonearest_test_data): Likewise.
35579         (cos_towardzero_test_data): Likewise.
35580         (cos_downward_test_data): Likewise.
35581         (cos_upward_test_data): Likewise.
35582         (cosh_test_data): Likewise.
35583         (cosh_tonearest_test_data): Likewise.
35584         (cosh_towardzero_test_data): Likewise.
35585         (cosh_downward_test_data): Likewise.
35586         (cosh_upward_test_data): Likewise.
35587         * sysdeps/i386/fpu/libm-test-ulps: Update.
35588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35590 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
35592         [BZ #6787]
35593         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35594         * math/w_exp10f.c (__exp10f): Likewise.
35595         * math/w_exp10l.c (__exp10l): Likewise.
35596         * math/libm-test.inc (exp10_test_data): Add more tests and expect
35597         errno settings in existing tests.
35599         [BZ #14032]
35600         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35601         precision control set to double precision.
35602         * sysdeps/i386/fpu/w_sqrt.c: New file.
35603         * math/auto-libm-test-in: Add more tests.
35604         * math/auto-libm-test-out: Update.
35606         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35607         (sqrt_test_tonearest): New function.
35608         (sqrt_towardzero_test_data): New variable.
35609         (sqrt_test_towardzero): New function.
35610         (sqrt_downward_test_data): New variable.
35611         (sqrt_test_downward): New function.
35612         (sqrt_upward_test_data): New variable.
35613         (sqrt_test_upward): New function.
35614         (main): Call the new functions.
35616         * math/gen-auto-libm-tests.c: New file.
35617         * math/auto-libm-test-in: Likewise.
35618         * math/auto-libm-test-out: New generated file.
35619         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35620         variables.
35621         (%beautify): Add generated representations of zero.
35622         (top level): Set $auto_input and call parse_auto_input.
35623         (beautify): Remove trailing "f" from hex float constants.
35624         (parse_args): Handle XFAIL_TEST.
35625         (convert_condition): New function.
35626         (or_value): Likewise.
35627         (or_cond_value): Likewise.
35628         (generate_testfile): Handle AUTO_TESTS_* lines.
35629         (parse_auto_input): New function.
35630         * math/libm-test.inc (XFAIL_TEST): New macro.
35631         (ERRNO_UNCHANGED): Update value.
35632         (ERRNO_EDOM): Likewise.
35633         (ERRNO_ERANGE): Likewise.
35634         (IGNORE_RESULT): Likewise.
35635         (TEST_COND_flt_32): New macro.
35636         (TEST_COND_dbl_64): Likewise.
35637         (TEST_COND_ldbl_96_intel): Likewise.
35638         (TEST_COND_ldbl_96_m68k): Likewise.
35639         (TEST_COND_ldbl_128): Likewise.
35640         (TEST_COND_ldbl_128ibm): Likewise.
35641         (TEST_COND_long32): Likewise.
35642         (TEST_COND_long64): Likewise.
35643         (TEST_COND_before_rounding): Likewise.
35644         (TEST_COND_after_rounding): Likewise.
35645         (enable_test): Handle XFAIL_TEST flag.
35646         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
35647         with finite results.
35648         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
35649         auto-libm-test-out.
35651 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35652             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35654         [BZ #16214]
35655         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
35656         __tls_get_addr_internal instead of __tls_get_offset in order to
35657         avoid GOT pointer dependency.  Make rtld export
35658         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
35659         __tls_get_addr since we are a __tls_get_offset platform.
35660         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
35661         GOT pointer being set up before.
35662         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
35664 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
35666         * manual/math.texi (Errors in Math Functions): Document accuracy
35667         goals.
35669         [BZ #15004]
35670         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
35671         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
35672         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35673         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35674         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35675         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35676         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35677         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35678         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35679         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35680         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35681         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35682         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35683         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35684         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35685         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35687         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
35688         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
35689         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
35690         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
35691         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
35692         Likewise.
35693         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
35694         Likewise.
35695         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
35696         Likewise.
35697         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
35698         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
35699         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35700         atomic-feupdateenv and flt-rounds.
35701         * sysdeps/powerpc/nofpu/Versions (libc): Add
35702         __atomic_feholdexcept, __atomic_feclearexcept,
35703         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35704         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35705         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35706         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35707         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35708         here.
35709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35710         Update.
35712         * manual/arith.texi (FP Exceptions): Document that exceptions may
35713         not be raised when matherr is used.
35714         (Math Error Reporting): Document overflow in directed rounding
35715         modes.  Document that errno may not be set when finite values are
35716         returned on overflow.  Document intent to set errno on underflow
35717         only for underflow to zero.
35719         [BZ #16271]
35720         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35721         round-to-nearest then adjust result for other rounding modes.
35722         * include/fenv.h (fegetround): Use libm_hidden_proto.
35723         * math/fegetround.c (fegetround): Use libm_hidden_def.
35724         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35725         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35726         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35727         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35728         Likewise.
35729         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35730         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35731         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35732         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35734 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35736         [BZ #16077]
35737         * nss/Versions (libnss_files): Add
35738         _nss_files_gethostbyname3_r.
35739         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35740         New function.
35741         (HOST_DB_LOOKUP): Remove macro.
35742         (_nss_files_gethostbyname_r): Implement function without the
35743         HOST_DB_LOOKUP macro.
35744         (_nss_files_gethostbyname2_r): Likewise.
35746 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35748         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35750 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35752         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35753         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35754         warning.
35756 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35758         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35759         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35760         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35761         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35762         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35763         __fe_nomask_env_priv and attribute_hidden.
35764         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35765         (libc_feupdateenv_test_ppc): Likewise.
35766         (libc_feresetround_ppc): Likewise.
35767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35768         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35769         compat_symbol macro.
35770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35771         (__fe_nomask_env): Likewise.
35772         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35774 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35776         * string/Makefile: Remove ifunc tests.
35777         * string/test-string.h: Define TEST_IFUNC.
35778         * string/test-bcopy-ifunc.c: Remove.
35779         * string/test-bzero-ifunc.c: Likewise.
35780         * string/test-memccpy-ifunc.c: Likewise.
35781         * string/test-memchr-ifunc.c: Likewise.
35782         * string/test-memcmp-ifunc.c: Likewise.
35783         * string/test-memcpy-ifunc.c: Likewise.
35784         * string/test-memmem-ifunc.c: Likewise.
35785         * string/test-memmove-ifunc.c: Likewise.
35786         * string/test-mempcpy-ifunc.c: Likewise.
35787         * string/test-memrchr-ifunc.c: Likewise.
35788         * string/test-memset-ifunc.c: Likewise.
35789         * string/test-rawmemchr-ifunc.c: Likewise.
35790         * string/test-stpcpy-ifunc.c: Likewise.
35791         * string/test-stpncpy-ifunc.c: Likewise.
35792         * string/test-strcasecmp-ifunc.c: Likewise.
35793         * string/test-strcasestr-ifunc.c: Likewise.
35794         * string/test-strcat-ifunc.c: Likewise.
35795         * string/test-strchr-ifunc.c: Likewise.
35796         * string/test-strchrnul-ifunc.c: Likewise.
35797         * string/test-strcmp-ifunc.c: Likewise.
35798         * string/test-strcpy-ifunc.c: Likewise.
35799         * string/test-strcspn-ifunc.c: Likewise.
35800         * string/test-strlen-ifunc.c: Likewise.
35801         * string/test-strncasecmp-ifunc.c: Likewise.
35802         * string/test-strncat-ifunc.c: Likewise.
35803         * string/test-strncmp-ifunc.c: Likewise.
35804         * string/test-strncpy-ifunc.c: Likewise.
35805         * string/test-strnlen-ifunc.c: Likewise.
35806         * string/test-strpbrk-ifunc.c: Likewise.
35807         * string/test-strrchr-ifunc.c: Likewise.
35808         * string/test-strspn-ifunc.c: Likewise.
35809         * string/test-strstr-ifunc.c: Likewise.
35811 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35813         * benchtests/Makefile: Remove ifunc tests.
35814         * benchtests/bench-string.h: Define TEST_IFUNC.
35815         * benchtests/bench-bcopy-ifunc.c: Remove.
35816         * benchtests/bench-bzero-ifunc.c: Likewise.
35817         * benchtests/bench-memccpy-ifunc.c: Likewise.
35818         * benchtests/bench-memchr-ifunc.c: Likewise.
35819         * benchtests/bench-memcmp-ifunc.c: Likewise.
35820         * benchtests/bench-memcpy-ifunc.c: Likewise.
35821         * benchtests/bench-memmem-ifunc.c: Likewise.
35822         * benchtests/bench-memmove-ifunc.c: Likewise.
35823         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35824         * benchtests/bench-memrchr-ifunc.c: Likewise.
35825         * benchtests/bench-memset-ifunc.c: Likewise.
35826         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35827         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35828         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35829         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35830         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35831         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35832         * benchtests/bench-strcat-ifunc.c: Likewise.
35833         * benchtests/bench-strchr-ifunc.c: Likewise.
35834         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35835         * benchtests/bench-strcmp-ifunc.c: Likewise.
35836         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35837         * benchtests/bench-strcpy-ifunc.c: Likewise.
35838         * benchtests/bench-strcspn-ifunc.c: Likewise.
35839         * benchtests/bench-strlen-ifunc.c: Likewise.
35840         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35841         * benchtests/bench-strncat-ifunc.c: Likewise.
35842         * benchtests/bench-strncmp-ifunc.c: Likewise.
35843         * benchtests/bench-strncpy-ifunc.c: Likewise.
35844         * benchtests/bench-strnlen-ifunc.c: Likewise.
35845         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35846         * benchtests/bench-strrchr-ifunc.c: Likewise.
35847         * benchtests/bench-strsep-ifunc.c: Likewise.
35848         * benchtests/bench-strspn-ifunc.c: Likewise.
35849         * benchtests/bench-strstr-ifunc.c: Likewise.
35851 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35853         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35855 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35857         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35858         * rt/aio.h: Likewise.
35859         * sysdeps/gnu/bits/utmp.h: Likewise.
35860         * sysdeps/gnu/bits/utmpx.h: Likewise.
35861         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35862         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35863         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35864         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35865         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35866         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35867         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35868         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35869         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35870         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35871         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35872         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35873         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35875         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35876         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35877         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35878         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35879         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35880         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35881         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35882         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35883         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35884         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35885         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35886         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35887         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35888         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35889         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35890         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35891         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35892         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35893         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35894         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35895         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35896         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35897         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35898         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35899         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35900         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35901         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35902         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35904 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35906         [BZ #16245]
35907         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35908         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35910 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35912         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35913         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35914         Likewise.
35916 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35918         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35919         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35920         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35921         (__fesetround): Remove define.
35922         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35923         rounding and exceptions handling.
35924         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35925         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35926         (__fe_nomask_env): Likewise.
35927         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35928         __fegetround instead of fegetround.
35929         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35930         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35932 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35934         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35935         it's there.
35937         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35939 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35941         [BZ #11157]
35942         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35943         (encrypt_r): Likewise.
35944         * malloc/obstack.h (obstack_free): Likewise.
35945         * posix/unistd.h (encrypt): Likewise.
35947 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35949         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35950         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35951         DL_CALL_DT_FINI() that call the functions directly.
35952         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35953         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35954         * elf/dl-fini.c: Likewise.
35956 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35958         * malloc/hooks.c (memalign_check): Add alignment rounding.
35959         * malloc/malloc.c (_mid_memalign): New function.
35960         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35961         Implement by calling _mid_memalign.
35962         * manual/probes.texi (Memory Allocation Probes): Remove
35963         memory_valloc_retry and memory_pvalloc_retry.
35965 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35967         * locale/programs/locarchive.c (open_archive): Add const
35968         qualifier to ARCHIVEFNAME and copy default fname to
35969         DEFAULT_FNAME.
35971         [BZ #15601]
35972         * libio/tst-widetext.input: Rename Oriya to Odia.
35973         * locale/iso-639.def: Likewise.
35975         * manual/probes.texi (Mathematical Function Probes): Add
35976         documentation for sin, cos, asin and acos probes.
35977         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35978         (__sin32): Add slowasin probe.
35979         (__cos32): Add slowacos probe.
35980         (__mpsin): Add slowsin probe.
35981         (__mpcos): Add slowcos probe.
35983 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35985         [BZ #15483]
35986         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35987         thread-local __sim_exceptions_thread and global
35988         __sim_exceptions_global.
35989         (__sim_disabled_exceptions): Change to thread-local
35990         __sim_disabled_exceptions_thread and global
35991         __sim_disabled_exceptions_global.
35992         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35993         and global __sim_round_mode_global.
35994         (__simulate_exceptions): Use thread-local floating-point state and
35995         set global state from it as needed.
35996         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35997         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35998         __sim_round_mode_thread.
35999         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36000         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36001         and global __sim_exceptions_global.
36002         (__sim_disabled_exceptions): Change to thread-local
36003         __sim_disabled_exceptions_thread and global
36004         __sim_disabled_exceptions_global.
36005         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36006         and global __sim_round_mode_global.
36007         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36008         (SIM_SET_GLOBAL): Likewise.
36009         * sysdeps/powerpc/soft-fp/sfp-machine.h
36010         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36011         __sim_round_mode_thread.
36012         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36013         __sim_disabled_exceptions_thread.
36014         (__sim_exceptions): Change to __sim_exceptions_thread.
36015         (__sim_disabled_exceptions): Change to
36016         __sim_disabled_exceptions_thread.
36017         (__sim_round_mode): Change to __sim_round_mode_thread.
36018         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36019         thread-local floating-point state and set global state from it as
36020         needed.
36021         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36022         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36023         (__sim_disabled_exceptions): Remove extern declaration.
36024         (feenableexcept): Use thread-local floating-point state and set
36025         global state from it as needed.
36026         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36027         extern declaration.
36028         (__sim_disabled_exceptions): Likewise.
36029         (__sim_round_mode): Likewise.
36030         (__fegetenv): Use thread-local floating-point state.
36031         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36032         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36033         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36034         floating-point state and set global state from it as needed.
36035         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36036         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36037         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36038         Likewise.
36039         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36040         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36041         Likewise.
36042         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36043         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36044         Use __sim_round_mode_thread.
36045         * math/test-fenv-tls.c: New file.
36046         * math/Makefile (tests): Add test-fenv-tls.
36047         ($(objpfx)test-fenv-tls): Depend on
36048         $(common-objpfx)nptl/libpthread.so.
36050 2013-11-19  Andreas Schwab  <schwab@suse.de>
36052         * locale/programs/locale.c (show_info): Decode wordarray elements.
36053         * locale/categories.def (LC_MONETARY): Add element for
36054         _NL_MONETARY_CRNCYSTR.
36055         * locale/C-monetary.c (conversion_rate): New variable.
36056         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36057         element.
36059 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36061         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36062         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36064 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36066         * elf/Makefile (tst-auxv): New test.
36067         * elf/tst-auxv.c: New
36068         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36070 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36072         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36073         (hidden_proto): Caller changed.
36074         (hidden_tls_proto): New macro.
36075         (libc_hidden_tls_proto): Likewise.
36076         (rtld_hidden_tls_proto): Likewise.
36077         (libm_hidden_tls_proto): Likewise.
36078         (libresolv_hidden_tls_proto): Likewise.
36079         (librt_hidden_tls_proto): Likewise.
36080         (libdl_hidden_tls_proto): Likewise.
36081         (libnss_files_hidden_tls_proto): Likewise.
36082         (libnsl_hidden_tls_proto): Likewise.
36083         (libnss_nisplus_hidden_tls_proto): Likewise.
36084         (libutil_hidden_tls_proto): Likewise.
36086 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36088         [BZ #10253]
36089         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36090         (decompose_rpath): Defer expansion to fillin_rpath.
36091         (_dl_init_paths): Pass linkmap to fillin_rpath.
36093 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36095         * benchtests/Makefile: Add strsep.
36096         * benchtests/bench-strsep.c: New file: strsep benchtest.
36097         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36099 2013-11-18  Andreas Schwab  <schwab@suse.de>
36101         * locale/programs/locale.c (show_info) [case byte]: Check for
36102         '\377' instead of '\177'.
36103         * locale/C-monetary.c (not_available): Always use "\377".
36104         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36105         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36106         detect unavailable sign_posn locale elements.
36107         * locale/localeconv.c (__localeconv): For grouping and
36108         mon_grouping handle "\177" and "\377" like no grouping.
36109         (INT_ELEM): New macro.  Use it to set all numeric members.
36110         * locale/programs/ld-monetary.c (monetary_read)
36111         <tok_mon_grouping>: Normalize single -1 to the empty string.
36112         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36113         Likewise.
36115 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36117         [BZ #16055]
36118         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36119         when we match (nil).
36120         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36122 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36124         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36125         (NO_TEST_INLINE): Update value.
36126         (ERRNO_UNCHANGED): Likewise.
36127         (ERRNO_EDOM): Likewise.
36128         (ERRNO_ERANGE): Likewise.
36129         (IGNORE_RESULT): Likewise.
36130         (check_float_internal): Check signs of NaN results if
36131         TEST_NAN_SIGN used.
36132         (check_complex): Pass TEST_NAN_SIGN flag through to second
36133         check_float_internal call.
36134         (copysign_test_data): Add tests with quiet NaNs as second
36135         argument.  Use TEST_NAN_SIGN.
36136         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36137         TEST_NAN_SIGN.
36138         (signbit_test_data): Add tests of quiet NaN argument.
36139         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36141         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36142         $ignore_result.
36143         (parse_args): Handle function results specified as IGNORE.
36144         * math/libm-test.inc (IGNORE_RESULT): New macro.
36145         (check_float_internal): Do not check numerical result if flag
36146         IGNORE_RESULT set.
36147         (check_complex): Pass through IGNORE_RESULT to second
36148         check_float_internal call.
36149         (check_int): Do not check numerical result if flag IGNORE_RESULT
36150         set.
36151         (check_long): Likewise.
36152         (check_bool): Likewise.
36153         (check_longlong): Likewise.
36154         (lrint_test_data): Add tests of infinite and NaN arguments.
36155         (lrint_tonearest_test_data): Likewise.
36156         (lrint_towardzero_test_data): Likewise.
36157         (lrint_downward_test_data): Likewise.
36158         (lrint_upward_test_data): Likewise.
36159         (llrint_test_data): Likewise.
36160         (llrint_tonearest_test_data): Likewise.
36161         (llrint_towardzero_test_data): Likewise.
36162         (llrint_downward_test_data): Likewise.
36163         (llrint_upward_test_data): Likewise.
36164         (lround_test_data): Likewise.
36165         (llround_test_data): Likewise.
36167         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36168         (ERRNO_UNCHANGED): Update value.
36169         (ERRNO_EDOM): Likewise.
36170         (ERRNO_ERANGE): Likewise.
36171         (NO_TEST_INLINE_FLOAT): New macro.
36172         (NO_TEST_INLINE_DOUBLE): Likewise.
36173         (enable_test): New function.
36174         (RUN_TEST_f_f): Check enable_test before running test.
36175         (RUN_TEST_2_f): Likewise.
36176         (RUN_TEST_fff_f): Likewise.
36177         (RUN_TEST_c_f): Likewise.
36178         (RUN_TEST_f_f1): Likewise.
36179         (RUN_TEST_fF_f1): Likewise.
36180         (RUN_TEST_fI_f1): Likewise.
36181         (RUN_TEST_ffI_f1): Likewise.
36182         (RUN_TEST_c_c): Likewise.
36183         (RUN_TEST_cc_c): Likewise.
36184         (RUN_TEST_f_i): Likewise.
36185         (RUN_TEST_f_i_tg): Likewise.
36186         (RUN_TEST_ff_i_tg): Likewise.
36187         (RUN_TEST_f_b): Likewise.
36188         (RUN_TEST_f_b_tg): Likewise.
36189         (RUN_TEST_f_l): Likewise.
36190         (RUN_TEST_f_L): Likewise.
36191         (RUN_TEST_fFF_11): Likewise.
36192         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36193         conditionals.
36194         (cosh_test_data): Likewise.
36195         (exp_test_data): Likewise.
36196         (expm1_test_data): Likewise.
36197         (hypot_test_data): Likewise.
36198         (pow_test_data): Likewise.
36199         (sinh_test_data): Likewise.
36200         (tanh_test_data): Likewise.
36201         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36202         flags argument.
36204         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36205         tests with quiet NaN input and output.
36206         (acosh_test_data): Likewise.
36207         (asin_test_data): Likewise.
36208         (asinh_test_data): Likewise.
36209         (atan_test_data): Likewise.
36210         (atanh_test_data): Likewise.
36211         (atan2_test_data): Likewise.
36212         (cbrt_test_data): Likewise.
36213         (cos_test_data): Likewise.
36214         (cosh_test_data): Likewise.
36215         (erf_test_data): Likewise.
36216         (erfc_test_data): Likewise.
36217         (exp_test_data): Likewise.
36218         (exp10_test_data): Likewise.
36219         (exp2_test_data): Likewise.
36220         (expm1_test_data): Likewise.
36221         (hypot_test_data): Likewise.
36222         (j0_test_data): Likewise.
36223         (j1_test_data): Likewise.
36224         (jn_test_data): Likewise.
36225         (lgamma_test_data): Likewise.
36226         (log_test_data): Likewise.
36227         (log10_test_data): Likewise.
36228         (log1p_test_data): Likewise.
36229         (log2_test_data): Likewise.
36230         (pow_test_data): Likewise.
36231         (scalb_test_data): Likewise.
36232         (sin_test_data): Likewise.
36233         (sincos_test_data): Likewise.
36234         (sinh_test_data): Likewise.
36235         (tan_test_data): Likewise.
36236         (tanh_test_data): Likewise.
36237         (tgamma_test_data): Likewise.
36238         (y0_test_data): Likewise.
36239         (y1_test_data): Likewise.
36240         (yn_test_data): Likewise.
36242         [BZ #16167]
36243         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36244         argument being NaN and avoid computations with second argument in
36245         that case.
36246         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36247         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36248         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36250 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
36252         * locale/iso-639.def: Add Chitwani Tharu (the).
36254 2013-11-14  Andreas Schwab  <schwab@suse.de>
36256         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36257         word instead of empty string.
36259 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36262         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36264         (__fe_nomask_env): Likewise.
36266 2013-11-13  Steve Ellcey  <sellcey@mips.com>
36268         * benchtests/bench-timing.h: Include time.h.
36270 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
36272         [BZ #15997]
36273         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36274         to 3.4.0 for x32.
36275         * sysdeps/unix/sysv/linux/configure: Regenerated.
36277 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
36279         [BZ #16151]
36280         * stdlib/strtod_l.c (round_and_return): Do not consider
36281         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36282         exponent one less than half the least subnormal exponent.
36283         * stdlib/test-strtod-round-data: Add more tests.
36284         * stdlib/tst-strtod-round.c (tests): Regenerated.
36286 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36288         [BZ #14143]
36289         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36290         (__fe_mask_env): Likewise.
36291         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36292         libm_hidden_proto and add function prototype.
36293         (__fe_mask_env): Add function prototype.
36294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36295         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36297         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36299         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36301 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36303         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36304         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36306 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36308         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36309         of htab_find_slot().
36311 2013-11-11  David S. Miller  <davem@davemloft.net>
36313         [BZ #16150]
36314         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36315         symbol in the non-vis3 case in static builds.
36316         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36317         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36318         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36319         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36321 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
36323         [BZ #387]
36324         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36325         it is empty.
36327 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36329         * benchtests/Makefile: Add bench-strtod.
36330         * benchtests/bench-strtod.c: New file: strtod benchtest
36332 2013-11-11  Andreas Schwab  <schwab@suse.de>
36334         [BZ #16153]
36335         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36336         terminating NUL in key length.
36338 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36340         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36341         Add artificial ODP entry for vDSO symbol for PPC64.
36342         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36343         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36345 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36347         [BZ #15374]
36348         * nss/getent.c (services_keys): Recognize services starting with digit.
36350 2013-11-06  David S. Miller  <davem@davemloft.net>
36352         [BZ #15985]
36353         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36354         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36356 2013-11-06  Will Newton  <will.newton@linaro.org>
36358         * manual/memory.texi (Malloc Examples): Remove register
36359         keyword from examples.
36361 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
36363         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36365 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36367         [BZ #6981]
36368         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36369         depending on [__GCC_IEC_559 > 0].
36370         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36371         depending on [__GCC_IEC_559_COMPLEX > 0].
36373 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
36375         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36376         to iso-639.def.
36378 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
36380         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36382 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
36384         [BZ #16112]
36385         * malloc/malloc (malloc_info): Do not handle first bin as
36386         special case.
36388 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
36390         * locale/iso-639.def: Add Central Nahuatl (nhn).
36392 2013-11-01  Bruno Haible  <bruno@clisp.org>
36394         [BZ #7003]
36395         * manual/math.texi (BSD Random): Specify range upper bound as
36396         in POSIX.
36398 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
36400         * locale/iso-639.def: Add Meadow Mari (mhr).
36402 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
36404         [BZ #14752], [BZ #15763]
36405         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36406         Validate name.
36407         * rt/tst_shm.c: Add test for escaping directory.
36409 2013-10-31  Andreas Schwab  <schwab@suse.de>
36411         [BZ #15917]
36412         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36413         followed by 'x' as part of digit sequence.
36414         * stdio-common/tst-sscanf.c (double_tests2): New tests.
36416 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36418         [BZ #16037]
36419         * configure.ac: allow GNU Make 4.0 and greater.
36420         * configure: Regenerated.
36422 2013-10-30  Will Newton  <will.newton@linaro.org>
36424         [BZ #16038]
36425         * malloc/hooks.c (memalign_check): Limit alignment to the
36426         maximum representable power of two.
36427         * malloc/malloc.c (__libc_memalign): Likewise.
36428         * malloc/tst-memalign.c (do_test): Add test for very
36429         large alignment values.
36430         * malloc/tst-posix_memalign.c (do_test): Likewise.
36432 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36434         [BZ #11087]
36435         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36436         (munmap_chunk): Likewise.
36437         (mremap_chunk): Likewise.
36439 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36441         [BZ #15799]
36442         * stdlib/div.c (div): Remove obsolete code.
36443         * stdlib/ldiv.c (ldiv): Likewise.
36444         * stdlib/lldiv.c (lldiv): Likewise.
36446 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36448         [BZ #16071]
36449         * nss/nss_files/files-XXX.c (get_contents_ret): New
36450         enumerator.
36451         (get_contents): New function.
36452         (internal_getent): Use it.  Expand size of LINEBUFLEN.
36454 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
36456         * configure.in: Moved to ...
36457         * configure.ac: ... here. Change reference to configure.in
36458         to configure.ac.
36459         * sysdeps/arm/preconfigure.ac: ... here.
36460         configure.in to configure.ac.
36461         * sysdeps/gnu/configure.in: Moved to ...
36462         * sysdeps/gnu/configure.ac: ... here.
36463         * sysdeps/i386/configure.in: Moved to ...
36464         * sysdeps/i386/configure.ac: ... here.
36465         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36466         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36467         * sysdeps/mach/configure.in: Moved to ...
36468         * sysdeps/mach/configure.ac: ... here.
36469         * sysdeps/mach/hurd/configure.in: Moved to ...
36470         * sysdeps/mach/hurd/configure.ac: ... here.
36471         * sysdeps/powerpc/configure.in: Moved to ...
36472         * sysdeps/powerpc/configure.ac: ... here.
36473         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36474         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36475         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36476         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36477         * sysdeps/s390/s390-32/configure.in: Moved to ...
36478         * sysdeps/s390/s390-32/configure.ac: ... here.
36479         * sysdeps/s390/s390-64/configure.in: Moved to ...
36480         * sysdeps/s390/s390-64/configure.ac: ... here.
36481         * sysdeps/sh/configure.in: Moved to ...
36482         * sysdeps/sh/configure.ac: ... here.
36483         * sysdeps/sparc/configure.in: Moved to ...
36484         * sysdeps/sparc/configure.ac: ... here.
36485         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36486         * sysdeps/unix/sysv/linux/configure.ac: ... here.
36487         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36488         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36489         * sysdeps/x86_64/configure.in: Moved to ...
36490         * sysdeps/x86_64/configure.ac: ... here.
36491         * sysdeps/x86_64/preconfigure.in: Moved to ...
36492         * sysdeps/x86_64/preconfigure.ac: ... here.
36493         * aclocal.m4: Change reference to configure.in to configure.ac.
36494         * config.h.in: Likewise.
36495         * manual/install.texi: Likewise.
36496         * manual/maint.texi: Likewise.
36497         * Makefile: Likewise.
36498         * malloc/Makefile: Likewise.
36499         * nscd/Makefile: Likewise.
36500         * Makeconfig: Change reference to configure.in and
36501         preconfigure.in to configure.ac and preconfigure.ac
36502         respectively.
36503         * INSTALL: Regenerated.
36504         * configure: Likewise.
36505         * sysdeps/gnu/configure: Likewise.
36506         * sysdeps/i386/configure: Likewise.
36507         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36508         * sysdeps/mach/configure: Likewise.
36509         * sysdeps/mach/hurd/configure: Likewise.
36510         * sysdeps/powerpc/configure: Likewise.
36511         * sysdeps/powerpc/powerpc32/configure: Likewise.
36512         * sysdeps/powerpc/powerpc64/configure: Likewise.
36513         * sysdeps/s390/s390-32/configure: Likewise.
36514         * sysdeps/s390/s390-64/configure: Likewise.
36515         * sysdeps/sh/configure: Likewise.
36516         * sysdeps/sparc/configure: Likewise.
36517         * sysdeps/unix/sysv/linux/configure: Likewise.
36518         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
36519         * sysdeps/x86_64/configure: Likewise.
36520         * sysdeps/x86_64/preconfigure: Likewise.
36522 2013-10-29  Andreas Schwab  <schwab@suse.de>
36524         * stdio-common/Makefile (tst-swscanf-ENV): Define.
36526 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36528         * benchtests/pow-inputs: Add new inputs.
36530         * benchtests/exp-inputs: Add new inputs.
36532         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
36533         conditional check for return value.
36534         (__cos32): Likewise.
36536 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36538         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
36539         to provide a boost for large inputs with word alignment.
36540         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
36541         implementation based on optimized PPC64 strcpy.
36542         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
36543         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
36544         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
36545         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
36547 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36549         [BZ #2801]
36550         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
36552 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36554         [BZ #14876]
36555         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
36556         * time/tst-strptime.c (day_tests): Add testcase.
36558 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36560         [BZ #14029]
36561         * manual/pattern.texi: Acknowledge that fnmatch can fail.
36563 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
36565         [BZ #16074]
36566         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
36567         MAP_FAILED on error.
36569 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36571         [BZ #16072]
36572         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
36573         heap for large requests.
36575 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
36577         [BZ #9954]
36578         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
36579         result if the result has no associated interface.
36580         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
36581         interface for all 127.X.Y.Z addresses.
36583 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
36585         * locale/iso-639.def: Add Ligurian (lij)
36587 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
36589         [BZ #15825]
36590         * sunrpc/rpc_main.c: Document rpcgen -5.
36592 2013-10-19  Michael Stahl  <mstahl@redhat.com>
36594         * elf/rtld.c (do_preload): Print the reason why preloading failed.
36596 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36598         [BZ #10278]
36599         * posix/glob.c: Match only directories when trailing slash is present.
36600         * posix/tst-gnuglob.c (my_opendir): Do not open files.
36601         (main): Add testcase.
36603 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36605         [BZ #15670]
36606         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36608 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
36610         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36611         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36612         AUTH_DES and cindex for FIPS 140-2.
36613         (DES Encryption): Add cindex FIPS 46-3.
36615         * locale/locarchive.h (struct locarhandle): Add fname.
36616         * locale/programs/localedef.c (main): Pass ARGV[remaining]
36617         if an optional argument was specified to --list-archive,
36618         otherwise NULL.
36619         * locale/programs/locarchive.c (show_archive_content): Take new
36620         argument fname and pass it via ah.fname to open_archive.
36621         * locale/programs/localedef.h: Update decl.
36622         (open_archive): If AH->fname is non-null, open that file
36623         rather than the default file name, and don't ignore ENOENT.
36624         (create_archive): Set AH.fname to NULL.
36625         (delete_locales_from_archive): Likewise.
36626         (add_locales_to_archive): Likewise.
36627         * locale/programs/locfile.c (write_all_categories): Likewise.
36629 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
36630             Aldy Hernandez  <aldyh@redhat.com>
36632         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36633         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36634         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36635         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36636         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36637         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36638         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36639         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36640         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
36641         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
36642         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
36643         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
36644         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
36645         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
36646         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
36647         Likewise.
36648         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
36649         Likewise.
36650         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
36651         Likewise.
36652         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
36653         Likewise.
36654         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
36655         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
36656         Likewise.
36657         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
36658         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
36659         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
36660         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
36661         Likewise.
36662         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
36663         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
36664         * sysdeps/powerpc/preconfigure: Likewise.
36665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
36666         Likewise.
36667         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
36668         Replace contents of file by #include of <fenv_libc.h>.
36669         * sysdeps/powerpc/soft-fp/sfp-machine.h
36670         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
36671         and <sys/prctl.h>.
36672         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
36673         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
36674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
36675         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
36676         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
36677         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
36678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
36679         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
36680         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
36681         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
36682         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
36683         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
36684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36685         Allow copysignl PLT reference to be missing.
36687 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
36688             Joseph Myers  <joseph@codesourcery.com
36690         [BZ #15948]
36691         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
36692         single character.
36693         (add_to_tablewc): Assert sequence of wide characters is nonempty.
36695 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36697         * elf/tst-tls-dlinfo.c: Don't include tls.h.
36698         * elf/tst-tls1.c: Likewise.
36699         * elf/tst-tls10.h: Likewise.
36700         * elf/tst-tls14.c: Likewise.
36701         * elf/tst-tls2.c: Likewise.
36702         * elf/tst-tls3.c: Likewise.
36703         * elf/tst-tls4.c: Likewise.
36704         * elf/tst-tls5.c: Likewise.
36705         * elf/tst-tls6.c: Likewise.
36706         * elf/tst-tls7.c: Likewise.
36707         * elf/tst-tls8.c: Likewise.
36708         * elf/tst-tls9.c: Likewise.
36709         * elf/tst-tlsmod1.c: Likewise.
36710         * elf/tst-tlsmod13.c: Likewise.
36711         * elf/tst-tlsmod13a.c: Likewise.
36712         * elf/tst-tlsmod14a.c: Likewise.
36713         * elf/tst-tlsmod16a.c: Likewise.
36714         * elf/tst-tlsmod16b.c: Likewise.
36715         * elf/tst-tlsmod2.c: Likewise.
36716         * elf/tst-tlsmod3.c: Likewise.
36717         * elf/tst-tlsmod4.c: Likewise.
36718         * elf/tst-tlsmod5.c: Likewise.
36719         * elf/tst-tlsmod6.c: Likewise.
36721 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36723         [BZ #12486]
36724         * malloc/malloc.c: remove checks for statistics.
36726 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36728         [BZ #15277]
36729         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36730         * inet/tst-network.c: Add testcase.
36732 2013-10-17  Andreas Schwab  <schwab@suse.de>
36734         [BZ #15218]
36735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36736         to determine canonical name.
36738 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36740         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36741         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36743         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36745         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36746         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36747         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36748         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36749         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36750         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36751         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36752         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36753         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36754         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36755         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36756         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36757         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36758         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36759         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36760         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36761         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36762         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36763         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36764         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36765         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36766         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36767         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36768         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36769         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36770         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36771         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36772         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36773         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36774         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36775         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36776         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36777         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36778         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36779         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36780         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36781         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36782         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36783         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36784         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36785         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36786         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36787         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36788         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36789         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36790         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36791         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36792         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36793         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36794         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36795         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36796         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36797         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36799 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36801         [BZ #16041]
36802         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36803         make result into a quiet NaN.
36805 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36807         * soft-fp/adddf3.c: Fix horizontal whitespace.
36808         * soft-fp/addsf3.c: Likewise.
36809         * soft-fp/addtf3.c: Likewise.
36810         * soft-fp/divdf3.c: Likewise.
36811         * soft-fp/divsf3.c: Likewise.
36812         * soft-fp/divtf3.c: Likewise.
36813         * soft-fp/double.h: Likewise.
36814         * soft-fp/eqdf2.c: Likewise.
36815         * soft-fp/eqsf2.c: Likewise.
36816         * soft-fp/eqtf2.c: Likewise.
36817         * soft-fp/extenddftf2.c: Likewise.
36818         * soft-fp/extended.h: Likewise.
36819         * soft-fp/extendsfdf2.c: Likewise.
36820         * soft-fp/extendsftf2.c: Likewise.
36821         * soft-fp/extendxftf2.c: Likewise.
36822         * soft-fp/fixdfdi.c: Likewise.
36823         * soft-fp/fixdfsi.c: Likewise.
36824         * soft-fp/fixdfti.c: Likewise.
36825         * soft-fp/fixsfdi.c: Likewise.
36826         * soft-fp/fixsfsi.c: Likewise.
36827         * soft-fp/fixsfti.c: Likewise.
36828         * soft-fp/fixtfdi.c: Likewise.
36829         * soft-fp/fixtfsi.c: Likewise.
36830         * soft-fp/fixtfti.c: Likewise.
36831         * soft-fp/fixunsdfdi.c: Likewise.
36832         * soft-fp/fixunsdfsi.c: Likewise.
36833         * soft-fp/fixunsdfti.c: Likewise.
36834         * soft-fp/fixunssfdi.c: Likewise.
36835         * soft-fp/fixunssfsi.c: Likewise.
36836         * soft-fp/fixunssfti.c: Likewise.
36837         * soft-fp/fixunstfdi.c: Likewise.
36838         * soft-fp/fixunstfsi.c: Likewise.
36839         * soft-fp/fixunstfti.c: Likewise.
36840         * soft-fp/floatdidf.c: Likewise.
36841         * soft-fp/floatdisf.c: Likewise.
36842         * soft-fp/floatditf.c: Likewise.
36843         * soft-fp/floatsidf.c: Likewise.
36844         * soft-fp/floatsisf.c: Likewise.
36845         * soft-fp/floatsitf.c: Likewise.
36846         * soft-fp/floattidf.c: Likewise.
36847         * soft-fp/floattisf.c: Likewise.
36848         * soft-fp/floattitf.c: Likewise.
36849         * soft-fp/floatundidf.c: Likewise.
36850         * soft-fp/floatundisf.c: Likewise.
36851         * soft-fp/floatunditf.c: Likewise.
36852         * soft-fp/floatunsidf.c: Likewise.
36853         * soft-fp/floatunsisf.c: Likewise.
36854         * soft-fp/floatunsitf.c: Likewise.
36855         * soft-fp/floatuntidf.c: Likewise.
36856         * soft-fp/floatuntisf.c: Likewise.
36857         * soft-fp/floatuntitf.c: Likewise.
36858         * soft-fp/fmadf4.c: Likewise.
36859         * soft-fp/fmasf4.c: Likewise.
36860         * soft-fp/fmatf4.c: Likewise.
36861         * soft-fp/gedf2.c: Likewise.
36862         * soft-fp/gesf2.c: Likewise.
36863         * soft-fp/getf2.c: Likewise.
36864         * soft-fp/ledf2.c: Likewise.
36865         * soft-fp/lesf2.c: Likewise.
36866         * soft-fp/letf2.c: Likewise.
36867         * soft-fp/muldf3.c: Likewise.
36868         * soft-fp/mulsf3.c: Likewise.
36869         * soft-fp/multf3.c: Likewise.
36870         * soft-fp/negdf2.c: Likewise.
36871         * soft-fp/negsf2.c: Likewise.
36872         * soft-fp/negtf2.c: Likewise.
36873         * soft-fp/op-1.h: Likewise.
36874         * soft-fp/op-2.h: Likewise.
36875         * soft-fp/op-4.h: Likewise.
36876         * soft-fp/op-8.h: Likewise.
36877         * soft-fp/op-common.h: Likewise.
36878         * soft-fp/quad.h: Likewise.
36879         * soft-fp/single.h: Likewise.
36880         * soft-fp/soft-fp.h: Likewise.
36881         * soft-fp/sqrtdf2.c: Likewise.
36882         * soft-fp/sqrtsf2.c: Likewise.
36883         * soft-fp/sqrttf2.c: Likewise.
36884         * soft-fp/subdf3.c: Likewise.
36885         * soft-fp/subsf3.c: Likewise.
36886         * soft-fp/subtf3.c: Likewise.
36887         * soft-fp/truncdfsf2.c: Likewise.
36888         * soft-fp/trunctfdf2.c: Likewise.
36889         * soft-fp/trunctfsf2.c: Likewise.
36890         * soft-fp/trunctfxf2.c: Likewise.
36891         * soft-fp/unorddf2.c: Likewise.
36892         * soft-fp/unordsf2.c: Likewise.
36893         * soft-fp/unordtf2.c: Likewise.
36895 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36897         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36898         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36900 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36902         * elf/dl-libc.c: Clear initfini list after freeing.
36904 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36906         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36907         * soft-fp/addsf3.c: Likewise.
36908         * soft-fp/addtf3.c: Likewise.
36909         * soft-fp/divdf3.c: Likewise.
36910         * soft-fp/divsf3.c: Likewise.
36911         * soft-fp/divtf3.c: Likewise.
36912         * soft-fp/double.h: Likewise.
36913         * soft-fp/eqdf2.c: Likewise.
36914         * soft-fp/eqsf2.c: Likewise.
36915         * soft-fp/eqtf2.c: Likewise.
36916         * soft-fp/extenddftf2.c: Likewise.
36917         * soft-fp/extended.h: Likewise.
36918         * soft-fp/extendsfdf2.c: Likewise.
36919         * soft-fp/extendsftf2.c: Likewise.
36920         * soft-fp/extendxftf2.c: Likewise.
36921         * soft-fp/fixdfdi.c: Likewise.
36922         * soft-fp/fixdfsi.c: Likewise.
36923         * soft-fp/fixdfti.c: Likewise.
36924         * soft-fp/fixsfdi.c: Likewise.
36925         * soft-fp/fixsfsi.c: Likewise.
36926         * soft-fp/fixsfti.c: Likewise.
36927         * soft-fp/fixtfdi.c: Likewise.
36928         * soft-fp/fixtfsi.c: Likewise.
36929         * soft-fp/fixtfti.c: Likewise.
36930         * soft-fp/fixunsdfdi.c: Likewise.
36931         * soft-fp/fixunsdfsi.c: Likewise.
36932         * soft-fp/fixunsdfti.c: Likewise.
36933         * soft-fp/fixunssfdi.c: Likewise.
36934         * soft-fp/fixunssfsi.c: Likewise.
36935         * soft-fp/fixunssfti.c: Likewise.
36936         * soft-fp/fixunstfdi.c: Likewise.
36937         * soft-fp/fixunstfsi.c: Likewise.
36938         * soft-fp/fixunstfti.c: Likewise.
36939         * soft-fp/floatdidf.c: Likewise.
36940         * soft-fp/floatdisf.c: Likewise.
36941         * soft-fp/floatditf.c: Likewise.
36942         * soft-fp/floatsidf.c: Likewise.
36943         * soft-fp/floatsisf.c: Likewise.
36944         * soft-fp/floatsitf.c: Likewise.
36945         * soft-fp/floattidf.c: Likewise.
36946         * soft-fp/floattisf.c: Likewise.
36947         * soft-fp/floattitf.c: Likewise.
36948         * soft-fp/floatundidf.c: Likewise.
36949         * soft-fp/floatundisf.c: Likewise.
36950         * soft-fp/floatunsidf.c: Likewise.
36951         * soft-fp/floatunsisf.c: Likewise.
36952         * soft-fp/floatuntidf.c: Likewise.
36953         * soft-fp/floatuntisf.c: Likewise.
36954         * soft-fp/floatuntitf.c: Likewise.
36955         * soft-fp/fmadf4.c: Likewise.
36956         * soft-fp/fmasf4.c: Likewise.
36957         * soft-fp/fmatf4.c: Likewise.
36958         * soft-fp/gedf2.c: Likewise.
36959         * soft-fp/gesf2.c: Likewise.
36960         * soft-fp/getf2.c: Likewise.
36961         * soft-fp/ledf2.c: Likewise.
36962         * soft-fp/lesf2.c: Likewise.
36963         * soft-fp/letf2.c: Likewise.
36964         * soft-fp/muldf3.c: Likewise.
36965         * soft-fp/mulsf3.c: Likewise.
36966         * soft-fp/multf3.c: Likewise.
36967         * soft-fp/negdf2.c: Likewise.
36968         * soft-fp/negsf2.c: Likewise.
36969         * soft-fp/negtf2.c: Likewise.
36970         * soft-fp/op-1.h: Likewise.
36971         * soft-fp/op-2.h: Likewise.
36972         * soft-fp/op-4.h: Likewise.
36973         * soft-fp/op-8.h: Likewise.
36974         * soft-fp/op-common.h: Likewise.
36975         * soft-fp/quad.h: Likewise.
36976         * soft-fp/single.h: Likewise.
36977         * soft-fp/soft-fp.h: Likewise.
36978         * soft-fp/sqrtdf2.c: Likewise.
36979         * soft-fp/sqrtsf2.c: Likewise.
36980         * soft-fp/sqrttf2.c: Likewise.
36981         * soft-fp/subdf3.c: Likewise.
36982         * soft-fp/subsf3.c: Likewise.
36983         * soft-fp/subtf3.c: Likewise.
36984         * soft-fp/truncdfsf2.c: Likewise.
36985         * soft-fp/trunctfdf2.c: Likewise.
36986         * soft-fp/trunctfsf2.c: Likewise.
36987         * soft-fp/trunctfxf2.c: Likewise.
36988         * soft-fp/unorddf2.c: Likewise.
36989         * soft-fp/unordsf2.c: Likewise.
36990         * soft-fp/unordtf2.c: Likewise.
36992 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36994         [BZ #15672]
36995         * misc/error.c (error_tail): Fix possible buffer overflow.
36997 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36999         [BZ #13028]
37000         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37001         address.
37003 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37005         [BZ #832]
37006         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37007         testing pipefail option.
37009 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37011         * soft-fp/double.h: Indent preprocessor directives inside #if.
37012         * soft-fp/extended.h: Likewise.
37013         * soft-fp/op-2.h: Likewise.
37014         * soft-fp/op-4.h: Likewise.
37015         * soft-fp/op-common.h: Likewise.
37016         * soft-fp/quad.h: Likewise.
37017         * soft-fp/single.h: Likewise.
37018         * soft-fp/soft-fp.h: Likewise.
37020 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37022         * iconv/iconv_prog.c: Fix typos.
37023         * stdio-common/psiginfo-data.h: Likewise.
37025 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37027         [BZ #15764]
37028         * locale/setlocale.c: Fix typo.
37030 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37032         [BZ #16036]
37033         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37034         signaling NaN arguments.
37035         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37036         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37038         [BZ #14910]
37039         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37040         unordered operands.
37041         * soft-fp/gesf2.c (__gesf2): Likewise.
37042         * soft-fp/getf2.c (__getf2): Likewise.
37043         * soft-fp/ledf2.c (__ledf2): Likewise.
37044         * soft-fp/lesf2.c (__lesf2): Likewise.
37045         * soft-fp/letf2.c (__letf2): Likewise.
37047         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37048         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37049         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37050         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37051         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37052         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37053         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37054         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37055         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37056         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37057         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37058         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37059         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37060         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37061         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37062         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37063         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37064         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37065         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37066         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37067         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37068         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37069         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37070         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37071         * soft-fp/floattidf.c (__floattidf): Likewise.
37072         * soft-fp/floattisf.c (__floattisf): Likewise.
37073         * soft-fp/floattitf.c (__floattitf): Likewise.
37074         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37075         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37076         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37077         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37078         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37079         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37080         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37081         * soft-fp/gesf2.c (__gesf2): Likewise.
37082         * soft-fp/getf2.c (__getf2): Likewise.
37083         * soft-fp/ledf2.c (__ledf2): Likewise.
37084         * soft-fp/lesf2.c (__lesf2): Likewise.
37085         * soft-fp/letf2.c (__letf2): Likewise.
37087         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37088         Undefine and redefine.
37089         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37090         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37091         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37092         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37093         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37094         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37095         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37096         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37097         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37098         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37099         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37100         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37101         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37102         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37103         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37105         [BZ #16032]
37106         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37107         without decrementing exponent if mantissa >= that for the
37108         denominator, not >.
37109         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37110         denominator, not >.  Decrement exponent in < case instead of
37111         incrementing in >= case.
37112         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37113         without decrementing exponent if mantissa >= that for the
37114         denominator, not >.
37116         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37117         computing saturated result for unsigned overflow.
37119 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37120             Jeff Law  <law@redhat.com>
37122         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37123         (atan2Mp): Add systemtap probe marker.
37124         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37125         (__ieee754_log): Add systemtap probe marker.
37126         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37127         (atanMp): Add systemtap probe marker.
37128         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37129         (tanMp): Add systemtap probe marker.
37130         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37131         (__slowexp): Add systemtap probe marker.
37132         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37133         (__slowpow): Add systemtap probe marker.
37134         * manual/probes.texi: Document probes.
37136 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37138         [BZ #15362]
37139         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37140         written.
37141         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37142         written.
37143         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37144         written to buffer but not flushed.
37145         * libio/iofwrite_u.c:  Likewise.
37146         * libio/iopadn.c:  Return bytes returned even if EOF was
37147         encountered.
37148         * libio/iowpadn.c:  Likewise.
37149         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37150         if _IO_padn does not write the whole buffer.
37151         [!COMPILE_WPRINTF] (PAD): Likewise.
37153 2013-10-10  David S. Miller  <davem@davemloft.net>
37155         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37156         directory block.
37158 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37160         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37161         instead of FSF address.
37162         * soft-fp/fixdfti.c: Likewise.
37163         * soft-fp/fixsfti.c: Likewise.
37164         * soft-fp/fixtfti.c: Likewise.
37165         * soft-fp/fixunsdfti.c: Likewise.
37166         * soft-fp/fixunssfti.c: Likewise.
37167         * soft-fp/fixunstfti.c: Likewise.
37168         * soft-fp/floattidf.c: Likewise.
37169         * soft-fp/floattisf.c: Likewise.
37170         * soft-fp/floattitf.c: Likewise.
37171         * soft-fp/floatuntidf.c: Likewise.
37172         * soft-fp/floatuntisf.c: Likewise.
37173         * soft-fp/floatuntitf.c: Likewise.
37174         * soft-fp/trunctfxf2.c: Likewise.
37176         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37177         * soft-fp/fixdfti.c: Likewise.
37178         * soft-fp/fixsfti.c: Likewise.
37179         * soft-fp/fixtfti.c: Likewise.
37180         * soft-fp/fixunsdfti.c: Likewise.
37181         * soft-fp/fixunssfti.c: Likewise.
37182         * soft-fp/fixunstfti.c: Likewise.
37183         * soft-fp/floattidf.c: Likewise.
37184         * soft-fp/floattisf.c: Likewise.
37185         * soft-fp/floattitf.c: Likewise.
37186         * soft-fp/floatuntidf.c: Likewise.
37187         * soft-fp/floatuntisf.c: Likewise.
37188         * soft-fp/floatuntitf.c: Likewise.
37189         * soft-fp/trunctfxf2.c: Likewise.
37191 2013-10-10  David S. Miller  <davem@davemloft.net>
37193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37195 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37197         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37198         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37199         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37200         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37201         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37202         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37203         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37205         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37206         for NaNs before doing comparisons on argument.
37207         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37208         Likewise.
37210 2013-10-10  Will Newton  <will.newton@linaro.org>
37212         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37213         passed to _int_memalign does not overflow.
37215 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37217         * scripts/bench.pl: Add include-sources directive.
37218         * benchtests/README: Update documentation.
37220 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37222         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37223         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37224         instead of FP_INIT_ROUNDMODE.
37225         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37226         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37228         [BZ #16034]
37229         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
37230         copy class of input value.
37231         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
37232         not handle exceptions.
37233         * soft-fp/negsf2.c (__negsf2): Likewise.
37234         * soft-fp/negtf2.c (__negtf2): Likewise.
37235         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37237 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
37239         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37240         semicolon.  From Linux kernel.
37242 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
37244         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37246 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
37248         [BZ #156]
37249         * manual/socket.texi: Added statement about buffer
37250         for gethostbyname2_r.
37252 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
37254         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37255         Use .p2align directive instead, throughout.
37256         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37257         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37258         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37259         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37260         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37261         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37262         * sysdeps/x86_64/strchr.S: Likewise.
37263         * sysdeps/x86_64/strrchr.S: Likewise.
37265 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37267         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37269         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37271         * sysdeps/generic/math_private.h (__mpsin1): Remove
37272         declaration.
37273         (__mpcos1): Likewise.
37274         (__mpsin): New argument __range_reduce.
37275         (__mpcos): Likewise.
37276         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37277         (slow): Use __mpsin and __mpcos.
37278         (slow1): Likewise.
37279         (slow2): Likewise.
37280         (sloww): Likewise.
37281         (sloww1): Likewise.
37282         (sloww2): Likewise.
37283         (bsloww): Likewise.
37284         (bsloww1): Likewise.
37285         (bsloww2): Likewise.
37286         (cslow2): Likewise.
37287         (csloww): Likewise.
37288         (csloww1): Likewise.
37289         (csloww2): Likewise.
37290         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37291         range_reduce.  Merge in __mpsin1.
37292         (__mpcos): Likewise.
37293         (__mpsin1): Remove.
37294         (__mpcos1): Likewise.
37296 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
37298         * locale/loadlocale.c (_nl_intern_locale_data): Use
37299         LOCFILE_ALIGNED_P.
37300         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37301         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37302         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37303         obstack data is appropriately aligned.
37304         (obstack_int32_grow_fast): Likewise.
37305         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37306         * locale/programs/locfile.c (add_locale_uint32): Likewise.
37307         (add_locale_uint32_array): Likewise.
37309 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37311         * benchtests/Makefile: Remove ARGLIST and RET variables.
37312         ($(objpfx)bench-%.c): Pass only function name to the script.
37313         * benchtests/README: Update documentation.
37314         * benchtests/acos-inputs: Add new directives.
37315         * benchtests/acosh-inputs: Likewise.
37316         * benchtests/asin-inputs: Likewise.
37317         * benchtests/asinh-inputs: Likewise.
37318         * benchtests/atan-inputs: Likewise.
37319         * benchtests/atanh-inputs: Likewise.
37320         * benchtests/cos-inputs: Likewise.
37321         * benchtests/cosh-inputs: Likewise.
37322         * benchtests/exp-inputs: Likewise.
37323         * benchtests/log-inputs: Likewise.
37324         * benchtests/pow-inputs: Likewise.
37325         * benchtests/rint-inputs: Likewise.
37326         * benchtests/sin-inputs: Likewise.
37327         * benchtests/sinh-inputs: Likewise.
37328         * benchtests/tan-inputs: Likewise.
37329         * benchtests/tanh-inputs: Likewise.
37330         * scripts/bench.pl: Add support for new directives.
37332 2013-10-07  Alan Modra  <amodra@gmail.com>
37334         * README: Fix careless merge.
37336 2013-10-05  Alan Modra  <amodra@gmail.com>
37338         * NEWS: Mention powerpc64le support and bugs fixed.
37339         * README: Both big-endian and little-endian powerpc64 supported.
37341 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37343         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37344         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37345         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37346         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37348 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
37350         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37351         match prototype.
37353 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
37355         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37356         Move -mhard-float appending from
37357         ports/sysdeps/powerpc/powerpc32/Makefile.
37358         [$(with-fp) = yes] (ASFLAGS): Likewise.
37359         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37360         * sysdeps/powerpc/nofpu: Move directory from
37361         ports/sysdeps/powerpc/nofpu.
37362         * sysdeps/powerpc/soft-fp: Move directory from
37363         ports/sysdeps/powerpc/soft-fp.
37364         * sysdeps/powerpc/powerpc32/405: Move directory from
37365         ports/sysdeps/powerpc/powerpc32/405.
37366         * sysdeps/powerpc/powerpc32/440: Move directory from
37367         ports/sysdeps/powerpc/powerpc32/440.
37368         * sysdeps/powerpc/powerpc32/464: Move directory from
37369         ports/sysdeps/powerpc/powerpc32/464.
37370         * sysdeps/powerpc/powerpc32/476: Move directory from
37371         ports/sysdeps/powerpc/powerpc32/476.
37372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37373         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37375         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37377         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37379         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37381         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37382         * README: Update for powerpc-*-linux-gnu software floating point
37383         support in libc.
37385         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37386         case to powerpc/powerpc32*.
37387         * sysdeps/unix/sysv/linux/configure: Regenerated.
37389         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37390         (_FPU_MASK_OM): Define as 0x04.
37391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37392         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37393         0x00c10080.
37394         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37395         0x0000003c.
37396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37399         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37400         getcontext_e500.
37401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37402         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37403         setcontext_e500.
37404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37405         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37406         and setcontext_e500.
37408 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
37410         * locale/iso-3166.def: Update iso-1366.def and related occurrences
37412 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37414         * manual/threads.texi (Default Thread Attributes): Fix typo.
37416 2013-10-04  Will Newton  <will.newton@linaro.org>
37418         * malloc/Makefile: Add tst-memalign.
37419         * malloc/tst-memalign.c: New file.
37421         * malloc/tst-posix_memalign.c: Add comments.
37422         (do_test): Add comments and call free on all potentially
37423         allocated pointers. Add space after cast.
37425         * malloc/tst-pvalloc.c: Add comments.
37426         (do_test): Add comments and call free on all potentially
37427         allocated pointers. Remove duplicate check for NULL pointer.
37428         Add space after cast.
37430         * malloc/tst-valloc.c: Add comments.
37431         (do_test): Add comments and call free on all potentially
37432         allocated pointers. Remove duplicate check for NULL pointer.
37433         Add space after cast.
37435 2013-10-04  Alan Modra  <amodra@gmail.com>
37437         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37438         Use stdint types in rather than __attribute__((mode())).
37439         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37441 2013-10-04  Alan Modra  <amodra@gmail.com>
37443         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37444         Correct handling of unaligned relocs for little-endian.
37445         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37447 2013-10-04  Alan Modra  <amodra@gmail.com>
37449         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37450         * configure: Regenerate.
37451         * nptl/shlib-versions: Powerpc*le starts at 2.18.
37452         * shlib-versions: Likewise.
37454 2013-10-04  Alan Modra  <amodra@gmail.com>
37456         * string/tester.c (test_memrchr): Increment reported test cycle.
37458 2013-10-04  Alan Modra  <amodra@gmail.com>
37460         * string/test-memcpy.c (do_one_test): When reporting errors, print
37461         string address and don't overrun end of string.
37463 2013-10-04  Alan Modra  <amodra@gmail.com>
37465         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37466         insrdi.  Make better use of reg selection to speed exit slightly.
37467         Schedule entry path a little better.  Remove useless "are we done"
37468         checks on entry to main loop.  Handle wrapping around zero address.
37469         Correct main loop count.  Handle single left-over word from main
37470         loop inline rather than by using loop_small.  Remove extra word
37471         case in loop_small caused by wrong loop count.  Add little-endian
37472         support.
37473         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37474         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
37475         cache hint.
37476         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37477         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37478         support.  Avoid rlwimi.
37479         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37481 2013-10-04  Alan Modra  <amodra@gmail.com>
37483         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37484         insrdi.  Formatting.
37485         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37486         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37487         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37488         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37489         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37490         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37492 2013-10-04  Alan Modra  <amodra@gmail.com>
37494         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37495         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37496         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37497         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37498         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37499         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37500         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37501         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37502         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
37503         use of regs.  Use power7 mtocrf.  Tidy function tails.
37505 2013-10-04  Alan Modra  <amodra@gmail.com>
37507         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37508         Formatting.  Consistently use rXXX register defines or rN defines.
37509         Use early exit labels that avoid restoring unused non-volatile regs.
37510         Make cr field use more consistent with rWORDn compares.  Rename
37511         regs used as shift registers for unaligned loop, using rN defines
37512         for short lifetime/multiple use regs.
37513         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37514         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
37515         addi 1,1,64 to pop stack frame.  Simplify return value code.
37516         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37518 2013-10-04  Alan Modra  <amodra@gmail.com>
37520         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
37521         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
37522         rather than rlwimi.
37523         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
37524         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
37525         little-endian support.  Correct typos.
37526         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
37527         rather than rlwimi.
37528         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
37529         in loop and entry code to keep "and." results.
37530         (strchr): Add little-endian support.  Comment.  Move cntlzd
37531         earlier in tail.
37532         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
37534 2013-10-04  Alan Modra  <amodra@gmail.com>
37536         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
37537         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
37538         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
37539         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37541 2013-10-04  Alan Modra  <amodra@gmail.com>
37543         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
37544         (rTMP): Define as r11.
37545         (strcmp): Add little-endian support.  Optimise tail.
37546         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
37547         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37548         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37549         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37550         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37551         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37552         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37554 2013-10-04  Alan Modra  <amodra@gmail.com>
37556         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
37557         little-endian support.  Remove unnecessary "are we done" tests.
37558         Handle "s" wrapping around zero and extremely large "size".
37559         Correct main loop count.  Handle single left-over word from main
37560         loop inline rather than by using small_loop.  Correct comments.
37561         Delete "zero" tail, use "end_max" instead.
37562         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
37564 2013-10-04  Alan Modra  <amodra@gmail.com>
37566         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
37567         support.  Don't branch over align.
37568         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
37569         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
37570         support.  Rearrange tmp reg use to suit.  Comment.
37571         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
37573 2013-10-04  Alan Modra  <amodra@gmail.com>
37575         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
37577 2013-10-04  Alan Modra  <amodra@gmail.com>
37579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
37580         conditional form of branch and link when obtaining pc.
37581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37583 2013-10-04  Alan Modra  <amodra@gmail.com>
37585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37586         HIWORD/LOWORD.
37587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37590 2013-10-04  Alan Modra  <amodra@gmail.com>
37592         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37593         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37594         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37595         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37596         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37597         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37598         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37599         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37600         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37601         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37603 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37604             Alistair Popple <alistair@ozlabs.au.ibm.com>
37605             Alan Modra <amodra@gmail.com>
37607         [BZ #15723]
37608         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37609         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37610         _dl_hwcap access for little-endian.
37611         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
37612         destroy vmx regs when saving unaligned.
37613         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37614         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
37615         destroy vmx regs when saving unaligned.
37617 2013-10-04  Alan Modra  <amodra@gmail.com>
37619         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37620         Don't use a union to pack hi/low value.
37622 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37624         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37625         for little-endian.
37626         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37627         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37628         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37629         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37630         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37632 2013-10-04  Alan Modra  <amodra@gmail.com>
37634         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37635         constants to usual value for .cst8 section, and remove redundant
37636         high address load.
37637         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37638         constant for 0x1p52.  Load little-endian words of double from
37639         correct stack offsets.
37641 2013-10-04  Alan Modra  <amodra@gmail.com>
37643         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
37644         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
37645         words of double from correct stack offsets.
37646         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37647         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
37648         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37649         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37650         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37651         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37652         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37653         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37654         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37655         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37656         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37657         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37658         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37659         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37660         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37661         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
37662         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37664 2013-10-04  Alan Modra  <amodra@gmail.com>
37666         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
37667         64-bit int/double union.
37668         (_FPU_SETCW): Likewise.
37669         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
37670         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
37672 2013-10-04  Alan Modra  <amodra@gmail.com>
37674         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
37675         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
37677 2013-10-04  Alan Modra  <amodra@gmail.com>
37679         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
37680         use vector int constants.
37681         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
37683 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37685         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
37686         array with long long.
37687         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
37688         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
37689         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
37690         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
37691         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
37692         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
37693         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
37694         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
37695         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
37696         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
37697         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
37698         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
37699         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37701 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37703         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37704         (__signbit): Likewise.  Correct for little-endian.
37705         (__signbitl): Call __signbit.
37706         (lrint): Correct for little-endian.
37707         (lrintf): Call lrint.
37709 2013-10-04  Alan Modra  <amodra@gmail.com>
37711         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37712         union 32-bit int array member with 64-bit int array.
37713         (t515, tm256): Double rather than long double.
37714         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37716 2013-10-04  Alan Modra  <amodra@gmail.com>
37718         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37719         Delete.
37720         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37721         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37722         version of math_ldbl.h.
37724 2013-10-04  Alan Modra  <amodra@gmail.com>
37726         [BZ #15734], [BZ #15735]
37727         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37728         all uses of ieee875 long double macros and unions.  Simplify test
37729         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37730         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37731         normalize after ldbl_extract_mantissa, and don't add hidden bit
37732         already handled.  Don't treat low word of ieee854 mantissa like
37733         low word of IBM long double and mask off bit when testing for
37734         zero.
37735         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37736         all uses of ieee875 long double macros and unions.  Simplify tests
37737         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37738         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37739         two1022, instead use their values.  Recognise that tests for large
37740         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37741         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37742         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37743         test for 0.0L and nan.  Correct negation.
37744         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37745         ieee875 long double macros and unions.  Correct output for large
37746         magnitude x.  Correct absolute value calculation.
37747         (__erfcl): Likewise.
37748         * math/libm-test.inc: Add tests for errors discovered in IBM long
37749         double versions of fmodl, remainderl, erfl and erfcl.
37751 2013-10-04  Alan Modra  <amodra@gmail.com>
37753         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37754         all uses of ieee854 long double macros and unions.  Simplify tests
37755         for long doubles that are fully specified by the high double.
37756         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37757         Likewise.
37758         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37759         Remove dead code too.
37760         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37761         (__ieee754_ynl): Likewise.
37762         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37763         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37764         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37765         Remove dead code too.
37766         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37767         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37768         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37769         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37770         Simplify.
37771         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37772         Simplify.
37773         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37774         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37775         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37776         Comment on variable precision.
37777         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37778         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37779         Likewise.
37780         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37781         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37782         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37783         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37784         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37786 2013-10-04  Alan Modra  <amodra@gmail.com>
37788         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37789         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37790         all uses of ieee854 long double macros and unions.
37791         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37792         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37793         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37794         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37795         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37796         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37797         Likewise.
37798         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37799         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37800         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37801         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37802         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37803         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37804         Simplify sign and nan test too.
37805         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37806         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37807         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37808         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37809         Likewise.
37810         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37811         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37812         Likewise.
37813         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37814         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37815         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37816         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37817         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37818         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37820 2013-10-04  Alan Modra  <amodra@gmail.com>
37822         * stdio-common/printf_size.c (__printf_size): Don't use
37823         union ieee854_long_double in fpnum union.
37824         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37825         signbit macro to retrieve sign from long double.
37826         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37827         retrieve sign from long double.
37828         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37829         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37830         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37831         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37832         * math/test-misc.c (main): Don't use union ieee854_long_double.
37834 2013-10-04  Alan Modra  <amodra@gmail.com>
37836         [BZ #15680]
37837         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37838         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37839         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37840         calculation.  Remove unnecessary test for denormal exponent.
37841         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37842         Correct handling of denormals.  Avoid undefined shift behaviour.
37843         Correct normalisation of low mantissa when low double is denormal.
37844         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37845         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37846         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37847         Correct normalisation of low mantissa.  Test for overflow of high
37848         mantissa and normalise.
37849         (ldbl_nearbyint): Use more readable constant for two52.
37850         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37851         (__mpn_construct_long_double): Fix test for overflow of high
37852         mantissa and correct normalisation.  Avoid undefined shift.
37854 2013-10-04  Alan Modra  <amodra@gmail.com>
37856         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37857         (union ibm_extended_long_double): Define as an array of ieee754_double.
37858         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37859         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37860         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37861         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37862         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37863         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37864         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37865         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37866         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37867         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37868         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37870 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37872         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37873         page size instead of calling getpagesize.
37875         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37876         (LOCFILE_ALIGN_MASK): Likewise.
37877         (LOCFILE_ALIGN_UP): Likewise.
37878         (LOCFILE_ALIGNED_P): Likewise.
37879         * locale/programs/ld-collate.c (collate_output): Use the new
37880         macros instead of __alignof__ (int32_t).
37881         * locale/weight.h (findidx): Likewise.
37883 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37885         [BZ #431]
37886         * manual/string.texi: Fix strncat and wcsncat.
37888 2013-10-03  Brooks Moses  <bmoses@google.com>
37890         [BZ #15915]
37891         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37892         * Makerules: ...here, and adjust associated comments.
37894 2013-10-02  Will Newton  <will.newton@linaro.org>
37896         * malloc/Makefile: Add tst-pvalloc.
37897         * malloc/tst-pvalloc.c: New file.
37899 2013-10-02  Will Newton  <will.newton@linaro.org>
37901         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37902         improve test coverage.
37904 2013-10-02  Will Newton  <will.newton@linaro.org>
37906         * malloc/Makefile: Add tst-posix_memalign.
37907         * malloc/tst-posix_memalign.c: New file.
37909 2013-10-01  Eric Blake  <eblake@redhat.com>
37911         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37912         Use __THROWNL rather than __THROW on static functions.
37914 2013-09-30  Petr Machata  <pmachata@redhat.com>
37916         * elf/elf.h (R_AARCH64_ABS16): New macro.
37917         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37918         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37919         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37920         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37921         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37922         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37923         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37924         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37925         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37926         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37927         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37928         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37929         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37930         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37931         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37932         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37933         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37934         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37935         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37936         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37937         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37938         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37939         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37940         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37941         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37942         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37943         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37944         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37945         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37946         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37947         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37948         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37949         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37950         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37951         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37952         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37953         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37954         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37955         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37956         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37957         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37958         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37959         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37960         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37961         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37962         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37963         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37964         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37965         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37966         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37967         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37968         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37969         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37970         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37971         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37972         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37973         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37974         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37975         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37976         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37977         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37978         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37979         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37980         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37981         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37982         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37983         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37984         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37985         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37986         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37987         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37988         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37989         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37990         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37991         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37992         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37993         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37994         (R_AARCH64_TLSDESC_LDR): Likewise.
37995         (R_AARCH64_TLSDESC_ADD): Likewise.
37996         (R_AARCH64_TLSDESC_CALL): Likewise.
37998 2013-09-30  Andreas Schwab  <schwab@suse.de>
38000         [BZ #15048]
38001         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38002         the nss database lookup.
38003         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38006 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38008         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38010 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38012         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38013         ${Bash-specific parameter/pattern/string} parameter expansion.
38014         * sysdeps/unix/make-syscalls.sh: Likewise.
38016 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38018         * sysdeps/sh/stackguard-macros.h: New file.
38020 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38023         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38024         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38025         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38026         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38027         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38029 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38031         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38032         Fix thread ID register.
38034 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38036         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38037         [POSIX || UNIX98]: Require rather than permitting all symbols from
38038         <time.h>.
38039         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38040         element of struct sched_param.
38041         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38042         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38043         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38044         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38045         constant.
38047 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38049         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38050         argument calculation.
38052 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38054         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38055         Expect macro.
38056         [POSIX] (pthread_attr_t): Do not require type.
38057         [POSIX] (pthread_cond_t): Likewise.
38058         [POSIX] (pthread_condattr_t): Likewise.
38059         [POSIX] (pthread_key_t): Likewise.
38060         [POSIX] (pthread_mutex_t): Likewise.
38061         [POSIX] (pthread_mutexattr_t): Likewise.
38062         [POSIX] (pthread_once_t): Likewise.
38063         [POSIX] (pthread_t): Likewise.
38064         [POSIX-based standards] (pthread_atfork): Expect function.
38066 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38067             Richard Sandiford  <richard@codesourcery.com>
38069         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38070         (swap_endianness_p): New extern variable.
38071         (set_big_endian): New inline function.
38072         (maybe_swap_uint32): Likewise.
38073         (maybe_swap_uint32_array): Likewise.
38074         (maybe_swap_uint32_obstack): Likewise.
38075         * locale/programs/locfile.c: Include <stdbool.h>.
38076         (swap_endianness_p): New variable.
38077         (add_locale_uint32): Call maybe_swap_uint32.
38078         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38079         (write_locale_data): Call maybe_swap_uint32_array.
38080         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38081         maybe_swap_uint32.
38082         (obstack_int32_grow_fast): Likewise.
38083         (output_weightwc): Call maybe_swap_uint32_obstack.
38084         (collate_output): Likewise.
38085         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38086         (OPT_LITTLE_ENDIAN): Likewise.
38087         (options): Add --little-endian and --big-endian options.
38088         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38089         * locale/programs/locarchive.c: Include "locfile.h".
38090         (GET): New macro.
38091         (SET): Likewise.
38092         (INC): Likewise.
38093         (create_archive): Use the new macros to access fields of
38094         structures directly mapped from or written to locale archives.
38095         (oldlocrecentcmp): Likewise.
38096         (enlarge_archive): Likewise.
38097         (insert_name): Likewise.
38098         (add_alias): Likewise.
38099         (add_locale): Likewise.
38100         (delete_locales_from_archive): Likewise.
38101         (show_archive_content): Likewise.
38102         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38103         locale data.
38105 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38107         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38108         http://www.gnu.org/doc/freemanuals.texi.
38109         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38111 2013-09-24  Will Newton  <will.newton@linaro.org>
38113         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38114         macro.
38116 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38118         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38119         unsigned char.
38121 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38123         * manual/threads.texi (POSIX Threads): Fix a typo.
38125 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38127         [BZ #14547]
38128         * string/tst-strcoll-overflow.c: New test case.
38129         * string/Makefile (xtests): Add tst-strcoll-overflow.
38130         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38131         cache if string sizes may cause integer overflow.
38133         [BZ #14547]
38134         * string/strcoll_l.c (coll_seq): New members rule, idx,
38135         save_idx and back_us.
38136         (get_next_seq_nocache): New function.
38137         (do_compare_nocache): New function.
38138         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38139         when malloc fails.
38141 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38143         [BZ #15754]
38144         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38145         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38146         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38148         [BZ #15754]
38149         * elf/Makefile (tests): Add tst-ptrguard1.
38150         (tests-static): Add tst-ptrguard1-static.
38151         (tst-ptrguard1-ARGS): Define.
38152         (tst-ptrguard1-static-ARGS): Define.
38153         * elf/tst-ptrguard1.c: New file.
38154         * elf/tst-ptrguard1-static.c: New file.
38155         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38156         * sysdeps/i386/stackguard-macros.h: Likewise.
38157         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38158         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38159         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38160         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38161         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38162         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38164 2013-09-23  Hector Marco  <hecmargi@upv.es>
38165             Ismael Ripoll  <iripoll@disca.upv.es>
38166             Carlos O'Donell  <carlos@redhat.com>
38168         [BZ #15754]
38169         * sysdeps/generic/stackguard-macros.h: Define
38170         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38171         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38172         Define __pointer_chk_guard_local.
38173         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38174         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38176 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38178         [BZ #15859]
38179         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38181 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38183         * include/string.h (__ffs): Declare as hidden.
38184         * string/ffs.c (__ffs): Define as hidden.
38185         * sysdeps/i386/ffs.c (__ffs): Likewise.
38186         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38187         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38188         * sysdeps/s390/ffs.c (__ffs): Likewise.
38189         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38191 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38193         * NEWS: Mention malloc probes.
38195         * malloc/arena.c (new_heap): New memory_heap_new probe.
38196         (grow_heap): New memory_heap_more probe.
38197         (shrink_heap): New memory_heap_less probe.
38198         (heap_trim): New memory_heap_free probe.
38199         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38200         (systrim): New memory_sbrk_less probe.
38201         * manual/probes.texi: Document them.
38203         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38204         * manual/probes.texi: Document it.
38206         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38207         (__libc_realloc): Add memory_realloc_retry probe.
38208         (__libc_memalign): Add memory_memalign_retry probe.
38209         (__libc_valloc): Add memory_valloc_retry probe.
38210         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38211         (__libc_calloc): Add memory_calloc_retry probe.
38212         * manual/probes.texi: Document them.
38214         * malloc/arena.c (get_free_list): Add probe
38215         memory_arena_reuse_free_list.
38216         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38217         and memory_arena_reuse.
38218         (arena_get2) [!PER_THREAD]: Likewise.
38219         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38220         memory_arena_reuse_realloc.
38221         * manual/probes.texi: Document them.
38223         * malloc/malloc.c (__libc_free): Add
38224         memory_mallopt_free_dyn_thresholds probe.
38225         (__libc_mallopt): Add multiple memory_mallopt probes.
38226         * manual/probes.texi: Document them.
38228         * malloc/malloc.c: Include stap-probe.h.
38229         (__libc_mallopt): Add memory_mallopt probe.
38230         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38231         * manual/probes.texi: New.
38232         * manual/Makefile (chapters): Add probes.
38233         * manual/threads.texi: Set next node.
38235 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
38237         [BZ #15963, #13985]
38238         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38239         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38240         Add `Chinese' to `nan' entry name.
38242 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38244         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38245         (POLYNOMIAL): Likewise.
38246         (TAYLOR_SINCOS): Likewise.
38247         (TAYLOR_SLOW): Likewise.
38248         (__sin): Use TAYLOR_SINCOS.
38249         (__cos): Likewise.
38250         (slow): Use TAYLOR_SLOW.
38251         (sloww): Likewise.
38252         (bsloww): Likewise.
38253         (csloww): Likewise.
38255 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38257         * stdlib/strtod_l.c: Fix buffer overrun.
38259 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38261         * benchtests/Makefile (bench): Add sincos.
38262         * benchtests/bench-sincos.c: New file.
38264         * math/libm-test.inc (cos_test_data): New test inputs.
38265         (sin_test_data): Likewise.
38267         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38268         macro.
38269         (__sin): Use it.
38270         (__cos): Likewise.
38271         (slow1): Likewise.
38272         (slow2): Likewise.
38273         (sloww1): Likewise.
38274         (sloww2): Likewise.
38275         (bsloww1): Likewise.
38276         (bsloww2): Likewise.
38277         (cslow2): Likewise.
38278         (csloww1): Likewise.
38279         (csloww2): Likewise.
38281         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38282         function.
38283         (__sin): Use it.
38284         (__cos): Likewise.
38286         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38287         gotos.
38288         (__cos): Likewise.
38290 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
38292         * config.h.in (HAVE_MIPS_NAN2008): New macro.
38293         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38294         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38295         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38296         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38297         * elf/cache.c (print_entry): Handle the new cache flags.
38299 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38300             Aldy Hernandez  <aldyh@redhat.com>
38302         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38303         Change condition to [_SOFT_FLOAT].
38304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38316         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38319         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38320         declaration.
38322 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38324         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38325         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38326         (__longjmp): Use LOAD_GP to load saved GPRs.
38327         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38328         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38329         (__sigsetjmp): Use SAVE_GP to save GPRs.
38331         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38332         Do not append -msoft-float.
38333         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38335 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38337         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38339 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
38341         [BZ #15966]
38342         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38343         (_FPU_GETCW): Use initial "__" on variable and field names but not
38344         on macro parameter name.
38345         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
38346         parentheses around reference to macro parameter.
38348 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
38350         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38351         prototype.
38352         (ctype_startup): Use uint32_t in cast and sizeof for
38353         ctype->charnames.
38355 2013-09-11  Jia Liu  <proljc@gmail.com>
38357         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38358         __daddr_t_defined.
38359         [__FreeBSD__]: Likewise.
38361 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
38363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38364         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38365         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38366         (strchr): Remove __strchr_sse42 ifunc selection.
38367         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38368         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38370 2013-09-11  Will Newton  <will.newton@linaro.org>
38372         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38373         parameter to RES. Remove hardcoded 1000 value.
38374         * benchtests/bench-skeleton.c (main): Pass RES parameter
38375         to TIMING_INIT and multiply result by 1000.
38377 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38381 2013-09-11  Andreas Schwab  <schwab@suse.de>
38383         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38384         if not defined.
38385         (O_TMPFILE) [__USE_GNU]: Define.
38386         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38387         Define.
38389 2013-09-11  Will Newton  <will.newton@linaro.org>
38391         [BZ #15857]
38392         * malloc/malloc.c (__libc_memalign): Check the value of bytes
38393         does not overflow.
38395 2013-09-11  Will Newton  <will.newton@linaro.org>
38397         [BZ #15856]
38398         * malloc/malloc.c (__libc_valloc): Check the value of bytes
38399         does not overflow.
38401 2013-09-11  Will Newton  <will.newton@linaro.org>
38403         [BZ #15855]
38404         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38405         does not overflow.
38407 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
38409         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38410         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38411         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38412         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38413         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38415 2013-09-10  Allan McRae  <allan@archlinux.org>
38417         [BZ #15748]
38418         * manual/arith.texi (Parsing of Floats): Clarify
38419         cross-reference.
38421         [BZ #15849]
38422         * manual/install.texi (Running make install): Mention
38423         --enable-pt-chown.
38424         * INSTALL: Regenerated.
38426 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
38428         * csu/init-first.c (_init): Remove the !SHARED condition around
38429         FPU control word initialization.
38430         * elf/dl-support.c (_dl_fpu_control): New variable.
38431         (_dl_aux_init) <AT_FPUCW>: Initialize it.
38432         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38433         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38434         * math/test-fpucw-static.c: New file.
38435         * math/test-fpucw-ieee.c: New file.
38436         * math/test-fpucw-ieee-static.c: New file.
38437         * math/Makefile (tests): Add `test-fpucw-ieee' and
38438         `$(tests-static)'.
38439         (tests-static): New variable.
38440         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38441         dependency to...
38442         [($(build-shared),yes)]
38443         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38444         ... this.
38445         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38446         New dependency.
38448 2013-09-09  Allan McRae  <allan@archlinux.org>
38450         [BZ #15939]
38451         * manual/string.texi (Collation Functions): Fix typo in
38452         strcoll example.
38453         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38455         [BZ #15893]
38456         * stdlib/isomac.c (get_null_defines): Fix memory leak.
38458         [BZ #15892]
38459         * libio/memstream.c (open_memstream): Fix memory leak.
38460         * libio/wmemstream.c (open_wmemstream): Likewise.
38462         [BZ #15895]
38463         * nscd/netgroupcache.c: Fix nesting of ifdefs.
38465 2013-09-09  Will Newton  <will.newton@linaro.org>
38467         * malloc/Makefile: Add tst-realloc to tests.
38468         * malloc/tst-realloc.c: New file.
38470 2013-09-09  Allan McRae  <allan@archlinux.org>
38472         [BZ #15844]
38473         * COPYING: Update from GNU website to fix FSF address.
38474         * COPYING.LIB: Likewise.
38476 2013-09-06  David S. Miller  <davem@davemloft.net>
38478         * po/zh_TW.po: Update Chinese (traditional) translation from
38479         translation project.
38481 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
38482             Joseph Myers  <joseph@codesourcery.com>
38484         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38485         "localeinfo.h".
38486         (obstack_chunk_alloc): New macro.
38487         (obstack_chunk_free): Likewise.
38488         (record_offset): New function.
38489         (init_locale_data): Likewise.
38490         (align_locale_data): Likewise.
38491         (add_locale_empty): Likewise.
38492         (add_locale_raw_data): Likewise.
38493         (add_locale_raw_obstack): Likewise.
38494         (add_locale_string): Likewise.
38495         (add_locale_wstring): Likewise.
38496         (add_locale_uint32): Likewise.
38497         (add_locale_uint32_array): Likewise.
38498         (add_locale_char): Likewise.
38499         (start_locale_structure): Likewise.
38500         (end_locale_structure): Likewise.
38501         (start_locale_prelude): Likewise.
38502         (end_locale_prelude): Likewise.
38503         (write_locale_data): Take locale_file structure rather than an
38504         iovec.
38505         * locale/programs/locfile.h: Include "obstack.h".
38506         (struct locale_file): Change to store locale file contents instead
38507         of header.
38508         (init_locale_data): New prototype.
38509         (align_locale_data): Likewise.
38510         (add_locale_empty): Likewise.
38511         (add_locale_raw_data): Likewise.
38512         (add_locale_raw_obstack): Likewise.
38513         (add_locale_string): Likewise.
38514         (add_locale_wstring): Likewise.
38515         (add_locale_uint32): Likewise.
38516         (add_locale_uint32_array): Likewise.
38517         (add_locale_char): Likewise.
38518         (start_locale_structure): Likewise.
38519         (end_locale_structure): Likewise.
38520         (start_locale_prelude): Likewise.
38521         (end_locale_prelude): Likewise.
38522         (write_locale_data): Update prototype.
38523         * locale/programs/3level.h (struct TABLE): Remove result field.
38524         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
38525         Use new locale_file interface.
38526         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
38527         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
38528         * locale/programs/ld-address.c (address_output): Use new
38529         locale_file interface.
38530         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
38531         NO_ADD_LOCALE.
38532         (collate_finish): Don't call collseq_table_finalize.
38533         (collate_output): Use new locale_file interface.
38534         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
38535         in file.
38536         (NO_FINALIZE): Change to NO_ADD_LOCALE.
38537         (TABLE): Move defines earlier in file.
38538         (ELEMENT): Likewise.
38539         (DEFAULT): Likewise.
38540         (wctrans_table_add): Move macro and inline function earlier in
38541         file.
38542         (struct wctype_table): Move type earlier in file.
38543         (add_locale_wctype_table): New static prototype.
38544         (struct locale_ctype_t): Use logical types instead of struct iovec
38545         pointers for members.
38546         (ctype_output): Use new locale_file interface.
38547         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
38548         new locale_file interface.
38549         (allocate_arrays): Update for use of new locale_file interface.
38550         * locale/programs/ld-identification.c (identification_output): Use
38551         new locale_file interface.
38552         * locale/programs/ld-measurement.c (measurement_output): Likewise.
38553         * locale/programs/ld-messages.c (messages_output): Likewise.
38554         * locale/programs/ld-monetary.c (monetary_output): Likewise.
38555         * locale/programs/ld-name.c (name_output): Likewise.
38556         * locale/programs/ld-numeric.c (numeric_output): Likewise.
38557         * locale/programs/ld-paper.c (paper_output): Likewise.
38558         * locale/programs/ld-telephone.c (telephone_output): Likewise.
38559         * locale/programs/ld-time.c (time_output): Likewise.
38561 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38563         * benchtests/Makefile: Add memrchr benchmark.
38564         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
38565         benchmark as memrchr.
38566         * benchtests/bench-memrchr-ifunc.c: New file.
38567         * benchtests/bench-memrchr.c: New file.
38569 2013-09-06   Will Newton  <will.newton@linaro.org>
38571         * benchtests/Makefile (string-bench): Add memcpy.
38573 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
38574             Cong Wang  <amwang@redhat.com>
38576         [BZ #15850]
38577         * sysdeps/unix/sysv/linux/bits/in.h
38578         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
38579         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
38580         before __USE_KERNEL_IPV6_DEFS uses.
38581         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
38582         IPPROTO_BEETPH.
38583         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
38584         sockaddr_in6, or ipv6_mreq.
38586 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38588         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38589         memory access for final bytes in some large inputs.
38590         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38592 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38594         * string/test-memrchr.c: New file.
38595         * string/test-memrchr-ifunc.c: New file.
38596         * string/Makefile: Add new memrchr testcase.
38598 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
38600         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38601         fanotify_init returns EPERM.
38603 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38605         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38606         errors.
38607         (top level): Treat second token from macro or constant entries for
38608         allowed headers as allowed.
38609         * include/complex.h: Condition internal declarations on
38610         [!_ISOMAC].
38611         * include/fenv.h: Condition include of <stdbool.h> and internal
38612         declarations on [!_ISOMAC].
38614 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
38616         [BZ #15923]
38617         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38619 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38621         * configure.in (--enable-versioning): Remove configure option.
38622         (libc_cv_asm_symver_directive): Remove configure test.
38623         (libc_cv_ld_version_script_option): Likewise.
38624         (VERSIONING): Remove variable and AC_SUBST.
38625         (DO_VERSIONING): Remove AC_DEFINE.
38626         * configure: Regenerated.
38627         * config.h.in (DO_VERSIONING): Remove macro.
38628         * Makerules [$(versioning) = yes]: Change conditionals to
38629         [$(build-shared) = yes].
38630         * config.make.in (versioning): Remove variable.
38631         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38632         [$(build-shared) = yes].
38633         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38634         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38635         * elf/Makefile [$(versioning) = yes]: Change conditionals to
38636         [$(build-shared) = yes].
38637         * extra-lib.mk [$(versioning) = yes]: Likewise.
38638         * hurd/Makefile [$(versioning) = yes]: Likewise.
38639         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38640         [SHARED].
38641         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
38642         [SHARED].
38643         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38644         [SHARED && !NO_HIDDEN].
38645         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
38646         [SHARED].
38647         [SHARED && DO_VERSIONING]: Likewise..
38648         * libio/Makefile [$(versioning) = yes]: Change conditionals to
38649         [$(build-shared) = yes].
38650         * manual/install.texi (--disable-versioning): Remove
38651         documentation.
38652         * INSTALL: Regenerated.
38653         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
38654         to [SHARED].
38655         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
38656         [$(build-shared) = yes].
38657         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
38658         * sysdeps/i386/i686/multiarch/strstr-c.c
38659         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38660         [SHARED && !NO_HIDDEN].
38661         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
38662         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
38663         * sysdeps/powerpc/powerpc32/dl-machine.c
38664         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
38665         * sysdeps/powerpc/powerpc32/sysdep.h
38666         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
38667         to [SHARED && PIC && !NO_HIDDEN].
38668         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
38669         conditional to [SHARED].
38671 2013-09-04   Will Newton  <will.newton@linaro.org>
38673         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
38674         * benchtests/bench-string.h: Include bench-timing.h instead
38675         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
38676         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
38677         call to HP_TIMING_DIFF_INIT.
38678         * benchtests/bench-memccpy.c: Use bench-timing.h macros
38679         instead of hp-timing.h macros.
38680         * benchtests/bench-memchr.c: Likewise.
38681         * benchtests/bench-memcmp.c: Likewise.
38682         * benchtests/bench-memcpy.c: Likewise.
38683         * benchtests/bench-memmem.c: Likewise.
38684         * benchtests/bench-memmove.c: Likewise.
38685         * benchtests/bench-memset.c: Likewise.
38686         * benchtests/bench-rawmemchr.c: Likewise.
38687         * benchtests/bench-strcasecmp.c: Likewise.
38688         * benchtests/bench-strcasestr.c: Likewise.
38689         * benchtests/bench-strcat.c: Likewise.
38690         * benchtests/bench-strchr.c: Likewise.
38691         * benchtests/bench-strcmp.c: Likewise.
38692         * benchtests/bench-strcpy.c: Likewise.
38693         * benchtests/bench-strcpy_chk.c: Likewise.
38694         * benchtests/bench-strlen.c: Likewise.
38695         * benchtests/bench-strncasecmp.c: Likewise.
38696         * benchtests/bench-strncat.c: Likewise.
38697         * benchtests/bench-strncmp.c: Likewise.
38698         * benchtests/bench-strncpy.c: Likewise.
38699         * benchtests/bench-strnlen.c: Likewise.
38700         * benchtests/bench-strpbrk.c: Likewise.
38701         * benchtests/bench-strrchr.c: Likewise.
38702         * benchtests/bench-strspn.c: Likewise.
38703         * benchtests/bench-strstr.c: Likewise.
38705 2013-09-04  Will Newton  <will.newton@linaro.org>
38707         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38709 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38711         [BZ #15427]
38712         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38713         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38714         * math/libm-test.inc (lgamma_test_data): Add more tests.
38715         * sysdeps/i386/fpu/libm-test-ulps: Update.
38716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38718 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38720         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38722         Add ifunc.
38723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38724         Add strcmp-sse2-unaligned
38725         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38727 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38729         * Versions.def (libc): Add GLIBC_2.19.
38731 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38733         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38734         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38736 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38738         [BZ #14155]
38739         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38740         intermediate calculations in recurrence.
38741         (__ieee754_ynf): Likewise.
38742         * math/libm-test.inc (jn_test_data): Do not allow spurious
38743         underflow exception.  Add more tests.
38744         (yn_test_data): Add more tests.
38745         * sysdeps/i386/fpu/libm-test-ulps: Update.
38746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38748 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38750         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38752 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38754         * csu/init-first.c: Fix then/than typos.
38755         * locale/programs/ld-collate.c: Likewise.
38756         * locale/programs/linereader.h: Likewise.
38757         * manual/charset.texi: Likewise.
38758         * manual/filesys.texi: Likewise.
38759         * manual/stdio.texi: Likewise.
38760         * manual/string.texi: Likewise.
38761         * stdlib/fmtmsg.c: Likewise.
38762         * sysdeps/i386/stpncpy.S: Likewise.
38763         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38764         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38765         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38766         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38768 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38770         * elf/dl-open.c: Fix typos.
38771         * iconvdata/gbbig5.c: Likewise.
38772         * iconvdata/iso-2022-jp.c: Likewise.
38773         * iconv/gconv_int.h: Likewise.
38774         * iconv/loop.c: Likewise.
38775         * nis/rpcsvc/nis.h: Likewise.
38776         * resolv/ns_name.c: Likewise.
38777         * stdio-common/vfscanf.c: Likewise.
38778         * streams/stropts.h: Likewise.
38779         * sunrpc/rpc_thread.c: Likewise.
38780         * sysdeps/i386/strpbrk.S: Likewise.
38781         * sysdeps/ieee754/k_standard.c: Likewise.
38782         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38784         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38785         * sysdeps/mach/hurd/profil.c: Likewise.
38786         * sysdeps/s390/dl-procinfo.h: Likewise.
38787         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38788         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38789         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38790         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38791         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38793 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38795         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38796         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38798 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38800         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38801         aix specific files.
38802         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38803         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38804         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38805         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38806         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38807         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38808         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38809         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38811 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38812             Roland McGrath  <roland@hack.frob.com>
38814         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38815         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38817 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38819         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38820         __executable_start symbol instead of _start.
38822 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38824         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38825         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38826         Move macros to...
38827         * sysdeps/gnu/ldsodefs.h: ... this new file.
38829         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38830         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38831         instead of ELFOSABI_LINUX.
38833         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38834         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38835         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38836         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38837         Likewise.
38838         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38839         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38840         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38841         Likewise.
38842         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38843         (ibm_extended_long_double): Add ieee_nan member.
38844         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38845         (do_test): New function.
38847         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38848         TEST_TRUNC.
38849         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38850         functions, renamed from truncdfsf_test, trunctfsf_test,
38851         trunctfdf_test.
38852         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38853         functions.
38854         (do_test): Run all these.
38856 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38858         * argp/argp-help.c: Fix typos.
38859         * argp/argp-parse.c: Likewise.
38860         * debug/backtracesyms.c: Likewise.
38861         * elf/elf.h: Likewise.
38862         * malloc/malloc.c: Likewise.
38863         * nis/nis_print.c: Likewise.
38864         * resolv/res_comp.c: Likewise.
38865         * stdlib/stdlib.h: Likewise.
38866         * sunrpc/clnt_tcp.c: Likewise.
38867         * sunrpc/clnt_udp.c: Likewise.
38868         * sunrpc/clnt_unix.c: Likewise.
38869         * sysdeps/unix/bsd/ptsname.c: Likewise.
38870         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38871         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38873         Likewise.
38874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38875         Likewise.
38876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38877         Likewise.
38878         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38880 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38882         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38885 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38887         [BZ #15897]
38888         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38889         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38890         ($(objpfx)bug-dl-leaf): New rule.
38891         ($(objpfx)bug-dl-leaf.so): Likewise.
38892         ($(objpfx)bug-dl-leaf.out): Likewise.
38893         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38894         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38895         * dlfcn/bug-dl-leaf.c: New test.
38896         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38897         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38898         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38899         (dlclose): Likewise.
38900         (dlmopen): Likewise.
38902 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38904         * include/netdb.h [!_ISOMAC]:
38905         Don't include <tls.h>.
38906         (h_errno, __libc_h_errno): Move declaration and macros out of
38907         [_LIBC_REENTRANT].
38909         * include/resolv.h [_RESOLV_H_]:
38910         Don't include <tls.h>.
38911         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38912         * resolv/res_libc.c: Don't include <tls.h>.
38913         (_res): Use __attribute__ ((nocommon)) in place of
38914         __attribute__ ((section (".bss"))).
38916         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38917         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38919         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38921         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38922         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38924         * resolv/res_mkquery.c: Include <sys/time.h>.
38926         * inet/ifreq.c: Moved to ...
38927         * sysdeps/unix/ifreq.c: ... here.
38928         * inet/ifreq.c: New file, true stub version.
38930         * socket/sa_len.c: New file.
38931         * socket/Makefile (aux): Add it.
38932         * sysdeps/unix/sysv/linux/Makefile
38933         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38934         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38935         and #include <socket/sa_len.c>.
38936         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38937         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38939         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38940         * bits/socket.h: ... here.
38942         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38943         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38944         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38946 2013-08-27  Andreas Schwab  <schwab@suse.de>
38948         [BZ #15736]
38949         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38950         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38951         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38952         * string/test-strcasecmp.c (test_main): Run tests in several
38953         locales.
38954         * string/test-strncasecmp.c (test_main): Likewise.
38956         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38957         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38958         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38959         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38960         (__strncasecmp_ssse3) [PIC]: Likewise.
38962 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38964         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38966         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38967         instead of explicitly declaring xdecrypt.
38968         * nis/nss_nis/nis-publickey.c: Likewise.
38970 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38972         [BZ #15890]
38973         * nscd/aicache.c: Include res_hconf.h.
38974         (addhstaiX): Initialize res_hconf.
38976 2013-08-26  Andreas Schwab  <schwab@suse.de>
38978         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38979         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38981 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38983         * nscd/aicache.c (addhstaiX): Fix indentation.
38985 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38987         * configure.ac: Quote $build_pt_chown test.
38988         * configure: Regenerated.
38990 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38992         [BZ #15532]
38993         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38994         * math/s_cexpf.c (__cexpf): Likewise.
38995         * math/s_cexpl.c (__cexpl): Likewise.
38996         * math/libm-test.inc (cexp_test_data): Correct expected return
38997         value for NaN + i0.  Add another test.
38999 2013-08-22  David S. Miller  <davem@davemloft.net>
39001         * po/ca.po: Update Catalan translation from translation project.
39002         * po/uk.po: Add Ukrainian translations from translation project.
39004 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39006         [BZ #15797]
39007         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39008         is infinite, not alongside NaN test.
39009         * math/s_fdimf.c (__fdimf): Likewise.
39010         * math/s_fdiml.c (__fdiml): Likewise.
39011         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39012         errno is unchanged.
39014 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39016         * argp/argp-help.c: Fix typos.
39017         * crypt/speeds.c: Likewise.
39018         * csu/check_fds.c: Likewise.
39019         * elf/dl-load.c: Likewise.
39020         * elf/dl-open.c: Likewise.
39021         * elf/reldep3.c: Likewise.
39022         * elf/reldep.c: Likewise.
39023         * elf/sprof.c: Likewise.
39024         * iconv/iconv_charmap.c: Likewise.
39025         * iconv/skeleton.c: Likewise.
39026         * iconv/strtab.c: Likewise.
39027         * io/lockf64.c: Likewise.
39028         * libio/libioP.h: Likewise.
39029         * resolv/gai_notify.c: Likewise.
39030         * resolv/ns_name.c: Likewise.
39031         * resolv/ns_samedomain.c: Likewise.
39032         * resolv/res_send.c: Likewise.
39033         * stdlib/random.c: Likewise.
39034         * sunrpc/rpc/xdr.h: Likewise.
39035         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39036         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39037         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39038         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39039         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39040         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39041         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39042         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39043         * sysdeps/mach/hurd/check_fds.c: Likewise.
39044         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39045         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39046         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39047         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39048         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39049         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39050         * sysdeps/pthread/aio_notify.c: Likewise.
39051         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39052         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39053         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39054         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39055         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39057 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39059         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39060         version if bit_Slow_SSE4_2 is set.
39061         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39062         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39064 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39066         [BZ #15867]
39067         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39068         trampoline stack frame information.
39069         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39070         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39071         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39072         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39073         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39074         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39075         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39076         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39077         sa_flags value.
39078         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39079         interrupting a syscall and set with option SA_SIGINFO.
39081 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39083         [BZ #15531]
39084         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39085         argument is infinite.
39086         * math/s_cprojf.c (__cprojf): Likewise.
39087         * math/s_cprojl.c (__cprojl): Likewise.
39088         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39089         * math/libm-test.inc (cproj_test_data): Add more tests.
39091         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39093         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39094         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39095         size.  Use __ffs to determine corresponding shift.
39097 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39098             Roland McGrath  <roland@hack.frob.com>
39100         * Makefile (INSTALL): Remove trailing blank lines from output of
39101         makeinfo.
39103 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39105         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39106         Align 32 bit compat elf_greg to 8 bytes.
39108 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39110         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39112 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39114         * string/strcoll_l.c (coll_seq): New structure.
39115         (get_next_seq_cached): New function.
39116         (get_next_seq): New function.
39117         (do_compare): New function.
39118         (STRCOLL): Use GNU style definition.  Simplify implementation
39119         by using get_next_seq, get_next_seq_cached and do_compare.
39121 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39123         [BZ #14699]
39124         CVE-2013-4237
39125         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39126         member.
39127         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39128         member.
39129         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39130         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39131         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39132         conditional.
39133         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39134         GETDENTS_64BIT_ALIGNED.
39135         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39136         * manual/filesys.texi (Reading/Closing Directory): Document
39137         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39138         strongly.
39139         * manual/conf.texi (Limits for Files): Add portability note to
39140         NAME_MAX, PATH_MAX.
39141         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39143 2013-08-13  Andreas Schwab  <schwab@suse.de>
39145         [BZ #15749]
39146         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39147         of fabs.
39148         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39149         LDBL_MAX_EXP >= 16384]: Add tests for it.
39151 2013-08-12  David S. Miller  <davem@davemloft.net>
39153         * version.h (RELEASE): Set to "development".
39154         (VERSION): Set to "2.18.90".
39155         * NEWS: Add 2.19 section.
39157 2013-08-03  David S. Miller  <davem@davemloft.net>
39159         * po/ko.po: Update Korean translation from translation project.
39161 2013-08-01  David S. Miller  <davem@davemloft.net>
39163         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39164         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39165         Bilka.
39167 2013-07-30  David S. Miller  <davem@davemloft.net>
39169         * po/fr.po: Update French translation from translation project.
39171 2013-07-28  David S. Miller  <davem@davemloft.net>
39173         * po/cs.po: Update Czech translation from translation project.
39175         * po/sv.po: Update Swedish translation from translation project.
39177 2013-07-27  David S. Miller  <davem@davemloft.net>
39179         * po/eo.po: Update Esperanto translation from translation project.
39181         * po/vi.po: Update Vietnamese translation from translation project.
39183         * po/de.po: Update German translation from translation project.
39185 2013-07-26  David S. Miller  <davem@davemloft.net>
39187         * po/bg.po: Update Bulgarian translation from translation project.
39189         * po/nl.po: Update Dutch translation from translation project.
39190         * po/pl.po: Update Polish translation from translation project.
39191         * po/ru.po: Update Russian translation from translation project.
39193 2013-07-24  David S. Miller  <davem@davemloft.net>
39195         * po/libc.pot: Update.
39197 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39199         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39200         variable page size.
39201         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39202         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39203         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39205 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39207         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39209 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39210             Andreas Schwab  <schwab@suse.de>
39211             Roland McGrath  <roland@hack.frob.com>
39212             Joseph Myers  <joseph@codesourcery.com>
39213             Carlos O'Donell  <carlos@redhat.com>
39215         [BZ #15755]
39216         * config.h.in: Define HAVE_PT_CHOWN.
39217         * config.make.in (build-pt-chown): New variable.
39218         * configure.in (--enable-pt_chown): New configure option.
39219         * configure: Regenerate.
39220         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39221         build-pt-chown is enabled.
39222         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39223         pt_chown to fix pty ownership.
39224         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39225         CLOSE_ALL_FDS.
39226         * manual/install.texi (Configuring and compiling): Mention
39227         --enable-pt_chown. Add @findex for grantpt.
39228         * INSTALL: Regenerate.
39230 2013-07-20  David S. Miller  <davem@davemloft.net>
39232         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39233         difference between 32-bit and 64-bit.
39235 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
39237         [BZ #15711]
39238         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39239         Avoid system header dependency with -ffreestanding.
39240         ($(objpfx)bits/syscall%d): Likewise.
39242 2013-07-13  David S. Miller  <davem@davemloft.net>
39244         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39245         underflows from atanl/atan2l due to bug 15319.
39246         (casinh_test_data): Likewise.
39248 2013-07-07  David S. Miller  <davem@davemloft.net>
39250         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39252 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
39254         * sysdeps/i386/fpu/libm-test-ulps: Update.
39255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39257 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39259         * configure.in (--enable-lock-elision): Fix message text.
39260         * INSTALL: Regenerate.
39261         * configure: Regenerate.
39263 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39267 2013-07-03  Andreas Jaeger  <aj@suse.de>
39269         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39270         define.
39271         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39272         (ptrace_peeksiginfo_args): Add.
39273         (__ptrace_peeksiginfo_flags): Add.
39274         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39275         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39276         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39278 2013-07-03  Allan McRae  <allan@archlinux.org>
39280         * sysdeps/i386/fpu/libm-test-ulps: Update.
39282 2013-07-02  David S. Miller  <davem@davemloft.net>
39284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39286 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39290 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39292         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39295 2013-07-02  Andi Kleen <ak@linux.intel.com>
39297         * config.h.in (ENABLE_LOCK_ELISION): Add.
39298         * configure.in (--enable-lock-elision): Add option.
39299         * manual/install.texi: Document --enable lock elision.
39300         * configure: Regenerate
39301         * INSTALL: Regenerate.
39303 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
39305         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39306         SSE4.2 strcasecmp for libc.a.
39307         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39309 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39311         [BZ #13304]
39312         * soft-fp/op-common.h (_FP_FMA): New macro.
39313         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39314         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
39315         (_FP_MUL_MEAT_1_imm): ... here.
39316         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
39317         (_FP_MUL_MEAT_1_wide): ... here.
39318         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
39319         (_FP_MUL_MEAT_1_hard): ... here.
39320         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39321         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
39322         (_FP_MUL_MEAT_2_wide): ... here.
39323         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
39324         (_FP_MUL_MEAT_2_wide_3mul): ... here.
39325         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
39326         (_FP_MUL_MEAT_2_gmp): ... here.
39327         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39328         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
39329         (_FP_MUL_MEAT_4_wide): ... here.
39330         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
39331         (_FP_MUL_MEAT_4_gmp): ... here.
39332         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39333         (_FP_WFRACBITS_DW_S): Likewise.
39334         (_FP_WFRACXBITS_DW_S): Likewise.
39335         (_FP_HIGHBIT_DW_S): Likewise.
39336         (FP_FMA_S): Likewise.
39337         (_FP_FRAC_HIGH_DW_S): Likewise.
39338         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39339         (_FP_WFRACBITS_DW_D): Likewise.
39340         (_FP_WFRACXBITS_DW_D): Likewise.
39341         (_FP_HIGHBIT_DW_D): Likewise.
39342         (FP_FMA_D): Likewise.
39343         (_FP_FRAC_HIGH_DW_D): Likewise.
39344         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39345         (_FP_WFRACBITS_DW_E): Likewise.
39346         (_FP_WFRACXBITS_DW_E): Likewise.
39347         (_FP_HIGHBIT_DW_E): Likewise.
39348         (FP_FMA_E): Likewise.
39349         (_FP_FRAC_HIGH_DW_E): Likewise.
39350         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39351         (_FP_WFRACBITS_DW_Q): Likewise.
39352         (_FP_WFRACXBITS_DW_Q): Likewise.
39353         (_FP_HIGHBIT_DW_Q): Likewise.
39354         (FP_FMA_Q): Likewise.
39355         (_FP_FRAC_HIGH_DW_Q): Likewise.
39356         * soft-fp/fmasf4.c: New file.
39357         * soft-fp/fmadf4.c: Likewise.
39358         * soft-fp/fmatf4.c: Likewise.
39360 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39363         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39364         Silvermont.
39365         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39366         macro.
39367         (index_Slow_SSE4_2): Likewise.
39368         (index_Prefer_PMINUB_for_stringop): Likewise.
39369         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39370         bit_Slow_SSE4_2 is set.
39371         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39372         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39374 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39376         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39377         rtld_global._dl_hwcap2.
39378         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39379         POWER8.
39380         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39381         POWER8 feature descriptions defined in _dl_hwcap2.
39382         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39383         string handling for POWER8 feature bits.
39384         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39385         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39386         _dl_powerpc_cap_flags.
39387         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39388         * sysdeps/powerpc/rtld-global-offsets.sym
39389         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39390         _dl_hwcap2 in the rtld_global_ro structure.
39392 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39394         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39395         hardware capabilities in support of AT_HWCAP2.
39396         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39397         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39398         GLRO(dl_hwcap2).
39399         (_dl_show_auxv): Add support for calling _dl_procinfo to display
39400         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
39401         explicitly the unknown a_type display mechanism is used.
39402         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39403         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39404         struct member.
39405         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39406         to macro prototype for AT_HWCAP2 support.
39407         * sysdeps/i386/dl-procinfo.h: Likewise.
39408         * sysdeps/s390/dl-procinfo.h: Likewise.
39409         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39410         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
39411         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
39412         return -1 for unknown a_type display fallback.
39413         * sysdeps/sparc/dl-procinfo.h: Likewise.
39414         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39415         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39417 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
39419         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39420         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39422 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
39424         [BZ #12492]
39425         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39426         mprotect making __stack_prot writable.
39428 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
39429             Joseph Myers  <joseph@codesourcery.com>
39431         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39432         as being properly aligned.
39434 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
39436         * dlfcn/modstatic5.c: New file.
39437         * dlfcn/tststatic5.c: New file.
39438         * dlfcn/Makefile (tests): Add tststatic5.
39439         (tests-static): Likewise.
39440         (modules-names): Add modstatic5.
39441         (tststatic5-ENV): New variable.
39442         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39444         [BZ #15022]
39445         * elf/dl-support.c (_dl_main_map): New variable.
39446         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39447         (_dl_nns, _dl_load_adds): Set to 1.
39448         (_dl_initial_searchlist): Refer to _dl_main_map.
39449         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39450         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39451         call to _dl_get_origin.
39452         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39453         around call_map.
39454         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39455         * dlfcn/modstatic3.c: New file.
39456         * dlfcn/tststatic3.c: New file.
39457         * dlfcn/tststatic4.c: New file.
39458         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39459         (tests-static): Likewise.
39460         (modules-names): Add modstatic3.
39461         (tststatic3-ENV, tststatic4-ENV): New variables.
39462         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39463         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39465 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
39467         * configure.in (CC): Require GCC version 4.4 or later.
39468         * configure: Regenerated.
39469         * manual/install.texi (Tools for Compilation): Update GCC version
39470         requirement.
39471         * INSTALL: Regenerated.
39473 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39475         [BZ #15674]
39476         * string/test-memcmp.c (check2): New.
39477         (main): Call check2.
39479         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39481 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
39483         [BZ #15022]
39484         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39485         over to...
39486         (dl_open_worker) [!SHARED]: ... here.
39488 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39490         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39492 2013-06-25  Richard Henderson  <rth@redhat.com>
39494         * locale/programs/locarchive.c: Include <libc-internal.h>
39496 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
39498         * manual/texinfo.tex: Update to version 2013-06-21.17, with
39499         trailing whitespace removed.
39501 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39503         [BZ #10283]
39504         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39505         * locale/programs/locarchive.c: Include libc-mmap.h.
39506         (prepare_address_space): Take two new outputs (the mmap base and len).
39507         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
39508         values.
39509         (create_archive): Declare new mmap base and len values for
39510         prepare_address_space, and store the result in ah.
39511         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39512         (enlarge_archive): If ah->mmap_base is not NULL, use that and
39513         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39514         Declare new mmap base and len values for
39515         prepare_address_space, and store the result in new_ah.
39516         (open_archive): Declare new mmap base and len values for
39517         prepare_address_space, and store the result in ah.
39518         (close_archive): If ah->mmap_base is not NULL, use that and
39519         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39520         * sysdeps/generic/libc-mmap.h: New file.
39522 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39524         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
39525         (ALIGN_UP): Likewise.
39526         (PTR_ALIGN_DOWN): Likewise.
39527         (PTR_ALIGN_UP): Likewise.
39529 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39531         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
39532         entry mapped to PPC_PLATFORM_POWER8.
39533         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
39534         POWER8.
39535         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
39536         (_dl_string_platform): Add case for exporting platform position for
39537         POWER8.
39538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
39539         search path to sysdeps/powerpc/powerpc32/power8 directory.
39540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
39541         search path to sysdeps/powerpc/powerpc64/power8 directory.
39542         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
39543         power7 directories.
39544         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
39545         power7 directories.
39547 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39549         * INSTALL: Regenerate.
39551         * nscd/connections.c (nscd_init): Fix comment.
39553 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
39555         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
39557         [BZ #15667]
39558         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
39559         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
39561 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39563         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
39564         DL_DST_REQ_STATIC.
39565         (DL_DST_REQ_STATIC): Remove macro.
39567 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
39569         [BZ #7006]
39570         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
39571         with a shift of 0 bits.
39573 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39575         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
39576         $(tststatic-ENV).
39578 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39580         [BZ #15655]
39581         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
39583 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39585         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39586         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39587         accepts -fno-tree-loop-distribute-patterns.
39588         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39589         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39590         recursive call.
39591         * string/memset.c (memset): Likewise.
39592         * string/test-memmove.c (simple_memmove): Disable loop transformation
39593         to library calls.
39594         * string/test-memset.c (simple_memset): Likewise.
39595         * benchtests/bench-memmove.c (simple_memmove): Likewise.
39596         * benchtests/bench-memset.c (simple_memset): Likewise.
39597         * configure: Regenerated.
39599 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
39601         * math/test-misc.c (main): Ignore fesetround failure when failures
39602         of subsequent rounding tests would be ignored.
39604         [BZ #15654]
39605         * math/fedisblxcpt.c (fedisableexcept): Return 0.
39606         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39607         * math/fegetenv.c (__fegetenv): Return 0.
39608         * math/fegetexcept.c (fegetexcept): Return 0.
39609         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39610         FE_TONEAREST.
39611         * math/feholdexcpt.c (feholdexcept): Return 0.
39612         * math/fesetenv.c (__fesetenv): Return 0.
39613         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39614         argument FE_TONEAREST.
39615         * math/feupdateenv.c (__feupdateenv): Return 0.
39616         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39618 2013-06-18  Roland McGrath  <roland@hack.frob.com>
39620         * elf/rtld-Rules (rtld-compile-command.S): New variable.
39621         (rtld-compile-command.s, rtld-compile-command.c): New variables.
39622         ($(objpfx)rtld-%.os rules): Use them.
39624 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39626         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39627         fields.
39629 2013-06-17  Roland McGrath  <roland@hack.frob.com>
39631         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39632         length of target pattern, then descending length of dependency pattern.
39633         * configure.in (AWK): Require gawk 3.1.2 or newer.
39634         * manual/install.texi (Tools for Compilation): Say that we do.
39635         * configure: Regenerated.
39637         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39638         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39639         * scripts/sysd-rules.awk: ... this new script.
39640         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
39641         than a glob-style pattern.
39643 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
39645         * math/test-misc.c (main): Do not treat incorrectly rounded
39646         conversions as failure unless ROUNDING_TESTS passes.
39648 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
39650         [BZ #15631]
39651         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
39652         restore exception state around main square root computation, then
39653         check for inexactness explicitly.
39655         * math/libm-test.inc (fma_test_data): Add another test.
39657 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39659         * manual/threads.texi (Non-POSIX Extensions): New document
39660         node.  Document pthread_getattr_default_np and
39661         pthread_setattr_default_np.
39663         * Versions.def (libpthread): Add GLIBC_2.18.
39664         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
39665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39666         Likewise.
39667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39668         Likewise.
39669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39670         Likewise.
39671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39672         Likewise.
39673         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
39674         Likewise.
39675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39676         Likewise.
39677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39678         Likewise.
39679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39680         Likewise.
39681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39682         Likewise.
39684 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39686         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39687         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
39689 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39690             H.J. Lu  <hjl.tools@gmail.com>
39692         [BZ #15627]
39693         * sysdeps/x86_64/rtld-memset.c: Remove file.
39694         * sysdeps/x86_64/rtld-memset.S: New file.
39696 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
39698         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39699         (test_in_one_mode): Take arguments for whether the rounding mode
39700         is supported for each floating-point type.
39701         (do_test): Pass new arguments to test_in_one_mode using
39702         ROUNDING_TESTS.
39704 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39706         * posix/tst-waitid.c (do_test): Distinguish different instances of
39707         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39708         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39709         before entering the kernel for waitpid.
39711 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39713         * NEWS: Fix note on clock function precision.  Text by Roland
39714         McGrath.
39716 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39718         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39719         it into place only when and if the sanity check passes.
39721 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39723         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39724         output for whether conversion result is exact.  Take argument
39725         indicating whether type is IBM long double.
39726         (round_for_all): Change need_exact field to ibm_ld.
39727         * stdlib/tst-strtod-round.c (struct exactness): New type.
39728         (struct test): Change bool ld_ok field to struct exactness exact.
39729         (TEST): Update all definitions for change to field.
39730         (tests): Regenerate array contents.
39731         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39732         field value.  Check for IBM long double here.
39733         (do_test): Update calls to test_in_one_mode.
39735 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39737         [BZ #12515]
39738         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39739         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39741 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39743         [BZ #15605]
39744         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39745         generated by the compiler on loop optimizations.
39746         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39747         general definitions.
39749 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39751         * math/bug-nextafter.c: Include <math-tests.h>.
39752         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39753         the relevant type.
39754         * math/bug-nexttoward.c: Include <math-tests.h>.
39755         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39756         the relevant type.
39757         * math/test-misc.c: Include <math-tests.h>.
39758         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39759         the relevant type.
39761 2013-06-12  Andreas Jaeger  <aj@suse.de>
39763         * po/ia.po: Update Interlingua translation from translation
39764         project.
39766 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39768         * include/fenv.h: Include stdbool.h.
39769         (struct rm_ctx): New structure.
39770         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39771         Define macro.
39772         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39773         (SET_RESTORE_ROUNDF): Likewise.
39774         (SET_RESTORE_ROUNDL): Likewise.
39775         (SET_RESTORE_ROUND_NOEX): Likewise.
39776         (SET_RESTORE_ROUND_NOEXF): Likewise.
39777         (SET_RESTORE_ROUND_NOEXL): Likewise.
39778         (SET_RESTORE_ROUND_53BIT): Likewise.
39779         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39780         (libc_feresetround_noexf_ctx): Likewise.
39781         (libc_feresetround_noexl_ctx): Likewise.
39782         (libc_feholdsetround_53bit_ctx): Likewise.
39783         (libc_feresetround_53bit_ctx): Likewise.
39784         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39785         (libc_feholdexcept_setround_sse_ctx): New function.
39786         (libc_fesetenv_sse_ctx): Likewise.
39787         (libc_feupdateenv_sse_ctx): Likewise.
39788         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39789         (libc_feholdexcept_setround_387_ctx): Likewise.
39790         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39791         (libc_feholdsetround_387_prec_ctx): Likewise.
39792         (libc_feholdsetround_387_ctx): Likewise.
39793         (libc_feholdsetround_387_53bit_ctx): Likewise.
39794         (libc_feholdsetround_sse_ctx): Likewise.
39795         (libc_feresetround_sse_ctx): Likewise.
39796         (libc_feresetround_387_ctx): Likewise.
39797         (libc_feupdateenv_387_ctx): Likewise.
39798         (libc_feholdexcept_setroundf_ctx): Define macro.
39799         (libc_fesetenvf_ctx): Likewise.
39800         (libc_feupdateenvf_ctx): Likewise.
39801         (libc_feholdsetroundf_ctx): Likewise.
39802         (libc_feresetroundf_ctx): Likewise.
39803         (libc_feholdexcept_setround_ctx): Likewise.
39804         (libc_fesetenv_ctx): Likewise.
39805         (libc_feupdateenv_ctx): Likewise.
39806         (libc_feholdsetround_ctx): Likewise.
39807         (libc_feresetround_ctx): Likewise.
39808         (libc_feholdexcept_setroundl_ctx): Likewise.
39809         (libc_feupdateenvl_ctx): Likewise.
39810         (libc_feholdsetroundl_ctx): Likewise.
39811         (libc_feresetroundl_ctx): Likewise.
39812         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39813         (libc_feresetround_53bit_ctx): Likewise.
39815 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39817         * locale/iso-639.def: Convert to UTF-8.
39819 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39821         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39822         (EXCEPTION_TESTS_double): Likewise.
39823         (EXCEPTION_TESTS_long_double): Likewise.
39824         (EXCEPTION_TESTS): Likewise.
39825         * math/libm-test.inc (test_exceptions): Only test exceptions if
39826         EXCEPTION_TESTS (FLOAT).
39828 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39830         * benchtests/Makefile (string-bench): Add strcpy_chk and
39831         stpcpy_chk.
39832         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39833         * benchtests/bench-stpcpy_chk.c: New file.
39834         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39835         * benchtests/bench-strcpy_chk.c: New file.
39836         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39837         code.
39838         (do_test): Likewise.
39840 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39842         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39843         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39844         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39845         with tabs where appropriate.
39846         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39847         dl-procinfo.h.
39848         [PPC_PLATFORM_PPC440]: Likewise.
39849         [PPC_PLATFORM_PPC464]: Likewise.
39850         [PPC_PLATFORM_PPC476]: Likewise.
39851         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39852         ppc464, and ppc476 platform strings merging from ports/
39853         dl-procinfo.h.
39855 2013-06-11  Andreas Schwab  <schwab@suse.de>
39857         [BZ #14991]
39858         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39859         (from_ucs4_idx): Regenerate.
39860         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39861         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39862         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39863         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39864         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39865         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39866         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39867         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39868         from FROM_LOOP and TO_LOOP specific macros.
39869         (BODY): Handle combining characters.
39870         * iconvdata/BIG5HKSCS.irreversible: Update.
39871         * iconvdata/BIG5HKSCS.precomposed: New file.
39872         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39873         characters.
39874         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39876 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39878         * include/sys/time.h: Fix indentation and add copyright header.
39880         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39881         (do_test): Likewise.
39882         * string/test-memchr.c (do_one_test): Likewise.
39883         (do_test): Likewise.
39884         * string/test-memcmp.c (do_one_test): Likewise.
39885         (do_test): Likewise.
39886         * string/test-memcpy.c (do_one_test): Likewise.
39887         (do_test): Likewise.
39888         * string/test-memmem.c (do_one_test): Likewise.
39889         (do_test): Likewise.
39890         (do_random_tests): Likewise.
39891         * string/test-memmove.c (do_one_test): Likewise.
39892         (do_test): Likewise.
39893         * string/test-memset.c (do_one_test): Likewise.
39894         (do_test): Likewise.
39895         * string/test-rawmemchr.c (do_one_test): Likewise.
39896         (do_test): Likewise.
39897         * string/test-strcasecmp.c (do_one_test): Likewise.
39898         (do_test): Likewise.
39899         * string/test-strcasestr.c (do_one_test): Likewise.
39900         (do_test): Likewise.
39901         * string/test-strcat.c (do_one_test): Likewise.
39902         (do_test): Likewise.
39903         * string/test-strchr.c (do_one_test): Likewise.
39904         (do_test): Likewise.
39905         * string/test-strcmp.c (do_one_test): Likewise.
39906         (do_test): Likewise.
39907         * string/test-strcpy.c (do_one_test): Likewise.
39908         (do_test): Likewise.
39909         * string/test-string.h: Likewise.
39910         (test_init): Likewise.
39911         * string/test-strlen.c (do_one_test): Likewise.
39912         (do_test): Likewise.
39913         * string/test-strncasecmp.c (do_one_test): Likewise.
39914         (do_test): Likewise.
39915         * string/test-strncat.c (do_one_test): Likewise.
39916         (do_test): Likewise.
39917         * string/test-strncmp.c (do_one_test): Likewise.
39918         (do_test_limit): Likewise.
39919         (do_test): Likewise.
39920         * string/test-strncpy.c (do_one_test): Likewise.
39921         (do_test): Likewise.
39922         * string/test-strnlen.c (do_one_test): Likewise.
39923         (do_test): Likewise.
39924         * string/test-strpbrk.c (do_one_test): Likewise.
39925         (do_test): Likewise.
39926         * string/test-strrchr.c (do_one_test): Likewise.
39927         (do_test): Likewise.
39928         * string/test-strspn.c (do_one_test): Likewise.
39929         (do_test): Likewise.
39930         * string/test-strstr.c (do_one_test): Likewise.
39931         (do_test): Likewise.
39933         * benchtests/Makefile (string-bench): Add string benchmarks.
39934         * benchtests/bench-bcopy-ifunc.c: New file.
39935         * benchtests/bench-bcopy.c: New file.
39936         * benchtests/bench-bzero-ifunc.c: New file.
39937         * benchtests/bench-bzero.c: New file.
39938         * benchtests/bench-memccpy-ifunc.c: New file.
39939         * benchtests/bench-memccpy.c: New file.
39940         * benchtests/bench-memchr-ifunc.c: New file.
39941         * benchtests/bench-memchr.c: New file.
39942         * benchtests/bench-memcmp-ifunc.c: New file.
39943         * benchtests/bench-memcmp.c: New file.
39944         * benchtests/bench-memmem-ifunc.c: New file.
39945         * benchtests/bench-memmem.c: New file.
39946         * benchtests/bench-memmove-ifunc.c: New file.
39947         * benchtests/bench-memmove.c: New file.
39948         * benchtests/bench-mempcpy-ifunc.c: New file.
39949         * benchtests/bench-mempcpy.c: New file.
39950         * benchtests/bench-memset-ifunc.c: New file.
39951         * benchtests/bench-memset.c: New file.
39952         * benchtests/bench-rawmemchr-ifunc.c: New file.
39953         * benchtests/bench-rawmemchr.c: New file.
39954         * benchtests/bench-stpcpy-ifunc.c: New file.
39955         * benchtests/bench-stpcpy.c: New file.
39956         * benchtests/bench-stpncpy-ifunc.c: New file.
39957         * benchtests/bench-stpncpy.c: New file.
39958         * benchtests/bench-strcasecmp-ifunc.c: New file.
39959         * benchtests/bench-strcasecmp.c: New file.
39960         * benchtests/bench-strcasestr-ifunc.c: New file.
39961         * benchtests/bench-strcasestr.c: New file.
39962         * benchtests/bench-strcat-ifunc.c: New file.
39963         * benchtests/bench-strcat.c: New file.
39964         * benchtests/bench-strchr-ifunc.c: New file.
39965         * benchtests/bench-strchr.c: New file.
39966         * benchtests/bench-strchrnul-ifunc.c: New file.
39967         * benchtests/bench-strchrnul.c: New file.
39968         * benchtests/bench-strcmp-ifunc.c: New file.
39969         * benchtests/bench-strcmp.c: New file.
39970         * benchtests/bench-strcpy-ifunc.c: New file.
39971         * benchtests/bench-strcpy.c: New file.
39972         * benchtests/bench-strcspn-ifunc.c: New file.
39973         * benchtests/bench-strcspn.c: New file.
39974         * benchtests/bench-strlen-ifunc.c: New file.
39975         * benchtests/bench-strlen.c: New file.
39976         * benchtests/bench-strncasecmp-ifunc.c: New file.
39977         * benchtests/bench-strncasecmp.c: New file.
39978         * benchtests/bench-strncat-ifunc.c: New file.
39979         * benchtests/bench-strncat.c: New file.
39980         * benchtests/bench-strncmp-ifunc.c: New file.
39981         * benchtests/bench-strncmp.c: New file.
39982         * benchtests/bench-strncpy-ifunc.c: New file.
39983         * benchtests/bench-strncpy.c: New file.
39984         * benchtests/bench-strnlen-ifunc.c: New file.
39985         * benchtests/bench-strnlen.c: New file.
39986         * benchtests/bench-strpbrk-ifunc.c: New file.
39987         * benchtests/bench-strpbrk.c: New file.
39988         * benchtests/bench-strrchr-ifunc.c: New file.
39989         * benchtests/bench-strrchr.c: New file.
39990         * benchtests/bench-strspn-ifunc.c: New file.
39991         * benchtests/bench-strspn.c: New file.
39992         * benchtests/bench-strstr-ifunc.c: New file.
39993         * benchtests/bench-strstr.c: New file.
39995         * benchtests/Makefile: Disable parallel execution of targets.
39996         (string-bench): Add memcpy.
39997         (benchset): New variable to store a list of benchmark sets.
39998         (bench-func): Renamed from bench.
39999         (bench-set): New target.
40000         (bench): Depend on bench-func and bench-set.
40001         * benchtests/README: Add section on benchmark sets.
40002         * benchtests/bench-memcpy-ifunc.c: New file.
40003         * benchtests/bench-memcpy.c: New file.
40004         * benchtests/bench-string.h: New file.
40006 2013-06-11  Andreas Schwab  <schwab@suse.de>
40008         [BZ #15577]
40009         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40010         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40011         values in the triple.
40012         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40013         terminator in the group key.
40015 2013-06-11  Andreas Jaeger  <aj@suse.de>
40017         * po/zh_TW.po: Update Chinese (traditional) translation from
40018         translation project.
40020 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40022         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40023         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40024         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40025         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40026         (clock_getcpuclockid): Likewise.
40027         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40028         Add weak_alias and libc_hidden_def.
40029         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40030         * rt/clock_gettime.c (clock_gettime): Rename to
40031         __clock_gettime.  Add weak_alias and libc_hidden_def.
40032         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40033         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40034         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40035         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40036         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40037         Likewise.
40038         * rt/clock_settime.c (clock_settime): Rename to
40039         __clock_settime.  Add weak_alias and libc_hidden_def.
40040         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40042 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40044         * mach/err_boot.sub: Remove trailing whitespace.
40045         * mach/err_ipc.sub: Likewise.
40046         * mach/err_mach.sub: Likewise.
40048         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40049         (ROUNDING_TESTS_double): Likewise.
40050         (ROUNDING_TESTS_long_double): Likewise.
40051         (ROUNDING_TESTS): Likewise.
40052         * math/libm-test.inc: Include <math-tests.h>.
40053         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40054         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40055         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40056         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40058 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40060         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40061         of assigning.
40063 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40065         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40066         otherwise empty TRANS lines.
40067         * sysdeps/gnu/errlist.c: Regenerated.
40069         * catgets/gencat.c (error_print): Use (void) in function
40070         definition.
40071         * crypt/crypt_util.c (__init_des): Likewise.
40072         * crypt/speeds.c (Stop): Likewise.
40073         (main): Likewise.
40074         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40075         * inet/ruserpass.c (token): Likewise.
40076         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40077         * intl/localealias.c (extend_alias_table): Likewise.
40078         * intl/plural-exp.c (init_germanic_plural): Likewise.
40079         * libio/fcloseall.c (__fcloseall): Likewise.
40080         * libio/genops.c (_IO_flush_all): Likewise.
40081         (_IO_flush_all_linebuffered): Likewise.
40082         (_IO_cleanup): Likewise.
40083         (_IO_iter_begin): Likewise.
40084         (_IO_iter_end): Likewise.
40085         (_IO_list_lock): Likewise.
40086         (_IO_list_unlock): Likewise.
40087         (_IO_list_resetlock): Likewise.
40088         * libio/getchar.c (getchar): Likewise.
40089         * libio/getchar_u.c (getchar_unlocked): Likewise.
40090         * libio/getwchar.c (getwchar): Likewise.
40091         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40092         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40093         * login/getpt.c (__getpt): Likewise.
40094         * login/tst-utmp.c (main): Likewise.
40095         * malloc/hooks.c (__malloc_check_init): Likewise.
40096         * malloc/malloc.c (__malloc_stats): Likewise.
40097         * malloc/mtrace.c (tr_break): Likewise.
40098         (mtrace): Likewise.
40099         (muntrace): Likewise.
40100         * misc/fstab.c (endfsent): Likewise.
40101         * misc/getclktck.c (__getclktck): Likewise.
40102         * misc/getdtsz.c (__getdtablesize): Likewise.
40103         * misc/gethostid.c (gethostid): Likewise.
40104         * misc/getpagesize.c (__getpagesize): Likewise.
40105         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40106         (__get_nprocs): Likewise.
40107         (__get_phys_pages): Likewise.
40108         (__get_avphys_pages): Likewise.
40109         * misc/getttyent.c (getttyent): Likewise.
40110         (setttyent): Likewise.
40111         (endttyent): Likewise.
40112         * misc/getusershell.c (getusershell): Likewise.
40113         (endusershell): Likewise.
40114         (setusershell): Likewise.
40115         (initshells): Likewise.
40116         * misc/hsearch.c (__hdestroy): Likewise.
40117         * misc/sync.c (sync): Likewise.
40118         * misc/syslog.c (closelog_internal): Likewise.
40119         (closelog): Likewise.
40120         * misc/ttyslot.c (ttyslot): Likewise.
40121         * misc/vhangup.c (vhangup): Likewise.
40122         * posix/fork.c (__fork): Likewise.
40123         * posix/getegid.c (__getegid): Likewise.
40124         * posix/geteuid.c (__geteuid): Likewise.
40125         * posix/getgid.c (__getgid): Likewise.
40126         * posix/getpid.c (__getpid): Likewise.
40127         * posix/getppid.c (__getppid): Likewise.
40128         * posix/getuid.c (__getuid): Likewise.
40129         * posix/pause.c (pause): Likewise.
40130         * posix/setpgrp.c (setpgrp): Likewise.
40131         * posix/setsid.c (__setsid): Likewise.
40132         * posix/test-vfork.c (noop): Likewise.
40133         * resolv/gethnamaddr.c (_endhtent): Likewise.
40134         (_gethtent): Likewise.
40135         (ht_endhostent): Likewise.
40136         (gethostent): Likewise.
40137         (dns_service): Likewise.
40138         * stdlib/drand48.c (drand48): Likewise.
40139         * stdlib/lrand48.c (lrand48): Likewise.
40140         * stdlib/mrand48.c (mrand48): Likewise.
40141         * stdlib/rand.c (rand): Likewise.
40142         * stdlib/random.c (__random): Likewise.
40143         * stdlib/setenv.c (clearenv): Likewise.
40144         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40145         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40146         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40147         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40148         (__get_nprocs): Likewise.
40149         (__get_phys_pages): Likewise.
40150         (__get_avphys_pages): Likewise.
40151         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40152         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40153         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40154         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40155         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40156         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40157         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40158         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40159         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40160         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40161         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40162         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40163         * sysdeps/posix/clock.c (clock): Likewise.
40164         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40165         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40166         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40167         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40168         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40169         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40170         (__get_nprocs_conf): Likewise.
40171         (__get_phys_pages): Likewise.
40172         (__get_avphys_pages): Likewise.
40173         * time/clock.c (clock): Likewise.
40174         * time/tzset.c (__tzname_max): Likewise.
40176 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40178         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40179         (__bswap_32): Do not use "register".
40180         * crypt/crypt.c (_ufc_doit_r): Likewise.
40181         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40182         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40183         * gmon/gmon.c (__monstartup): Likewise.
40184         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40185         * hurd/hurdmalloc.c (more_memory): Likewise.
40186         (malloc): Likewise.
40187         (free): Likewise.
40188         (realloc): Likewise.
40189         (malloc_fork_prepare): Likewise.
40190         (malloc_fork_parent): Likewise.
40191         (malloc_fork_child): Likewise.
40192         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40193         (_svcauth_des): Likewise.
40194         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40195         * inet/inet_net.c (inet_network): Likewise.
40196         * inet/inet_netof.c (inet_netof): Likewise.
40197         * inet/rcmd.c (__validuser2_sa): Likewise.
40198         * io/fts.c (fts_open): Likewise.
40199         (fts_load): Likewise.
40200         (fts_close): Likewise.
40201         (fts_read): Likewise.
40202         (fts_children): Likewise.
40203         (fts_build): Likewise.
40204         (fts_stat): Likewise.
40205         (fts_sort): Likewise.
40206         (fts_alloc): Likewise.
40207         (fts_lfree): Likewise.
40208         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40209         (_IO_file_xsgetn): Likewise.
40210         (_IO_file_xsgetn_mmap): Likewise.
40211         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40212         (_IO_cookie_write): Likewise.
40213         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40214         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40215         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40216         * malloc/obstack.c (_obstack_begin): Likewise.
40217         (_obstack_begin_1): Likewise.
40218         (_obstack_newchunk): Likewise.
40219         (_obstack_allocated_p): Likewise.
40220         (obstack_free): Likewise.
40221         (_obstack_memory_used): Likewise.
40222         * misc/getttyent.c (getttynam): Likewise.
40223         (getttyent): Likewise.
40224         (skip): Likewise.
40225         (value): Likewise.
40226         * misc/getusershell.c (initshells): Likewise.
40227         * misc/syslog.c (__vsyslog_chk): Likewise.
40228         * misc/ttyslot.c (ttyslot): Likewise.
40229         * nis/nis_hash.c (__nis_hash): Likewise.
40230         * posix/fnmatch_loop.c (FCT): Likewise.
40231         * posix/getconf.c (print_all): Likewise.
40232         (main): Likewise.
40233         * posix/getopt.c (exchange): Likewise.
40234         * posix/glob.c (globfree): Likewise.
40235         (prefix_array): Likewise.
40236         (__glob_pattern_type): Likewise.
40237         * resolv/arpa/nameser.h (NS_GET16): Likewise.
40238         (NS_GET32): Likewise.
40239         (NS_PUT16): Likewise.
40240         (NS_PUT32): Likewise.
40241         * resolv/gethnamaddr.c (getanswer): Likewise.
40242         (gethostbyname2): Likewise.
40243         (gethostbyaddr): Likewise.
40244         (_gethtent): Likewise.
40245         (_gethtbyname2): Likewise.
40246         (_gethtbyaddr): Likewise.
40247         * resolv/ns_print.c (dst_s_get_int16): Likewise.
40248         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40249         * resolv/res_init.c (__res_vinit): Likewise.
40250         (net_mask): Likewise.
40251         * resolv/res_mkquery.c (outchar): Likewise.
40252         (PRINT): Likewise.
40253         * stdio-common/printf_fp.c (outchar): Likewise.
40254         (PRINT): Likewise.
40255         * stdio-common/printf_fphex.c (outchar): Likewise.
40256         (PRINT): Likewise.
40257         * stdio-common/printf_size.c (outchar): Likewise.
40258         (PRINT): Likewise.
40259         * stdio-common/test_rdwr.c (main): Likewise.
40260         * stdio-common/tfformat.c (matches): Likewise.
40261         * stdio-common/vfprintf.c (outchar): Likewise.
40262         (printf_unknown): Likewise.
40263         (buffered_vfprintf): Likewise.
40264         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40265         * stdio-common/xbug.c (AppendToBuffer): Likewise.
40266         (ReadFile): Likewise.
40267         * stdlib/qsort.c (SWAP): Likewise.
40268         (_quicksort): Likewise.
40269         * stdlib/setenv.c (__add_to_environ): Likewise.
40270         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40271         * stdlib/strtol_l.c (__strtol_l): Likewise.
40272         * stdlib/tst-strtod.c (main): Likewise.
40273         * stdlib/tst-strtol.c (main): Likewise.
40274         * stdlib/tst-strtoll.c (main): Likewise.
40275         * string/bits/string2.h (__strcmp_cc): Likewise.
40276         (__strcmp_cg): Likewise.
40277         (__strcspn_c1): Likewise.
40278         (__strcspn_c2): Likewise.
40279         (__strcspn_c3): Likewise.
40280         (__strspn_c1): Likewise.
40281         (__strspn_c2): Likewise.
40282         (__strspn_c3): Likewise.
40283         (__strsep_1c): Likewise.
40284         (__strsep_2c): Likewise.
40285         (__strsep_3c): Likewise.
40286         * string/memccpy.c (__memccpy): Likewise.
40287         * string/stpcpy.c (__stpcpy): Likewise.
40288         * string/strcmp.c (strcmp): Likewise.
40289         * string/strrchr.c (strrchr): Likewise.
40290         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40291         Likewise.
40292         * sysdeps/mach/hurd/getcwd.c
40293         (_hurd_canonicalize_directory_name_internal): Likewise.
40294         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40295         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40296         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40297         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40298         Likewise, in both definitions.
40299         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40300         definitions.
40301         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40302         64] (__bswap_64): Likewise.
40303         * time/test_time.c (main): Likewise.
40304         * time/tzfile.c (__tzfile_read): Likewise.
40305         (__tzfile_compute): Likewise.
40306         * time/tzset.c (__tzset_parse_tz): Likewise.
40307         (tzset_internal): Likewise.
40308         (compute_change): Likewise.
40309         * wcsmbs/wcscat.c (__wcscat): Likewise.
40310         * wcsmbs/wcschr.c (wcschr): Likewise.
40311         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40312         * wcsmbs/wcscspn.c (wcscspn): Likewise.
40313         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40314         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40315         * wcsmbs/wcsspn.c (wcsspn): Likewise.
40316         * wcsmbs/wcsstr.c (wcsstr): Likewise.
40317         * wcsmbs/wmemchr.c (wmemchr): Likewise.
40318         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40319         * wcsmbs/wmemset.c (wmemset): Likewise.
40321 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
40323         * scripts/config.guess: Update to version 2013-05-16.
40324         * scripts/config.sub: Update to version 2013-04-24.
40325         * scripts/install-sh: Update to version 2011-11-20.07.
40326         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40327         * scripts/move-if-change: Update to version 2012-01-06 07:23.
40329 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
40331         * debug/fgetws_u_chk.c: Fix leading whitespaces.
40332         * elf/sln.c: Likewise.
40333         * hurd/hurd/ioctl.h: Likewise.
40334         * hurd/hurdmalloc.c: Likewise.
40335         * hurd/xattr.c: Likewise.
40336         * include/shlib-compat.h: Likewise.
40337         * inet/ruserpass.c: Likewise.
40338         * libio/iofgets_u.c: Likewise.
40339         * libio/iofgetws_u.c: Likewise.
40340         * locale/programs/ld-identification.c: Likewise.
40341         * locale/programs/ld-time.c: Likewise.
40342         * mach/msg-destroy.c: Likewise.
40343         * nss/nss_files/files-netgrp.c: Likewise.
40344         * resolv/res_data.c: Likewise.
40345         * soft-fp/op-1.h: Likewise.
40346         * soft-fp/op-2.h: Likewise.
40347         * soft-fp/op-4.h: Likewise.
40348         * soft-fp/op-common.h: Likewise.
40349         * stdio-common/printf_fphex.c: Likewise.
40350         * stdlib/strtod_l.c: Likewise.
40351         * sunrpc/rpc/clnt.h: Likewise.
40352         * sysdeps/generic/framestate.c: Likewise.
40353         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40354         * sysdeps/i386/bsd-setjmp.S: Likewise.
40355         * sysdeps/i386/__longjmp.S: Likewise.
40356         * sysdeps/i386/setjmp.S: Likewise.
40357         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40358         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40359         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40360         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40361         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40362         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40363         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40364         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40365         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40366         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40367         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40368         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40369         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40370         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40371         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40372         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40373         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40374         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40375         * sysdeps/ieee754/support.c: Likewise.
40376         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40377         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40378         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40379         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40380         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40381         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40382         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40383         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40384         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40385         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40386         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40387         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40388         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40389         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40390         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40391         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40392         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40395 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
40397         * posix/transbug.c: Remove executable mode.
40399 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
40401         * crypt/speeds.c: Remove trailing whitespace.
40402         * dlfcn/default.c: Likewise.
40403         * elf/ifuncdep2.c: Likewise.
40404         * elf/ifuncmain1.c: Likewise.
40405         * elf/ifuncmain1vis.c: Likewise.
40406         * elf/testobj.h: Likewise.
40407         * elf/tst-stackguard1.c: Likewise.
40408         * gmon/sys/gmon.h: Likewise.
40409         * hurd/hurdmsg.c: Likewise.
40410         * hurd/new-fd.c: Likewise.
40411         * hurd/ports-get.c: Likewise.
40412         * iconvdata/ibm1008_420.c: Likewise.
40413         * inet/tst-getni1.c: Likewise.
40414         * inet/tst-getni2.c: Likewise.
40415         * libio/ioungetc.c: Likewise.
40416         * libio/wfiledoalloc.c: Likewise.
40417         * manual/libm-err-tab.pl: Likewise.
40418         * math/w_dremf.c: Likewise.
40419         * misc/ftruncate.c: Likewise.
40420         * posix/bug-glob2.c: Likewise.
40421         * posix/tst-pcre.c: Likewise.
40422         * posix/wait4.c: Likewise.
40423         * resolv/README: Likewise.
40424         * resolv/res_debug.h: Likewise.
40425         * resolv/tst-inet_ntop.c: Likewise.
40426         * setjmp/bug269-setjmp.c: Likewise.
40427         * soft-fp/extended.h: Likewise.
40428         * soft-fp/op-1.h: Likewise.
40429         * soft-fp/op-2.h: Likewise.
40430         * soft-fp/op-4.h: Likewise.
40431         * soft-fp/op-8.h: Likewise.
40432         * soft-fp/testit.c: Likewise.
40433         * stdio-common/bug16.c: Likewise.
40434         * stdlib/random.c: Likewise.
40435         * sunrpc/rpcsvc/rquota.x: Likewise.
40436         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40437         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40438         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40439         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40440         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40441         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40442         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40443         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40444         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40445         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40446         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40447         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40448         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40449         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40450         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40451         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40452         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40453         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40454         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40455         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40456         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40457         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40458         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40459         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40460         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40461         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40462         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40463         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40464         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40465         * sysdeps/ieee754/s_lib_version.c: Likewise.
40466         * sysdeps/mach/hurd/check_fds.c: Likewise.
40467         * sysdeps/mach/hurd/getsockname.c: Likewise.
40468         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40469         * sysdeps/mach/hurd/recvfrom.c: Likewise.
40470         * sysdeps/powerpc/bits/link.h: Likewise.
40471         * sysdeps/powerpc/dl-procinfo.c: Likewise.
40472         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40473         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40474         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40475         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40476         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40477         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40478         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40479         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40480         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40481         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40482         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40483         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40484         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40485         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40486         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40487         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40488         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40489         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40490         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40491         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40492         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40493         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40494         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40495         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40496         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40497         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40498         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40499         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40500         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40501         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40502         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40503         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40504         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40505         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40506         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40507         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40508         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40509         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40510         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40511         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40512         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40513         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
40514         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
40515         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40516         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
40517         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
40518         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40519         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
40520         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
40521         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40522         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40523         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40524         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40525         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
40526         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40527         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40528         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40529         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
40530         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40531         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
40532         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
40533         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
40534         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40535         * sysdeps/powerpc/sysdep.h: Likewise.
40536         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40537         * sysdeps/s390/s390-64/sub_n.S: Likewise.
40538         * sysdeps/sh/dl-trampoline.S: Likewise.
40539         * sysdeps/sh/memset.S: Likewise.
40540         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
40541         * sysdeps/sh/strlen.S: Likewise.
40542         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
40543         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
40544         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
40545         * sysdeps/sparc/sparc32/rem.S: Likewise.
40546         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
40547         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
40548         * sysdeps/sparc/sparc32/strchr.S: Likewise.
40549         * sysdeps/sparc/sparc32/udiv.S: Likewise.
40550         * sysdeps/sparc/sparc32/urem.S: Likewise.
40551         * sysdeps/sparc/sparc64/add_n.S: Likewise.
40552         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40553         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
40554         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
40555         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
40556         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
40557         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
40558         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
40559         * sysdeps/unix/bsd/times.c: Likewise.
40560         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
40561         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
40562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40565         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
40566         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40567         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
40568         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
40569         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
40570         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
40571         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40572         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
40573         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40574         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40575         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
40576         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40577         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
40578         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
40579         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
40580         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
40581         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
40582         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40583         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
40584         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40585         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40586         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40587         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40588         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40589         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40590         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40591         * sysdeps/x86_64/strcspn.S: Likewise.
40593 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40595         * locale/C-translit.h: Revert #include <stdint.h> because this is a
40596         generated file.  Regenerate properly from gen-translit.pl.
40597         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
40598         locale/C-translit.h.
40600 2013-06-05  Andreas Schwab  <schwab@suse.de>
40602         [BZ #15100]
40603         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40604         week as 6 instead of -1.
40605         * time/tst-strptime.c (day_tests): Add test case.
40607 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40609         * sysdeps/generic/math_private.h
40610         (libc_feholdexcept_setround_53bit): Replace with
40611         libc_feholdsetround_53bit.
40612         (libc_feupdateenv_53bit): Replace with
40613         libc_feresetround_53bit.
40614         (SET_RESTORE_ROUND_53BIT): Adjust.
40616 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40618         * string/test-strchrnul.c: Add copyright header.
40620         * posix/tst-getaddrinfo4.c: Increase test timeout.
40622 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
40624         [BZ #15536]
40625         * math/libm-test.inc (MAX_EXP): Remove
40626         (MIN_EXP): Define.
40627         (ulp): Use MIN_EXP - MANT_DIG.
40628         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40630 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
40632         * po/be.po: Revert last change.
40633         * po/zh_CN.po: Likewise.
40634         * po/header.pot: Likewise.
40636 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
40638         * Makefile ($(common-objpfx)linkobj/libc.so): Define
40639         link-libc-deps to empty as target-specific variable.
40640         * Makerules (link-libc-args): New variable.
40641         (libc-for-link): Likewise.
40642         (link-libc-deps): Likewise.
40643         (lib%.so): Depend on $(link-libc-deps).  Link with
40644         $(link-libc-args).
40645         (build-module): Link with $(link-libc-args).
40646         (build-module-asneeded): Likewise.
40647         (build-module-helper-objlist): Filter out $(link-libc-deps) from
40648         list of objects.
40649         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
40650         target-specific variable.
40651         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
40652         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
40653         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
40654         libc.
40655         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
40656         libc and ld.so.
40657         ($(objpfx)libpcprofile.so): Likewise.
40658         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
40659         libc_nonshared.a.
40660         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40661         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
40662         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
40663         $(link-libc-deps).
40664         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
40665         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
40666         * login/Makefile ($(objpfx)libutil.so): Likewise.
40667         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
40668         * math/Makefile ($(objpfx)libm.so): Likewise.
40669         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
40670         $(objpfx)libnsl.so): Define libc-for-link as target-specific
40671         variable instead of depending directly on libc.
40672         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
40673         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
40674         $(link-libc-deps).
40675         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
40676         libc.
40677         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
40678         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
40679         ($(objpfx)libanl.so): Likewise.
40680         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
40681         ld.so.
40682         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
40683         $(link-libc-deps).
40684         * sysdeps/i386/fpu/Makefile: Remove file.
40685         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
40686         ($(objpfx)libm.so): Remove dependency on ld.so.
40688 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
40690         [BZ # 15553]
40691         * nis/yp_xdr.c (XDRMAXNAME): Define.
40692         (XDRMAXRECORD): Define.
40693         (xdr_domainname): Use XDRMAXNAME.
40694         (xdr_mapname): Likewise.
40695         (xdr_peername): Likewise.
40696         (xdr_keydat): Use XDRMAXRECORD.
40697         (xdr_valdat): Likewise.
40699 2013-05-30  Jeff Law  <law@redhat.com>
40701         [BZ #14256]
40702         * manual/errno.texi (ESTALE): Update to account for more than
40703         just NFS file systems.
40704         * sysdeps/gnu/errlist.c: Regenerated.
40706 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40708         [BZ #15465]
40709         * elf/Makefile (tests): Add tst-null-argv.
40710         (modules-names):  Add tst-null-argv-lib.
40711         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40712         (tst-null-argv-ENV): Set environment for tst-null-argv.
40713         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40714         (RTLD_PROGNAME): New macro.
40715         * elf/tst-null-argv.c: New test case.
40716         * elf/tst-null-argv-lib.c: Library for test case.
40717         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40718         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40719         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40720         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40721         * elf/dl-init.c (call_init): Likewise.
40722         (_dl_init): Likewise.
40723         * elf/dl-load.c (print_search_path): Likewise.
40724         (_dl_map_object): Likewise.
40725         * elf/dl-lookup.c (do_lookup_x): Likewise.
40726         (add_dependency): Likewise.
40727         (_dl_lookup_symbol_x): Likewise.
40728         (_dl_debug_bindings): Likewise.
40729         * elf/dl-open.c (_dl_show_scope): Likewise.
40730         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40731         * elf/dl-version.c (match_symbol): Likewise.
40732         (_dl_check_map_versions): Likewise.
40733         * elf/rtld.c (dl_main): Likewise.
40734         (print_unresolved): Use RTLD_PROGNAME.
40735         (print_missing_version): Likewise.
40736         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40737         (elf_machine_rela): Likewise.
40738         * sysdeps/powerpc/powerpc32/dl-machine.c
40739         (__process_machine_rela): Likewise.
40740         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40741         Likewise.
40742         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40743         Likewise.
40744         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40745         Likewise.
40746         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40747         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40748         Likewise.
40749         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40750         Likewise.
40751         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40753 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40755         * po/be.po: Add descriptive title.
40756         * po/zh_CN.po: Likewise.
40757         * po/header.pot: Likewise.
40759 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40761         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40762         error message.
40763         (enlarge_archive): Likewise.
40765 2013-05-28  Ben North  <ben@redfrontdoor.org>
40767         * manual/arith.texi (frexp): It is the magnitude of the return
40768         value which lies in [0.5, 1), not the return value itself.
40770 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40774 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40776         * stdio-common/bug26.c (main): Correct fscanf template.
40778         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40779         declare _dl_skip_args.
40781         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40782         Don't declare.
40784         * manual/platform.texi: Add missing @end deftypefun.
40786 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40788         [BZ #15529]
40789         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40790         bit of mantissa of 2^16382.
40791         * math/libm-test.inc (hypot_test_data): Add more tests.
40793         * math/libm-test.inc: Add drem and pow10 to list of tested
40794         functions.
40795         (pow10_test): New function.
40796         (drem_test): Likewise.
40797         (drem_test_tonearest): Likewise.
40798         (drem_test_towardzero): Likewise.
40799         (drem_test_downward): Likewise.
40800         (drem_test_upward): Likewise.
40801         (main): Call the new functions.
40803         * math/libm-test.inc (finite_test_data): Remove.
40804         (finite_test): Run tests from isfinite_test_data.
40805         (gamma_test_data): Remove.
40806         (gamma_test): Run tests from lgamma_test_data.
40807         * sysdeps/i386/fpu/libm-test-ulps: Update.
40808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40810 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40812         * manual/platform.texi: Add PowerPC PPR function set documentation.
40813         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40814         implementation.
40816 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40818         * math/libm-test.inc (MAX_EXP): Define.
40819         (ULPDIFF): Define.
40820         (ulp): New function.
40821         (check_float_internal): Use ULPDIFF.
40822         (cpow_test): Disable failing test.
40823         (check_ulp): Test ulp() implemetnation.
40824         (main): Call check_ulp before starting tests.
40826 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40828         * math/gen-libm-test.pl (generate_testfile): Do not handle
40829         START_DATA and END_DATA.
40830         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40831         END_DATA.
40832         (acos_tonearest_test_data): Likewise.
40833         (acos_towardzero_test_data): Likewise.
40834         (acos_downward_test_data): Likewise.
40835         (acos_upward_test_data): Likewise.
40836         (acosh_test_data): Likewise.
40837         (asin_test_data): Likewise.
40838         (asin_tonearest_test_data): Likewise.
40839         (asin_towardzero_test_data): Likewise.
40840         (asin_downward_test_data): Likewise.
40841         (asin_upward_test_data): Likewise.
40842         (asinh_test_data): Likewise.
40843         (atan_test_data): Likewise.
40844         (atanh_test_data): Likewise.
40845         (atan2_test_data): Likewise.
40846         (cabs_test_data): Likewise.
40847         (cacos_test_data): Likewise.
40848         (cacosh_test_data): Likewise.
40849         (carg_test_data): Likewise.
40850         (casin_test_data): Likewise.
40851         (casinh_test_data): Likewise.
40852         (catan_test_data): Likewise.
40853         (catanh_test_data): Likewise.
40854         (cbrt_test_data): Likewise.
40855         (ccos_test_data): Likewise.
40856         (ccosh_test_data): Likewise.
40857         (ceil_test_data): Likewise.
40858         (cexp_test_data): Likewise.
40859         (cimag_test_data): Likewise.
40860         (clog_test_data): Likewise.
40861         (clog10_test_data): Likewise.
40862         (conj_test_data): Likewise.
40863         (copysign_test_data): Likewise.
40864         (cos_test_data): Likewise.
40865         (cos_tonearest_test_data): Likewise.
40866         (cos_towardzero_test_data): Likewise.
40867         (cos_downward_test_data): Likewise.
40868         (cos_upward_test_data): Likewise.
40869         (cosh_test_data): Likewise.
40870         (cosh_tonearest_test_data): Likewise.
40871         (cosh_towardzero_test_data): Likewise.
40872         (cosh_downward_test_data): Likewise.
40873         (cosh_upward_test_data): Likewise.
40874         (cpow_test_data): Likewise.
40875         (cproj_test_data): Likewise.
40876         (creal_test_data): Likewise.
40877         (csin_test_data): Likewise.
40878         (csinh_test_data): Likewise.
40879         (csqrt_test_data): Likewise.
40880         (ctan_test_data): Likewise.
40881         (ctan_tonearest_test_data): Likewise.
40882         (ctan_towardzero_test_data): Likewise.
40883         (ctan_downward_test_data): Likewise.
40884         (ctan_upward_test_data): Likewise.
40885         (ctanh_test_data): Likewise.
40886         (ctanh_tonearest_test_data): Likewise.
40887         (ctanh_towardzero_test_data): Likewise.
40888         (ctanh_downward_test_data): Likewise.
40889         (ctanh_upward_test_data): Likewise.
40890         (erf_test_data): Likewise.
40891         (erfc_test_data): Likewise.
40892         (exp_test_data): Likewise.
40893         (exp_tonearest_test_data): Likewise.
40894         (exp_towardzero_test_data): Likewise.
40895         (exp_downward_test_data): Likewise.
40896         (exp_upward_test_data): Likewise.
40897         (exp10_test_data): Likewise.
40898         (exp2_test_data): Likewise.
40899         (expm1_test_data): Likewise.
40900         (fabs_test_data): Likewise.
40901         (fdim_test_data): Likewise.
40902         (finite_test_data): Likewise.
40903         (floor_test_data): Likewise.
40904         (fma_test_data): Likewise.
40905         (fma_towardzero_test_data): Likewise.
40906         (fma_downward_test_data): Likewise.
40907         (fma_upward_test_data): Likewise.
40908         (fmax_test_data): Likewise.
40909         (fmin_test_data): Likewise.
40910         (fmod_test_data): Likewise.
40911         (fpclassify_test_data): Likewise.
40912         (frexp_test_data): Likewise.
40913         (gamma_test_data): Likewise.
40914         (hypot_test_data): Likewise.
40915         (ilogb_test_data): Likewise.
40916         (isfinite_test_data): Likewise.
40917         (isgreater_test_data): Likewise.
40918         (isgreaterequal_test_data): Likewise.
40919         (isinf_test_data): Likewise.
40920         (isless_test_data): Likewise.
40921         (islessequal_test_data): Likewise.
40922         (islessgreater_test_data): Likewise.
40923         (isnan_test_data): Likewise.
40924         (isnormal_test_data): Likewise.
40925         (issignaling_test_data): Likewise.
40926         (isunordered_test_data): Likewise.
40927         (j0_test_data): Likewise.
40928         (j1_test_data): Likewise.
40929         (jn_test_data): Likewise.
40930         (ldexp_test_data): Likewise.
40931         (lgamma_test_data): Likewise.
40932         (lrint_test_data): Likewise.
40933         (lrint_tonearest_test_data): Likewise.
40934         (lrint_towardzero_test_data): Likewise.
40935         (lrint_downward_test_data): Likewise.
40936         (lrint_upward_test_data): Likewise.
40937         (llrint_test_data): Likewise.
40938         (llrint_tonearest_test_data): Likewise.
40939         (llrint_towardzero_test_data): Likewise.
40940         (llrint_downward_test_data): Likewise.
40941         (llrint_upward_test_data): Likewise.
40942         (log_test_data): Likewise.
40943         (log10_test_data): Likewise.
40944         (log1p_test_data): Likewise.
40945         (log2_test_data): Likewise.
40946         (logb_test_data): Likewise.
40947         (logb_downward_test_data): Likewise.
40948         (lround_test_data): Likewise.
40949         (llround_test_data): Likewise.
40950         (modf_test_data): Likewise.
40951         (nearbyint_test_data): Likewise.
40952         (nextafter_test_data): Likewise.
40953         (nexttoward_test_data): Likewise.
40954         (pow_test_data): Likewise.
40955         (pow_tonearest_test_data): Likewise.
40956         (pow_towardzero_test_data): Likewise.
40957         (pow_downward_test_data): Likewise.
40958         (pow_upward_test_data): Likewise.
40959         (remainder_test_data): Likewise.
40960         (remainder_tonearest_test_data): Likewise.
40961         (remainder_towardzero_test_data): Likewise.
40962         (remainder_downward_test_data): Likewise.
40963         (remainder_upward_test_data): Likewise.
40964         (remquo_test_data): Likewise.
40965         (rint_test_data): Likewise.
40966         (rint_tonearest_test_data): Likewise.
40967         (rint_towardzero_test_data): Likewise.
40968         (rint_downward_test_data): Likewise.
40969         (rint_upward_test_data): Likewise.
40970         (round_test_data): Likewise.
40971         (scalb_test_data): Likewise.
40972         (scalbn_test_data): Likewise.
40973         (scalbln_test_data): Likewise.
40974         (signbit_test_data): Likewise.
40975         (sin_test_data): Likewise.
40976         (sin_tonearest_test_data): Likewise.
40977         (sin_towardzero_test_data): Likewise.
40978         (sin_downward_test_data): Likewise.
40979         (sin_upward_test_data): Likewise.
40980         (sincos_test_data): Likewise.
40981         (sinh_test_data): Likewise.
40982         (sinh_tonearest_test_data): Likewise.
40983         (sinh_towardzero_test_data): Likewise.
40984         (sinh_downward_test_data): Likewise.
40985         (sinh_upward_test_data): Likewise.
40986         (sqrt_test_data): Likewise.
40987         (tan_test_data): Likewise.
40988         (tan_tonearest_test_data): Likewise.
40989         (tan_towardzero_test_data): Likewise.
40990         (tan_downward_test_data): Likewise.
40991         (tan_upward_test_data): Likewise.
40992         (tanh_test_data): Likewise.
40993         (tgamma_test_data): Likewise.
40994         (trunc_test_data): Likewise.
40995         (y0_test_data): Likewise.
40996         (y1_test_data): Likewise.
40997         (yn_test_data): Likewise.
40998         (significand_test_data): Likewise.
41000         * math/gen-libm-test.pl (@functions): Remove variable.
41001         (generate_testfile): Don't handle START and END lines.
41002         * math/libm-test.inc (START): New macro.
41003         (END): Likewise.
41004         (END_COMPLEX): Likewise.
41005         (acos_test): Use END macro without arguments.
41006         (acos_test_tonearest): Likewise.
41007         (acos_test_towardzero): Likewise.
41008         (acos_test_downward): Likewise.
41009         (acos_test_upward): Likewise.
41010         (acosh_test): Likewise.
41011         (asin_test): Likewise.
41012         (asin_test_tonearest): Likewise.
41013         (asin_test_towardzero): Likewise.
41014         (asin_test_downward): Likewise.
41015         (asin_test_upward): Likewise.
41016         (asinh_test): Likewise.
41017         (atan_test): Likewise.
41018         (atanh_test): Likewise.
41019         (atan2_test): Likewise.
41020         (cabs_test): Likewise.
41021         (cacos_test): Use END_COMPLEX macro without arguments.
41022         (cacosh_test): Likewise.
41023         (carg_test): Use END macro without arguments.
41024         (casin_test): Use END_COMPLEX macro without arguments.
41025         (casinh_test): Likewise.
41026         (catan_test): Likewise.
41027         (catanh_test): Likewise.
41028         (cbrt_test): Use END macro without arguments.
41029         (ccos_test): Use END_COMPLEX macro without arguments.
41030         (ccosh_test): Likewise.
41031         (ceil_test): Use END macro without arguments.
41032         (cexp_test): Use END_COMPLEX macro without arguments.
41033         (cimag_test): Use END macro without arguments.
41034         (clog_test): Use END_COMPLEX macro without arguments.
41035         (clog10_test): Likewise.
41036         (conj_test): Likewise.
41037         (copysign_test): Use END macro without arguments.
41038         (cos_test): Likewise.
41039         (cos_test_tonearest): Likewise.
41040         (cos_test_towardzero): Likewise.
41041         (cos_test_downward): Likewise.
41042         (cos_test_upward): Likewise.
41043         (cosh_test): Likewise.
41044         (cosh_test_tonearest): Likewise.
41045         (cosh_test_towardzero): Likewise.
41046         (cosh_test_downward): Likewise.
41047         (cosh_test_upward): Likewise.
41048         (cpow_test): Use END_COMPLEX macro without arguments.
41049         (cproj_test): Likewise.
41050         (creal_test): Use END macro without arguments.
41051         (csin_test): Use END_COMPLEX macro without arguments.
41052         (csinh_test): Likewise.
41053         (csqrt_test): Likewise.
41054         (ctan_test): Likewise.
41055         (ctan_test_tonearest): Likewise.
41056         (ctan_test_towardzero): Likewise.
41057         (ctan_test_downward): Likewise.
41058         (ctan_test_upward): Likewise.
41059         (ctanh_test): Likewise.
41060         (ctanh_test_tonearest): Likewise.
41061         (ctanh_test_towardzero): Likewise.
41062         (ctanh_test_downward): Likewise.
41063         (ctanh_test_upward): Likewise.
41064         (erf_test): Use END macro without arguments.
41065         (erfc_test): Likewise.
41066         (exp_test): Likewise.
41067         (exp_test_tonearest): Likewise.
41068         (exp_test_towardzero): Likewise.
41069         (exp_test_downward): Likewise.
41070         (exp_test_upward): Likewise.
41071         (exp10_test): Likewise.
41072         (exp2_test): Likewise.
41073         (expm1_test): Likewise.
41074         (fabs_test): Likewise.
41075         (fdim_test): Likewise.
41076         (finite_test): Likewise.
41077         (floor_test): Likewise.
41078         (fma_test): Likewise.
41079         (fma_test_towardzero): Likewise.
41080         (fma_test_downward): Likewise.
41081         (fma_test_upward): Likewise.
41082         (fmax_test): Likewise.
41083         (fmin_test): Likewise.
41084         (fmod_test): Likewise.
41085         (fpclassify_test): Likewise.
41086         (frexp_test): Likewise.
41087         (gamma_test): Likewise.
41088         (hypot_test): Likewise.
41089         (ilogb_test): Likewise.
41090         (isfinite_test): Likewise.
41091         (isgreater_test): Likewise.
41092         (isgreaterequal_test): Likewise.
41093         (isinf_test): Likewise.
41094         (isless_test): Likewise.
41095         (islessequal_test): Likewise.
41096         (islessgreater_test): Likewise.
41097         (isnan_test): Likewise.
41098         (isnormal_test): Likewise.
41099         (issignaling_test): Likewise.
41100         (isunordered_test): Likewise.
41101         (j0_test): Likewise.
41102         (j1_test): Likewise.
41103         (jn_test): Likewise.
41104         (ldexp_test): Likewise.
41105         (lgamma_test): Likewise.
41106         (lrint_test): Likewise.
41107         (lrint_test_tonearest): Likewise.
41108         (lrint_test_towardzero): Likewise.
41109         (lrint_test_downward): Likewise.
41110         (lrint_test_upward): Likewise.
41111         (llrint_test): Likewise.
41112         (llrint_test_tonearest): Likewise.
41113         (llrint_test_towardzero): Likewise.
41114         (llrint_test_downward): Likewise.
41115         (llrint_test_upward): Likewise.
41116         (log_test): Likewise.
41117         (log10_test): Likewise.
41118         (log1p_test): Likewise.
41119         (log2_test): Likewise.
41120         (logb_test): Likewise.
41121         (logb_test_downward): Likewise.
41122         (lround_test): Likewise.
41123         (llround_test): Likewise.
41124         (modf_test): Likewise.
41125         (nearbyint_test): Likewise.
41126         (nextafter_test): Likewise.
41127         (nexttoward_test): Likewise.
41128         (pow_test): Likewise.
41129         (pow_test_tonearest): Likewise.
41130         (pow_test_towardzero): Likewise.
41131         (pow_test_downward): Likewise.
41132         (pow_test_upward): Likewise.
41133         (remainder_test): Likewise.
41134         (remainder_test_tonearest): Likewise.
41135         (remainder_test_towardzero): Likewise.
41136         (remainder_test_downward): Likewise.
41137         (remainder_test_upward): Likewise.
41138         (remquo_test): Likewise.
41139         (rint_test): Likewise.
41140         (rint_test_tonearest): Likewise.
41141         (rint_test_towardzero): Likewise.
41142         (rint_test_downward): Likewise.
41143         (rint_test_upward): Likewise.
41144         (round_test): Likewise.
41145         (scalb_test): Likewise.
41146         (scalbn_test): Likewise.
41147         (scalbln_test): Likewise.
41148         (signbit_test): Likewise.
41149         (sin_test): Likewise.
41150         (sin_test_tonearest): Likewise.
41151         (sin_test_towardzero): Likewise.
41152         (sin_test_downward): Likewise.
41153         (sin_test_upward): Likewise.
41154         (sincos_test): Likewise.
41155         (sinh_test): Likewise.
41156         (sinh_test_tonearest): Likewise.
41157         (sinh_test_towardzero): Likewise.
41158         (sinh_test_downward): Likewise.
41159         (sinh_test_upward): Likewise.
41160         (sqrt_test): Likewise.
41161         (tan_test): Likewise.
41162         (tan_test_tonearest): Likewise.
41163         (tan_test_towardzero): Likewise.
41164         (tan_test_downward): Likewise.
41165         (tan_test_upward): Likewise.
41166         (tanh_test): Likewise.
41167         (tgamma_test): Likewise.
41168         (trunc_test): Likewise.
41169         (y0_test): Likewise.
41170         (y1_test): Likewise.
41171         (yn_test): Likewise.
41172         (significand_test): Likewise.
41174 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41176         [BZ #15381]
41177         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41179 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41181         [BZ #14894]
41182         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41183         __ppc_mdoio and __ppc_mdoom.
41184         * manual/platform.texi: Document new functions __ppc_yield,
41185         __ppc_mdoio and __ppc_mdoom.
41187 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41189         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41190         (main): Mention "tls" pseudo-hwcap is legacy.
41191         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41193 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41195         * math/gen-libm-test.pl (parse_args): Output only string of
41196         arguments as text for test name, not full call or descriptions of
41197         tests for extra outputs.
41198         (generate_testfile): Do not pass function name to parse_args.
41199         Generate this_func variable from START.
41200         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41201         field to arg_str.
41202         (struct test_ff_f_data): Likewise.
41203         (test_ff_f_data_nexttoward): Likewise.
41204         (struct test_fi_f_data): Likewise.
41205         (struct test_fl_f_data): Likewise.
41206         (struct test_if_f_data): Likewise.
41207         (struct test_fff_f_data): Likewise.
41208         (struct test_c_f_data): Likewise.
41209         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41210         (struct test_fF_f1_data): Likewise.
41211         (struct test_ffI_f1_data): Likewise.
41212         (struct test_c_c_data): Rename test_name field to arg_str.
41213         (struct test_cc_c_data): Likewise.
41214         (struct test_f_i_data): Likewise.
41215         (struct test_ff_i_data): Likewise.
41216         (struct test_f_l_data): Likewise.
41217         (struct test_f_L_data): Likewise.
41218         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41219         and extra2_name.
41220         (COMMON_TEST_SETUP): New macro.
41221         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41222         (COMMON_TEST_CLEANUP): Likewise.
41223         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41224         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
41225         macros.
41226         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41227         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
41228         macros.
41229         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41230         (RUN_TEST_fff_f): Take argument string.  Call new setup and
41231         cleanup macros.
41232         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41233         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
41234         macros.
41235         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41236         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
41237         macros.
41238         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41239         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
41240         cleanup macros.
41241         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41242         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
41243         cleanup macros.
41244         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41245         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
41246         cleanup macros.
41247         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41248         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
41249         macros.
41250         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41251         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
41252         macros.
41253         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41254         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
41255         macros.
41256         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41257         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
41258         cleanup macros.
41259         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41260         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
41261         cleanup macros.
41262         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41263         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
41264         macros.
41265         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41266         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
41267         cleanup macros.
41268         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41269         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
41270         macros.
41271         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41272         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
41273         macros.
41274         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41275         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
41276         cleanup macros.
41277         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41279 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
41281         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41282         to _sifields.sigfault.
41283         (si_addr_lsb): Define new macro.
41284         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41285         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41286         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41288 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
41290         [BZ #15441]
41291         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41292         returns -1.
41293         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41294         null return -1.
41295         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41296         loading the domain.
41298 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41300         * math/gen-libm-test.pl (parse_args): Do not include expected
41301         result in test name.
41302         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41303         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41304         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41305         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41306         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41309 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41311         * benchtests/Makefile: Sort function entries.
41313         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41314         tanh, asinh, acosh, atanh.
41315         * benchtests/acos-inputs: New file.
41316         * benchtests/acosh-inputs: New file.
41317         * benchtests/asin-inputs: New file.
41318         * benchtests/asinh-inputs: New file.
41319         * benchtests/atanh-inputs: New file.
41320         * benchtests/cosh-inputs: New file.
41321         * benchtests/log-inputs: New file.
41322         * benchtests/sinh-inputs: New file.
41323         * benchtests/tanh-inputs: New file.
41325 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
41327         [BZ #15339]
41328         * posix/tst-getaddrinfo4.c: New test.
41329         * posix/Makefile (tests): Add it.
41331 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41333         [BZ #15339]
41334         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41335         when no services were used.
41336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41337         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41339 2013-05-21  Andreas Schwab  <schwab@suse.de>
41341         [BZ #15014]
41342         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41343         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41344         successful.
41345         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41346         redundant variable declarations and reallocation of buffer when
41347         parsing as IPv6 address.  Always set NSS status when called from
41348         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
41349         buffer too small.  Correct computation of needed size.
41350         * nss/Makefile (tests): Add test-digits-dots.
41351         * nss/test-digits-dots.c: New test.
41353 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41355         * benchtests/Makefile: Remove instructions for adding
41356         benchmark tests.
41357         * benchtests/README: New file to explain how to execute and
41358         enhance the benchmark tests.
41360 2013-05-21  Andreas Schwab  <schwab@suse.de>
41362         [BZ #15493]
41363         * setjmp/Makefile (tests): Add tst-sigsetjmp.
41364         * setjmp/tst-sigsetjmp.c: New test.
41366 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41368         * sysdeps/x86_64/memset.S (memset): New implementation.
41369         (__bzero): Likewise.
41370         (__memset_tail): New function.
41372 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41374         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41375         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41376         __memcpy_sse2_unaligned ifunc selection.
41377         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41378         Add memcpy-sse2-unaligned.S.
41379         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41380         Add: __memcpy_sse2_unaligned.
41382 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
41384         [BZ #15490]
41385         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41386         math_force_eval before restoring floating-point envrionment.
41387         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41388         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41389         Likewise.
41390         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41391         <math_private.h>.
41392         (__nearbyintl): Use math_force_eval before restoring
41393         floating-point environment.
41394         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41396         * math/gen-libm-test.pl (special_functions): Remove.
41397         (parse_args): Don't handle TEST_extra.  Handle functions with no
41398         return value.
41399         * math/libm-test.inc (struct test_sincos_data): Replace with
41400         struct test_fFF_11_data.
41401         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41402         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41403         (sincos_test_data): Change element type to struct
41404         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
41405         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41406         RUN_TEST_LOOP_sincos.
41407         * math/README.libm-test: Don't mention special handling of
41408         individual functions.
41409         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41410         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41411         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41412         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41413         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41416         * math/gen-libm-test.pl (get_variable): Remove function.
41417         (parse_args): Don't show pointer parameters to call in test
41418         names.  Use "extra output N" in test names for extra outputs
41419         rather than naming variables.
41421 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
41423         [BZ #15488]
41424         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41425         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41426         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41427         double tests.
41428         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41429         disable.
41430         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41431         check_long_double.
41433         * math/gen-libm-test.pl (@tests): Remove variable.
41434         ($count): Likewise.
41435         (new_test): Remove function.
41436         (show_exceptions): New function.
41437         (special_functions): Use show_exceptions instead of new_test.
41438         (parse_args): Likewise.
41439         (generate_testfile): Pass only function name in generated call to
41440         print_max_error or print_complex_max_error.
41441         (get_ulps): Do not handle complex tests specially.
41442         (output_test): Rename to ...
41443         (get_all_ulps_for_test): ... this.  Return a string rather than
41444         printing to a file.  Require ulps to be present.
41445         (output_ulps): Generate arrays rather than #defines.
41446         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41447         (struct ulp_data): New type.
41448         (BUILD_COMPLEX_ULP): Remove macro.
41449         (compare_ulp_data): New function.
41450         (find_ulps): Likewise.
41451         (find_test_ulps): Likewise.
41452         (find_function_ulps): Likewise.
41453         (find_complex_function_ulps): Likewise.
41454         (print_max_error): Determine allowed ulps using
41455         find_function_ulps.
41456         (print_complex_max_error): Determine allowed ulps using
41457         find_complex_function_ulps.
41458         (check_float_internal): Determine max ulps using find_test_ulps.
41459         (check_float): Do not take max_ulp parameter.  Update call to
41460         check_float_internal.
41461         (check_complex): Likewise.
41462         (check_int): Do not take max_ulp parameter.
41463         (check_long): Likewise.
41464         (check_bool): Likewise.
41465         (check_longlong): Likewise.
41466         (struct test_f_f_data): Remove max_ulp field.
41467         (struct test_ff_f_data): Likewise.
41468         (struct test_ff_f_data_nexttoward): Likewise.
41469         (struct test_fi_f_data): Likewise.
41470         (struct test_fl_f_data): Likewise.
41471         (struct test_if_f_data): Likewise.
41472         (struct test_fff_f_data): Likewise.
41473         (struct test_c_f_data): Likewise.
41474         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41475         (struct test_fF_f1_data): Likewise.
41476         (struct test_ffI_f1_data): Likewise.
41477         (struct test_c_c_data): Remove max_ulp field.
41478         (struct test_cc_c_data): Likewise.
41479         (struct test_f_i_data): Likewise.
41480         (struct test_ff_i_data): Likewise.
41481         (struct test_f_l_data): Likewise.
41482         (struct test_f_L_data): Likewise.
41483         (struct test_sincos_data): Likewise.
41484         (RUN_TEST_f_f): Do not handle ulps.
41485         (RUN_TEST_LOOP_f_f): Likewise.
41486         (RUN_TEST_2_f): Likewise.
41487         (RUN_TEST_LOOP_2_f): Likewise.
41488         (RUN_TEST_fff_f): Likewise.
41489         (RUN_TEST_LOOP_fff_f): Likewise.
41490         (RUN_TEST_c_f): Likewise.
41491         (RUN_TEST_LOOP_c_f): Likewise.
41492         (RUN_TEST_f_f1): Likewise.
41493         (RUN_TEST_LOOP_f_f1): Likewise.
41494         (RUN_TEST_fF_f1): Likewise.
41495         (RUN_TEST_LOOP_fF_f1): Likewise.
41496         (RUN_TEST_fI_f1): Likewise.
41497         (RUN_TEST_LOOP_fI_f1): Likewise.
41498         (RUN_TEST_ffI_f1): Likewise.
41499         (RUN_TEST_LOOP_ffI_f1): Likewise.
41500         (RUN_TEST_c_c): Likewise.
41501         (RUN_TEST_LOOP_c_c): Likewise.
41502         (RUN_TEST_cc_c): Likewise.
41503         (RUN_TEST_LOOP_cc_c): Likewise.
41504         (RUN_TEST_f_i): Likewise.
41505         (RUN_TEST_LOOP_f_i): Likewise.
41506         (RUN_TEST_f_i_tg): Likewise.
41507         (RUN_TEST_LOOP_f_i_tg): Likewise.
41508         (RUN_TEST_ff_i_tg): Likewise.
41509         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41510         (RUN_TEST_f_b): Likewise.
41511         (RUN_TEST_LOOP_f_b): Likewise.
41512         (RUN_TEST_f_b_tg): Likewise.
41513         (RUN_TEST_LOOP_f_b_tg): Likewise.
41514         (RUN_TEST_f_l): Likewise.
41515         (RUN_TEST_LOOP_f_l): Likewise.
41516         (RUN_TEST_f_L): Likewise.
41517         (RUN_TEST_LOOP_f_L): Likewise.
41518         (RUN_TEST_sincos): Likewise.
41519         (RUN_TEST_LOOP_sincos): Likewise.
41521 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
41523         [BZ #15480]
41524         [BZ #15485]
41525         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
41526         main case of finite arguments, set rounding mode to FE_TONEAREST
41527         and discard exceptions.
41528         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
41529         exceptions.
41530         (remainder_tonearest_test_data): New variable.
41531         (remainder_test_tonearest): New function.
41532         (remainder_towardzero_test_data): New variable.
41533         (remainder_test_towardzero): New function.
41534         (remainder_downward_test_data): New variable.
41535         (remainder_test_downward): New function.
41536         (remainder_upward_test_data): New variable.
41537         (remainder_test_upward): New function.
41538         (main): Call the new test functions.
41540         * math/libm-test.inc (struct test_f_f1_data): Remove field
41541         extra_init.
41542         (struct test_fF_f1_data): Likewise.
41543         (struct test_ffI_f1_data): Likewise.
41544         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
41545         based on value of EXTRA_EXPECTED.
41546         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41547         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
41548         EXTRA_VAR based on value of EXTRA_EXPECTED.
41549         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41550         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
41551         EXTRA_VAR based on value of EXTRA_EXPECTED.
41552         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41553         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
41554         EXTRA_VAR based on value of EXTRA_EXPECTED.
41555         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41556         * math/gen-libm-test.pl (parse_args): Don't output initializers
41557         for extra output values.
41559         * math/libm-test.inc (check_int): Expect result to be exactly
41560         equal to expected value and do not handle ulps.
41561         (check_long): Likewise.
41562         (check_longlong): Likewise.
41564         * math/libm-test.inc (ceil_test_data): Test for "inexact"
41565         exceptions.
41566         (cimag_test_data): Likewise.
41567         (conj_test_data): Likewise.
41568         (copysign_test_data): Likewise.
41569         (cproj_test_data): Likewise.
41570         (creal_test_data): Likewise.
41571         (fabs_test_data): Likewise.
41572         (fdim_test_data): Likewise.
41573         (finite_test_data): Likewise.
41574         (floor_test_data): Likewise.
41575         (fmax_test_data): Likewise.
41576         (fmin_test_data): Likewise.
41577         (fmod_test_data): Likewise.
41578         (fpclassify_test_data): Likewise.
41579         (frexp_test_data): Likewise.
41580         (ilogb_test_data): Likewise.
41581         (isfinite_test_data): Likewise.
41582         (isgreater_test_data): Likewise.
41583         (isgreaterequal_test_data): Likewise.
41584         (isinf_test_data): Likewise.
41585         (isless_test_data): Likewise.
41586         (islessequal_test_data): Likewise.
41587         (islessgreater_test_data): Likewise.
41588         (isnan_test_data): Likewise.
41589         (isnormal_test_data): Likewise.
41590         (issignaling_test_data): Likewise.
41591         (isunordered_test_data): Likewise.
41592         (ldexp_test_data): Likewise.
41593         (lrint_test_data): Likewise.
41594         (lrint_test_data) [TEST_FLOAT]: Disable one test.
41595         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41596         (lrint_tonearest_test_data): Test for "inexact" exceptions.
41597         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41598         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41599         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41600         test input.
41601         (lrint_towardzero_test_data): Test for "inexact" exceptions.
41602         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41603         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41604         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41605         that test input.
41606         (lrint_downward_test_data): Test for "inexact" exceptions.
41607         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41608         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41609         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41610         test input.
41611         (lrint_upward_test_data): Test for "inexact" exceptions.
41612         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41613         test input.
41614         (llrint_test_data): Test for "inexact" exceptions.
41615         (llrint_test_data) [TEST_FLOAT]: Disable one test.
41616         (llrint_tonearest_test_data): Test for "inexact" exceptions.
41617         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41618         (llrint_towardzero_test_data): Test for "inexact" exceptions.
41619         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41620         (llrint_downward_test_data): Test for "inexact" exceptions.
41621         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41622         (llrint_upward_test_data): Test for "inexact" exceptions.
41623         (logb_test_data): Likewise.
41624         (logb_downward_test_data): Likewise.
41625         (nextafter_test_data): Likewise.
41626         (nexttoward_test_data): Likewise.
41627         (remainder_test_data): Likewise.
41628         (remquo_test_data): Likewise.
41629         (scalbn_test_data): Likewise.
41630         (scalbln_test_data): Likewise.
41631         (signbit_test_data): Likewise.
41632         (sqrt_test_data): Likewise.
41633         (significand_test_data): Likewise.
41635 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41637         [BZ #15424]
41638         * benchtests/bench-modf.c (struct args): Mark arg0 as
41639         volatile.
41640         * scripts/bench.pl: Mark members of struct args as volatile.
41642 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41644         [BZ # 15497]
41645         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
41646         negative infinity on POWER6 or lower.
41647         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
41649 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41651         [BZ #15442]
41652         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
41653         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
41654         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
41655         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
41656         (_FP_SETQNAN): New macro.
41657         (_FP_SETQNAN_SEMIRAW): Likewise.
41658         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
41659         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
41660         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
41661         (FP_EXTEND): Use _FP_FRAC_SNANP.
41662         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
41663         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
41664         into account.
41665         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41666         New macro.
41667         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41668         Likewise.
41670 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41672         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
41673         with DIVIDE_BY_ZERO_EXCEPTION.
41674         (gamma_test_data): Likewise.
41675         (lgamma_test_data): Likewise.
41676         (log_test_data): Likewise.
41677         (log10_test_data): Likewise.
41678         (log2_test_data): Likewise.
41679         (tgamma_test_data): Likewise.
41681         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
41682         (acos_test_tonearest): Likewise.
41683         (acos_test_towardzero): Likewise.
41684         (acos_test_downward): Likewise.
41685         (acos_test_upward): Likewise.
41686         (acosh_test): Likewise.
41687         (asin_test): Likewise.
41688         (asin_test_tonearest): Likewise.
41689         (asin_test_towardzero): Likewise.
41690         (asin_test_downward): Likewise.
41691         (asin_test_upward): Likewise.
41692         (asinh_test): Likewise.
41693         (atan_test): Likewise.
41694         (atanh_test): Likewise.
41695         (atan2_test): Likewise.
41696         (cabs_test): Likewise.
41697         (cacos_test): Likewise.
41698         (cacosh_test): Likewise.
41699         (casin_test): Likewise.
41700         (casinh_test): Likewise.
41701         (catan_test): Likewise.
41702         (catanh_test): Likewise.
41703         (cbrt_test): Likewise.
41704         (ccos_test): Likewise.
41705         (ccosh_test): Likewise.
41706         (cexp_test): Likewise.
41707         (clog_test): Likewise.
41708         (clog10_test): Likewise.
41709         (cos_test): Likewise.
41710         (cos_test_tonearest): Likewise.
41711         (cos_test_towardzero): Likewise.
41712         (cos_test_downward): Likewise.
41713         (cos_test_upward): Likewise.
41714         (cosh_test): Likewise.
41715         (cosh_test_tonearest): Likewise.
41716         (cosh_test_towardzero): Likewise.
41717         (cosh_test_downward): Likewise.
41718         (cosh_test_upward): Likewise.
41719         (cpow_test): Likewise.
41720         (csin_test): Likewise.
41721         (csinh_test): Likewise.
41722         (csqrt_test): Likewise.
41723         (ctan_test): Likewise.
41724         (ctan_test_tonearest): Likewise.
41725         (ctan_test_towardzero): Likewise.
41726         (ctan_test_downward): Likewise.
41727         (ctan_test_upward): Likewise.
41728         (ctanh_test): Likewise.
41729         (ctanh_test_tonearest): Likewise.
41730         (ctanh_test_towardzero): Likewise.
41731         (ctanh_test_downward): Likewise.
41732         (ctanh_test_upward): Likewise.
41733         (erf_test): Likewise.
41734         (erfc_test): Likewise.
41735         (exp_test): Likewise.
41736         (exp_test_tonearest): Likewise.
41737         (exp_test_towardzero): Likewise.
41738         (exp_test_downward): Likewise.
41739         (exp_test_upward): Likewise.
41740         (exp10_test): Likewise.
41741         (exp2_test): Likewise.
41742         (expm1_test): Likewise.
41743         (fmod_test): Likewise.
41744         (gamma_test): Likewise.
41745         (hypot_test): Likewise.
41746         (j0_test): Likewise.
41747         (j1_test): Likewise.
41748         (jn_test): Likewise.
41749         (lgamma_test): Likewise.
41750         (log_test): Likewise.
41751         (log10_test): Likewise.
41752         (log1p_test): Likewise.
41753         (log2_test): Likewise.
41754         (logb_test_downward): Likewise.
41755         (pow_test): Likewise.
41756         (pow_test_tonearest): Likewise.
41757         (pow_test_towardzero): Likewise.
41758         (pow_test_downward): Likewise.
41759         (pow_test_upward): Likewise.
41760         (remainder_test): Likewise.
41761         (remquo_test): Likewise.
41762         (sin_test): Likewise.
41763         (sin_test_tonearest): Likewise.
41764         (sin_test_towardzero): Likewise.
41765         (sin_test_downward): Likewise.
41766         (sin_test_upward): Likewise.
41767         (sincos_test): Likewise.
41768         (sinh_test): Likewise.
41769         (sinh_test_tonearest): Likewise.
41770         (sinh_test_towardzero): Likewise.
41771         (sinh_test_downward): Likewise.
41772         (sinh_test_upward): Likewise.
41773         (sqrt_test): Likewise.
41774         (tan_test): Likewise.
41775         (tan_test_tonearest): Likewise.
41776         (tan_test_towardzero): Likewise.
41777         (tan_test_downward): Likewise.
41778         (tan_test_upward): Likewise.
41779         (tanh_test): Likewise.
41780         (tgamma_test): Likewise.
41781         (y0_test): Likewise.
41782         (y1_test): Likewise.
41783         (yn_test): Likewise.
41785         * math/gen-libm-test.pl (adjust_arg): Remove function.
41786         (special_function): Remove argument $in_func.  Only handle
41787         generating output for tables of tests, not inside functions.
41788         (parse_args): Likewise.
41789         (generate_testfile): Remove variable $in_func.  Update call to
41790         parse_args.
41791         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41792         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41793         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41794         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41795         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41796         (MAX_VALUE_INIT): Rename macro to max_value.
41797         (MIN_VALUE_INIT): Rename macro to min_value.
41798         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41799         (plus_zero): Remove variable.
41800         (minus_zero): Likewise.
41801         (plus_infty): Likewise.
41802         (minus_infty): Likewise.
41803         (qnan_value): Likewise.
41804         (max_value): Likewise.
41805         (min_value): Likewise.
41806         (min_subnorm_value): Likewise.
41808 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41810         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41811         uint64_t or uint32_t usage.
41812         * crypt/sha256-block.c: Likewise.
41813         * crypt/sha256-crypt.c: Likewise.
41814         * crypt/sha256.c: Likewise.
41815         * crypt/sha512-block.c: Likewise.
41816         * crypt/sha512-crypt.c: Likewise.
41817         * crypt/sha512.c: Likewise.
41818         * debug/backtrace-tst.c: Likewise.
41819         * debug/pcprofiledump.c: Likewise.
41820         * elf/cache.c: Likewise.
41821         * elf/dl-cache.c: Likewise.
41822         * elf/dl-misc.c: Likewise.
41823         * elf/dl-profile.c: Likewise.
41824         * elf/dl-support.c: Likewise.
41825         * elf/ldconfig.c: Likewise.
41826         * elf/sprof.c: Likewise.
41827         * iconv/dummy-repertoire.c: Likewise.
41828         * iconv/iconv_charmap.c: Likewise.
41829         * iconv/skeleton.c: Likewise.
41830         * iconvdata/8bit-generic.c: Likewise.
41831         * iconvdata/cp737.h: Likewise.
41832         * iconvdata/cp775.h: Likewise.
41833         * iconvdata/ibm1008.h: Likewise.
41834         * iconvdata/ibm1025.h: Likewise.
41835         * iconvdata/ibm1046.h: Likewise.
41836         * iconvdata/ibm1097.h: Likewise.
41837         * iconvdata/ibm1112.h: Likewise.
41838         * iconvdata/ibm1122.h: Likewise.
41839         * iconvdata/ibm1123.h: Likewise.
41840         * iconvdata/ibm1124.h: Likewise.
41841         * iconvdata/ibm1129.h: Likewise.
41842         * iconvdata/ibm1130.h: Likewise.
41843         * iconvdata/ibm1132.h: Likewise.
41844         * iconvdata/ibm1133.h: Likewise.
41845         * iconvdata/ibm1137.h: Likewise.
41846         * iconvdata/ibm1140.h: Likewise.
41847         * iconvdata/ibm1141.h: Likewise.
41848         * iconvdata/ibm1142.h: Likewise.
41849         * iconvdata/ibm1143.h: Likewise.
41850         * iconvdata/ibm1144.h: Likewise.
41851         * iconvdata/ibm1145.h: Likewise.
41852         * iconvdata/ibm1146.h: Likewise.
41853         * iconvdata/ibm1147.h: Likewise.
41854         * iconvdata/ibm1148.h: Likewise.
41855         * iconvdata/ibm1149.h: Likewise.
41856         * iconvdata/ibm1153.h: Likewise.
41857         * iconvdata/ibm1154.h: Likewise.
41858         * iconvdata/ibm1155.h: Likewise.
41859         * iconvdata/ibm1156.h: Likewise.
41860         * iconvdata/ibm1157.h: Likewise.
41861         * iconvdata/ibm1158.h: Likewise.
41862         * iconvdata/ibm1160.h: Likewise.
41863         * iconvdata/ibm1161.h: Likewise.
41864         * iconvdata/ibm1162.h: Likewise.
41865         * iconvdata/ibm1163.h: Likewise.
41866         * iconvdata/ibm1164.h: Likewise.
41867         * iconvdata/ibm1166.h: Likewise.
41868         * iconvdata/ibm1167.h: Likewise.
41869         * iconvdata/ibm12712.h: Likewise.
41870         * iconvdata/ibm1390.h: Likewise.
41871         * iconvdata/ibm1399.h: Likewise.
41872         * iconvdata/ibm16804.h: Likewise.
41873         * iconvdata/ibm4517.h: Likewise.
41874         * iconvdata/ibm4899.h: Likewise.
41875         * iconvdata/ibm4909.h: Likewise.
41876         * iconvdata/ibm4971.h: Likewise.
41877         * iconvdata/ibm5347.h: Likewise.
41878         * iconvdata/ibm803.h: Likewise.
41879         * iconvdata/ibm856.h: Likewise.
41880         * iconvdata/ibm901.h: Likewise.
41881         * iconvdata/ibm902.h: Likewise.
41882         * iconvdata/ibm9030.h: Likewise.
41883         * iconvdata/ibm9066.h: Likewise.
41884         * iconvdata/ibm921.h: Likewise.
41885         * iconvdata/ibm922.h: Likewise.
41886         * iconvdata/ibm9448.h: Likewise.
41887         * iconvdata/isiri-3342.h: Likewise.
41888         * iconvdata/jis0201.h: Likewise.
41889         * include/link.h: Likewise.
41890         * include/netdb.h: Likewise.
41891         * inet/check_native.c: Likewise.
41892         * inet/check_pf.c: Likewise.
41893         * inet/getipv4sourcefilter.c: Likewise.
41894         * inet/getnameinfo.c: Likewise.
41895         * inet/getsourcefilter.c: Likewise.
41896         * inet/htonl.c: Likewise.
41897         * inet/setipv4sourcefilter.c: Likewise.
41898         * inet/setsourcefilter.c: Likewise.
41899         * inet/test-inet6_opt.c: Likewise.
41900         * inet/tst-network.c: Likewise.
41901         * locale/C-collate.c: Likewise.
41902         * locale/C-ctype.c: Likewise.
41903         * locale/C-time.c: Likewise.
41904         * locale/C-translit.h: Likewise.
41905         * locale/loadarchive.c: Likewise.
41906         * locale/programs/3level.h: Likewise.
41907         * locale/programs/charmap.c: Likewise.
41908         * locale/programs/charmap.h: Likewise.
41909         * locale/programs/ld-address.c: Likewise.
41910         * locale/programs/ld-collate.c: Likewise.
41911         * locale/programs/ld-ctype.c: Likewise.
41912         * locale/programs/ld-identification.c: Likewise.
41913         * locale/programs/ld-measurement.c: Likewise.
41914         * locale/programs/ld-messages.c: Likewise.
41915         * locale/programs/ld-monetary.c: Likewise.
41916         * locale/programs/ld-name.c: Likewise.
41917         * locale/programs/ld-numeric.c: Likewise.
41918         * locale/programs/ld-paper.c: Likewise.
41919         * locale/programs/ld-telephone.c: Likewise.
41920         * locale/programs/ld-time.c: Likewise.
41921         * locale/programs/linereader.c: Likewise.
41922         * locale/programs/locale.c: Likewise.
41923         * locale/programs/locarchive.c: Likewise.
41924         * locale/programs/locfile.h: Likewise.
41925         * locale/programs/repertoire.c: Likewise.
41926         * locale/programs/simple-hash.c: Likewise.
41927         * locale/programs/simple-hash.h: Likewise.
41928         * malloc/memusage.c: Likewise.
41929         * malloc/memusagestat.c: Likewise.
41930         * nis/nis_defaults.c: Likewise.
41931         * nis/nis_hash.c: Likewise.
41932         * nis/nis_print.c: Likewise.
41933         * nis/nis_xdr.c: Likewise.
41934         * nscd/connections.c: Likewise.
41935         * nscd/hstcache.c: Likewise.
41936         * nscd/nscd_gethst_r.c: Likewise.
41937         * nscd/nscd_getserv_r.c: Likewise.
41938         * nscd/nscd_helper.c: Likewise.
41939         * nscd/servicescache.c: Likewise.
41940         * nss/makedb.c: Likewise.
41941         * nss/nss_db/db-XXX.c: Likewise.
41942         * nss/nss_db/db-initgroups.c: Likewise.
41943         * nss/nss_db/db-netgrp.c: Likewise.
41944         * nss/nss_files/files-network.c: Likewise.
41945         * nss/nss_files/files-parse.c: Likewise.
41946         * posix/bug-regex5.c: Likewise.
41947         * posix/fnmatch_loop.c: Likewise.
41948         * posix/regcomp.c: Likewise.
41949         * posix/regexec.c: Likewise.
41950         * posix/tst-rfc3484-2.c: Likewise.
41951         * posix/tst-rfc3484-3.c: Likewise.
41952         * posix/tst-rfc3484.c: Likewise.
41953         * resolv/nss_dns/dns-canon.c: Likewise.
41954         * resolv/nss_dns/dns-network.c: Likewise.
41955         * resolv/res_init.c: Likewise.
41956         * resolv/res_mkquery.c: Likewise.
41957         * resolv/tst-aton.c: Likewise.
41958         * stdlib/cxa_atexit.c: Likewise.
41959         * stdlib/cxa_finalize.c: Likewise.
41960         * stdlib/gen-fpioconst.c: Likewise.
41961         * stdlib/strtol_l.c: Likewise.
41962         * string/tst-endian.c: Likewise.
41963         * sunrpc/auth_des.c: Likewise.
41964         * sunrpc/clnt_udp.c: Likewise.
41965         * sunrpc/rtime.c: Likewise.
41966         * sunrpc/svcauth_des.c: Likewise.
41967         * sunrpc/xdr.c: Likewise.
41968         * sunrpc/xdr_intXX_t.c: Likewise.
41969         * sunrpc/xdr_rec.c: Likewise.
41970         * sysdeps/generic/ldconfig.h: Likewise.
41971         * sysdeps/generic/ldsodefs.h: Likewise.
41972         * sysdeps/generic/memusage.h: Likewise.
41973         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41974         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41975         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41976         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41977         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41978         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41979         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41980         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41981         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41982         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41983         * sysdeps/posix/getaddrinfo.c: Likewise.
41984         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41985         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41986         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41987         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41988         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41989         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41990         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41991         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41992         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41993         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41994         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41995         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41996         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41997         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41998         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41999         * sysdeps/x86_64/dl-tls.h: Likewise.
42000         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42001         * time/alt_digit.c: Likewise.
42002         * time/era.c: Likewise.
42003         * wcsmbs/tst-c16c32-1.c: Likewise.
42005 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42007         * math/libm-test.inc (struct test_sincos_data): New type.
42008         (RUN_TEST_LOOP_sincos): New macro.
42009         (sincos_test_data): New variable.
42010         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42012 2013-05-16  Richard Henderson  <rth@redhat.com>
42014         * math/atest-exp2.c (LIMB64): New macro.
42015         (CONSTSZ): New macro.
42016         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42017         (hexdig): Move ...
42018         (print_mpn_fp): ... to function scope.
42019         (read_mpn_hex): Remove.
42020         (get_log2): Remove.
42021         (exp2_mpn): Use mp_log2.
42022         (main): Use mp_exp1.
42024 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42026         * math/libm-test.inc: Remove comment about not testing "inexact"
42027         exceptions.
42028         (INEXACT_EXCEPTION): New macro.
42029         (NO_INEXACT_EXCEPTION): Likewise.
42030         (INVALID_EXCEPTION_OK): Update value.
42031         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42032         (OVERFLOW_EXCEPTION_OK): Likewise.
42033         (UNDERFLOW_EXCEPTION_OK): Likewise.
42034         (IGNORE_ZERO_INF_SIGN): Likewise.
42035         (ERRNO_UNCHANGED): Likewise.
42036         (ERRNO_EDOM): Likewise.
42037         (ERRNO_ERANGE): Likewise.
42038         (test_exceptions): Handle testing "inexact" exceptions.
42039         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42040         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42041         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42042         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42043         INEXACT_EXCEPTION.
42044         (rint_towardzero_test_data): Likewise.
42045         (rint_downward_test_data): Likewise.
42046         (rint_upward_test_data): Likewise.
42048         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42049         with OVERFLOW_EXCEPTION.
42050         (exp10_test_data): Likewise.
42051         (exp2_test_data): Likewise.
42052         (expm1_test_data): Likewise.
42053         (lgamma_test_data): Likewise.
42054         (pow_test_data): Likewise.
42055         (tgamma_test_data): Likewise.
42056         (yn_test_data): Remove duplicate test of overflow.
42058         * math/libm-test.inc (struct test_cc_c_data): New type.
42059         (RUN_TEST_LOOP_cc_c): New macro.
42060         (cpow_test_data): New variable.
42061         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42063         * math/libm-test.inc (struct test_f_L_data): New type.
42064         (RUN_TEST_LOOP_f_L): New macro.
42065         (llrint_test_data): New variable.
42066         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42067         (llrint_tonearest_test_data): New variable.
42068         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42069         (llrint_towardzero_test_data): New variable.
42070         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42071         (llrint_downward_test_data): New variable.
42072         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42073         (llrint_upward_test_data): New variable.
42074         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42075         (llround_test_data): New variable.
42076         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42078 2013-05-13  Peter Collingbourne  <pcc@google.com>
42080         * math/atest-exp2.c (get_log2): Remove const attribute.
42082 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42084         * math/libm-test.inc (struct test_f_l_data): New type.
42085         (RUN_TEST_LOOP_f_l): New macro.
42086         (lrint_test_data): New variable.
42087         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42088         (lrint_tonearest_test_data): New variable.
42089         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42090         (lrint_towardzero_test_data): New variable.
42091         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42092         (lrint_downward_test_data): New variable.
42093         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42094         (lrint_upward_test_data): New variable.
42095         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42096         (lround_test_data): New variable.
42097         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42099 2013-05-15  Peter Collingbourne  <pcc@google.com>
42101         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42102         (EXTRACT_WORDS64) Use where appropriate.
42103         (INSERT_WORDS64) Likewise.
42105         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42106         constraints with x constraints.
42107         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42109         * malloc/obstack.c (_obstack_compat): Add initializer.
42111 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42113         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42114         si_trapno and add si_addr_lsb to _sifields.sigfault.
42115         (si_trapno): Remove macro.
42116         (si_addr_lsb): Define new macro.
42117         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42119 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42121         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42122         instead of TEST_f_l.
42123         (llrint_test_tonearest): Likewise.
42124         (llrint_test_towardzero): Likewise.
42125         (llrint_test_downward): Likewise.
42126         (llrint_test_upward): Likewise.
42127         (llround_test): Likewise.
42129         * math/libm-test.inc (struct test_f_i_data): Add comment.
42130         (RUN_TEST_LOOP_f_b): New macro.
42131         (RUN_TEST_LOOP_f_b_tg): Likewise.
42132         (finite_test_data): New variable.
42133         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42134         (isfinite_test_data): New variable.
42135         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42136         (isinf_test_data): New variable.
42137         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42138         (isnan_test_data): New variable.
42139         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42140         (isnormal_test_data): New variable.
42141         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42142         (issignaling_test_data): New variable.
42143         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42144         (signbit_test_data): New variable.
42145         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42147         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42148         with INVALID_EXCEPTION.
42149         (acosh_test_data): Likewise.
42150         (asin_test_data): Likewise.
42151         (atanh_test_data): Likewise.
42152         (fmod_test_data): Likewise.
42153         (log_test_data): Likewise.
42154         (log10_test_data): Likewise.
42155         (log2_test_data): Likewise.
42156         (pow_test_data): Likewise.
42157         (sqrt_test_data): Likewise.
42158         (y0_test_data): Likewise.
42159         (y1_test_data): Likewise.
42160         (yn_test_data): Likewise.
42162         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42163         function contents.
42165         * math/libm-test.inc (struct test_ff_i_data): New type.
42166         (RUN_TEST_LOOP_ff_i_tg): New macro.
42167         (isgreater_test_data): New variable.
42168         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42169         (isgreaterequal_test_data): New variable.
42170         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42171         (isless_test_data): New variable.
42172         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42173         (islessequal_test_data): New variable.
42174         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42175         (islessgreater_test_data): New variable.
42176         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42177         (isunordered_test_data): New variable.
42178         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42180 2013-05-14  David S. Miller  <davem@davemloft.net>
42182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42184 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42186         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42188         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42189         extra_test to int.
42190         (struct test_f_i_data): Change type of max_ulp to int.
42192         * math/libm-test.inc (test_ffI_f1_data): New type.
42193         (RUN_TEST_LOOP_ffI_f1): New macro.
42194         (remquo_test_data): New variable.
42195         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42197         * setjmp/tst-setjmp-fp.c: New file.
42198         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42199         (link-libm): New variable.
42200         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42202         * math/libm-test.inc (struct test_f_i_data): New type.
42203         (RUN_TEST_LOOP_f_i): New macro.
42204         (RUN_TEST_LOOP_f_i_tg): Likewise.
42205         (fpclassify_test_data): New variable.
42206         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42207         (ilogb_test_data): New variable.
42208         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42210         * math/libm-test.inc (scalbln_test): Correct function name in END
42211         call.
42213         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42214         (RUN_TEST_LOOP_fI_f1): New macro.
42215         (frexp_test_data): New variable.
42216         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42218         * math/libm-test.inc (struct test_fF_f1_data): New type.
42219         (RUN_TEST_LOOP_fF_f1): New macro.
42220         (modf_test_data): New variable.
42221         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42223         * math/libm-test.inc (struct test_f_f1_data): New type.
42224         (RUN_TEST_LOOP_f_f1): New macro.
42225         (gamma_test_data): New variable.
42226         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42227         (lgamma_test_data): New variable.
42228         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42230 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
42232         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42233         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42234         (main): Comment "tls" pseudo-hwcap.
42236 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
42238         * math/libm-test.inc (struct test_fl_f_data): New type.
42239         (RUN_TEST_LOOP_fl_f): New variable.
42240         (scalbln_test_data): New variable.
42241         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42243         * math/libm-test.inc (struct test_fi_f_data): New type.
42244         (RUN_TEST_LOOP_fi_f): New macro.
42245         (ldexp_test_data): New variable.
42246         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42247         (scalbn_test_data): New variable.
42248         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42250         * math/libm-test.inc (struct test_c_f_data): New type.
42251         (RUN_TEST_LOOP_c_f): New macro.
42252         (cabs_test_data): New variable.
42253         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42254         (carg_test_data): New variable.
42255         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42256         (cimag_test_data): New variable.
42257         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42258         (creal_test_data): New variable.
42259         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42261         * math/libm-test.inc (struct test_if_f_data): New type.
42262         (RUN_TEST_LOOP_if_f): New macro.
42263         (jn_test_data): New variable.
42264         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42265         (yn_test_data): New variable.
42266         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42268         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42270 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42272         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42273         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42275 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42277         * benchtests/Makefile (CPPFLAGS-nonlib): Add
42278         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42279         (bench-deps): Add bench-timing.h.
42280         * benchtests-bench-skeleton.c: Include bench-timing.h.
42281         (main): Use TIMING_* macros instead of clock_gettime.
42282         * benchtests/bench-timing.h: New file.
42284         [BZ #14582]
42285         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42286         Renamed from _LIB_VERSION.
42287         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42289 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
42291         * math/libm-test.inc (struct test_fff_f_data): New type.
42292         (RUN_TEST_LOOP_fff_f): New macro.
42293         (fma_test_data): New variable.
42294         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42295         (fma_towardzero_test_data): New variable.
42296         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42297         (fma_downward_test_data): New variable.
42298         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42299         (fma_upward_test_data): New variable.
42300         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42302         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42303         (struct test_c_c_data): New type.
42304         (RUN_TEST_LOOP_c_c): New macro.
42305         (cacos_test_data): New variable.
42306         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42307         (cacosh_test_data): New variable.
42308         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42309         (casin_test_data): New variable.
42310         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42311         (casinh_test_data): New variable.
42312         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42313         (catan_test_data): New variable.
42314         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42315         (catanh_test_data): New variable.
42316         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42317         (ccos_test_data): New variable.
42318         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42319         (ccosh_test_data): New variable.
42320         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42321         (cexp_test_data): New variable.
42322         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42323         (clog_test_data): New variable.
42324         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42325         (clog10_test_data): New variable.
42326         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42327         (conj_test_data): New variable.
42328         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42329         (cproj_test_data): New variable.
42330         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42331         (csin_test_data): New variable.
42332         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42333         (csinh_test_data): New variable.
42334         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42335         (csqrt_test_data): New variable.
42336         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42337         (ctan_test_data): New variable.
42338         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42339         (ctan_tonearest_test_data): New variable.
42340         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42341         (ctan_towardzero_test_data): New variable.
42342         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42343         (ctan_downward_test_data): New variable.
42344         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42345         (ctan_upward_test_data): New variable.
42346         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42347         (ctanh_test_data): New variable.
42348         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42349         (ctanh_tonearest_test_data): New variable.
42350         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42351         (ctanh_towardzero_test_data): New variable.
42352         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42353         (ctanh_downward_test_data): New variable.
42354         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42355         (ctanh_upward_test_data): New variable.
42356         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42357         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42358         of BUILD_COMPLEX.
42360         * math/libm-test.inc (struct test_ff_f_data): New type.
42361         (struct test_ff_f_data_nexttoward): Likewise.
42362         (RUN_TEST_LOOP_2_f): New macro.
42363         (RUN_TEST_LOOP_ff_f): Likewise.
42364         (atan2_test_data): New variable.
42365         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42366         (copysign_test_data): New variable.
42367         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42368         (fdim_test_data): New variable.
42369         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42370         (fmax_test_data): New variable.
42371         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42372         (fmin_test_data): New variable.
42373         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42374         (fmod_test_data): New variable.
42375         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42376         (hypot_test_data): New variable.
42377         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42378         (nextafter_test_data): New variable.
42379         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42380         (nexttoward_test_data): New variable.
42381         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42382         (pow_test_data): New variable.
42383         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42384         (pow_tonearest_test_data): New variable.
42385         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42386         (pow_towardzero_test_data): New variable.
42387         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42388         (pow_downward_test_data): New variable.
42389         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42390         (pow_upward_test_data): New variable.
42391         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42392         (remainder_test_data): New variable.
42393         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42394         (scalb_test_data): New variable.
42395         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42396         * sysdeps/i386/fpu/libm-test-ulps: Update.
42398 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
42400         * math/libm-test.inc (fma_test): Use max_value instead of local
42401         variable fltmax.
42402         (nextafter_test): Likewise.
42404         * math/libm-test.inc (acos_towardzero_test_data): New variable.
42405         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42406         (acos_downward_test_data): New variable.
42407         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42408         (acos_upward_test_data): New variable.
42409         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42410         (acosh_test_data): New variable.
42411         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42412         (asin_test_data): New variable.
42413         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42414         (asin_tonearest_test_data): New variable.
42415         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42416         (asin_towardzero_test_data): New variable.
42417         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42418         (asin_downward_test_data): New variable.
42419         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42420         (asin_upward_test_data): New variable.
42421         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42422         (asinh_test_data): New variable.
42423         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42424         (atan_test_data): New variable.
42425         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42426         (atanh_test_data): New variable.
42427         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42428         (cbrt_test_data): New variable.
42429         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42430         (ceil_test_data): New variable.
42431         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42432         (cos_test_data): New variable.
42433         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42434         (cos_tonearest_test_data): New variable.
42435         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42436         (cos_towardzero_test_data): New variable.
42437         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42438         (cos_downward_test_data): New variable.
42439         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42440         (cos_upward_test_data): New variable.
42441         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42442         (cosh_test_data): New variable.
42443         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42444         (cosh_tonearest_test_data): New variable.
42445         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42446         (cosh_towardzero_test_data): New variable.
42447         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42448         (cosh_downward_test_data): New variable.
42449         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42450         (cosh_upward_test_data): New variable.
42451         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42452         (erf_test_data): New variable.
42453         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42454         (erfc_test_data): New variable.
42455         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42456         (exp_test_data): New variable.
42457         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42458         (exp_tonearest_test_data): New variable.
42459         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42460         (exp_towardzero_test_data): New variable.
42461         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42462         (exp_downward_test_data): New variable.
42463         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42464         (exp_upward_test_data): New variable.
42465         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42466         (exp10_test_data): New variable.
42467         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42468         (exp2_test_data): New variable.
42469         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42470         (expm1_test_data): New variable.
42471         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42472         (fabs_test_data): New variable.
42473         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42474         (floor_test_data): New variable.
42475         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42476         (j0_test_data): New variable.
42477         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42478         (j1_test_data): New variable.
42479         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42480         (log_test_data): New variable.
42481         (log_test): Run tests with RUN_TEST_LOOP_f_f.
42482         (log10_test_data): New variable.
42483         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42484         (log1p_test_data): New variable.
42485         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42486         (log2_test_data): New variable.
42487         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42488         (logb_test_data): New variable.
42489         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42490         (logb_downward_test_data): New variable.
42491         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42492         (nearbyint_test_data): New variable.
42493         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42494         (rint_test_data): New variable.
42495         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42496         (rint_tonearest_test_data): New variable.
42497         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42498         (rint_towardzero_test_data): New variable.
42499         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42500         (rint_downward_test_data): New variable.
42501         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42502         (rint_upward_test_data): New variable.
42503         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42504         (round_test_data): New variable.
42505         (round_test): Run tests with RUN_TEST_LOOP_f_f.
42506         (sin_test_data): New variable.
42507         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42508         (sin_tonearest_test_data): New variable.
42509         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42510         (sin_towardzero_test_data): New variable.
42511         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42512         (sin_downward_test_data): New variable.
42513         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42514         (sin_upward_test_data): New variable.
42515         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42516         (sinh_test_data): New variable.
42517         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
42518         (sinh_tonearest_test_data): New variable.
42519         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42520         (sinh_towardzero_test_data): New variable.
42521         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42522         (sinh_downward_test_data): New variable.
42523         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42524         (sinh_upward_test_data): New variable.
42525         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42526         (sqrt_test_data): New variable.
42527         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
42528         (tan_test_data): New variable.
42529         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
42530         (tan_tonearest_test_data): New variable.
42531         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42532         (tan_towardzero_test_data): New variable.
42533         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42534         (tan_downward_test_data): New variable.
42535         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42536         (tan_upward_test_data): New variable.
42537         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42538         (tanh_test_data): New variable.
42539         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
42540         (tgamma_test_data): New variable.
42541         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
42542         (trunc_test_data): New variable.
42543         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
42544         (y0_test_data): New variable.
42545         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
42546         (y1_test_data): New variable.
42547         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
42548         (significand_test_data): New variable.
42549         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
42551 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
42553         [BZ #12387]
42554         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
42556 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42558         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
42560 2013-05-10  Andreas Jaeger  <aj@suse.de>
42562         [BZ #15448]
42563         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
42564         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
42566 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42568         * math/gen-libm-test.pl (adjust_arg): New function.
42569         (special_functions): Handle generating output in both functions
42570         and arrays.
42571         (parse_args): Likewise.
42572         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
42573         $in_func argument to parse_args.
42574         * math/libm-test.inc (struct test_f_f_data): New type.
42575         (IF_ROUND_INIT_): New macro.
42576         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
42577         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42578         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42579         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42580         (ROUND_RESTORE_): Likewise.
42581         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
42582         (ROUND_RESTORE_FE_TONEAREST): Likewise.
42583         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
42584         (ROUND_RESTORE_FE_UPWARD): Likewise.
42585         (RUN_TEST_LOOP_f_f): New macro.
42586         (acos_test_data): New variable.
42587         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42588         (acos_tonearest_test_data): New variable.
42589         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42591 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42593         * benchtests/bench-skeleton.c (startup): Fix coding style.
42595 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42597         [BZ #6809]
42598         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42599         negative infinity argument.
42600         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42601         negative infinity argument.
42602         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42603         negative infinity argument.
42604         * math/libm-test.inc (tgamma_test): Expect errno to be set for
42605         domain errors.
42607 2013-05-10  Florian Weimer  <fweimer@redhat.com>
42609         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42610         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42611         * iconv/iconv_prog.c (main): Likewise.
42612         * locale/programs/charmap-dir.c (charmap_readdir)
42613         (fopen_uncompressed): Likewise.
42614         * locale/programs/locfile.c (siblings_uncached)
42615         (write_locale_data): Use lstat64 instead of lstat.
42616         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42617         stat.
42619 2013-05-10  Andreas Jaeger  <aj@suse.de>
42621         [BZ #15395]
42622         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42623         localization.
42624         Include <locale.h>.
42626 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
42628         * elf/dl-close.c (_dl_close_worker): Add comments.
42630 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
42632         [BZ #15359]
42633         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42634         high part of pi/2.
42635         (__ieee754_rem_pio2l): Update comments.
42637         [BZ #15429]
42638         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42639         high part of pi/2.
42640         (__ieee754_rem_pio2l): Update comments.
42642         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
42643         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
42645         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
42646         M_PI_4l.
42648         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
42649         (M_PI_34_LOG10El): Likewise.
42650         (M_PI2_LOG10El): Likewise.
42651         (M_PI4_LOG10El): Likewise.
42652         (M_PI_LOG10El): Likewise.
42654 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42658 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
42660         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
42661         (MINUS_ZERO_INIT): Likewise.
42662         (PLUS_INFTY_INIT): Likewise.
42663         (MINUS_INFTY_INIT): Likewise.
42664         (QNAN_VALUE_INIT): Likewise.
42665         (MAX_VALUE_INIT): Likewise.
42666         (MIN_VALUE_INIT): Likewise.
42667         (MIN_SUBNORM_VALUE_INIT): Likewise.
42668         (plus_zero): Initialize with PLUS_ZERO_INIT.
42669         (minus_zero): Initialize with MINUS_ZERO_INIT.
42670         (plus_infty): Initialize with PLUS_INFTY_INIT.
42671         (minus_infty): Initialize with MINUS_INFTY_INIT.
42672         (qnan_value): Initialize with QNAN_VALUE_INIT.
42673         (max_value): Initialize with MAX_VALUE_INIT.
42674         (min_value): Initialize with MIN_VALUE_INIT.
42675         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
42677         * math/libm-test.inc (RUN_TEST_if_f): New macro.
42678         (jn_test): Use TEST_if_f instead of TEST_ff_f.
42679         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
42680         (yn_test): Use TEST_if_f instead of TEST_ff_f.
42682         * math/libm-test.inc (RUN_TEST_f_f): New macro.
42683         (RUN_TEST_2_f): Likewise.
42684         (RUN_TEST_ff_f): Likewise.
42685         (RUN_TEST_fi_f): Likewise.
42686         (RUN_TEST_fl_f): Likewise.
42687         (RUN_TEST_fff_f): Likewise.
42688         (RUN_TEST_c_f): Likewise.
42689         (RUN_TEST_f_f1): Likewise.
42690         (RUN_TEST_fF_f1): Likewise.
42691         (RUN_TEST_fI_f1): Likewise.
42692         (RUN_TEST_ffI_f1): Likewise.
42693         (RUN_TEST_c_c): Likewise.
42694         (RUN_TEST_cc_c): Likewise.
42695         (RUN_TEST_f_i): Likewise.
42696         (RUN_TEST_f_i_tg): Likewise.
42697         (RUN_TEST_ff_i_tg): Likewise.
42698         (RUN_TEST_f_b): Likewise.
42699         (RUN_TEST_f_b_tg): Likewise.
42700         (RUN_TEST_f_l): Likewise.
42701         (RUN_TEST_f_L): Likewise.
42702         (RUN_TEST_sincos): Likewise.
42703         * math/gen-libm-test.pl (new_test): Take new argument to indicate
42704         whether to show exceptions.  Do not include ");\n" in return
42705         value.
42706         (special_functions): Output call to RUN_TEST_sincos instead of
42707         check_float calls.  Update calls to new_test.
42708         (parse_args): Output call to single RUN_TEST_* macro instead of
42709         check_* calls and other assignments.  Update calls to new_test.
42711         [BZ #2546]
42712         [BZ #2560]
42713         [BZ #5159]
42714         [BZ #15426]
42715         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42716         input to result for tgamma overflow.
42717         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42718         (gamma_coeff): New variable.
42719         (NCOEFF): New macro.
42720         (gamma_positive): New function.
42721         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42722         underflow here.  Use gamma_positive instead of exp (lgamma) for
42723         other arguments.
42724         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42725         (gamma_coeff): New variable.
42726         (NCOEFF): New macro.
42727         (gammaf_positive): New function.
42728         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42729         underflow here.  Use gamma_positive instead of exp (lgamma) for
42730         other arguments.
42731         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42732         (gamma_coeff): New variable.
42733         (NCOEFF): New macro.
42734         (gammal_positive): New function.
42735         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42736         underflow here.  Use gamma_positive instead of exp (lgamma) for
42737         other arguments.
42738         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42739         (gamma_coeff): New variable.
42740         (NCOEFF): New macro.
42741         (gammal_positive): New function.
42742         (__ieee754_gammal_r): Handle positive infinity, overflow and
42743         underflow here.  Handle NaN the same as positive infinity.  Remove
42744         check x < 0xffffffff for negative integers.  Use gamma_positive
42745         instead of exp (lgamma) for other arguments.
42746         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42747         (gamma_coeff): New variable.
42748         (NCOEFF): New macro.
42749         (gammal_positive): New function.
42750         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42751         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42752         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42753         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42754         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42755         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42756         * sysdeps/generic/math_private.h (__gamma_productf): New
42757         prototype.
42758         (__gamma_product): Likewise.
42759         (__gamma_productl): Likewise.
42760         * math/Makefile (libm-calls): Add gamma_product.
42761         * math/libm-test.inc (tgamma_test): Add more tests.
42762         * sysdeps/i386/fpu/libm-test-ulps: Update.
42763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42765 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42767         * benchtests/bench-skeleton.c (main): Preheat CPU.
42769 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42771         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42773 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42775         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42776         and _dl_skip_args_internal.
42778 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42780         * manual/message.texi (Message Translation): Talk about users.
42781         Message to key mapping impacts design.
42783 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42785         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42787         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42789         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42790         * sysdeps/wordsize-64/glob64.c: ... here.
42792         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42793         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42794         New macros.
42796         * debug/getlogin_r_chk.c: Moved to ...
42797         * login/getlogin_r_chk.c: ... here.
42798         * debug/Makefile (routines): Move getlogin_r_chk to ...
42799         * login/Makefile (routines): ... here.
42800         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42801         * login/Versions (libc: GLIBC_2.4): ... here.
42803         * io/poll.c (__poll): Renamed from poll.
42804         Add libc_hidden_def.
42805         (poll): Define as weak alias.
42807         * debug/ptsname_r_chk.c: Moved to ...
42808         * login/ptsname_r_chk.c: ... here.
42809         * debug/Makefile (routines): Move ptsname_r_chk to ...
42810         * login/Makefile (routines): ... here.
42811         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42812         * login/Versions (libc: GLIBC_2.4): ... here.
42814         * posix/getlogin.c: Moved to ...
42815         * login/getlogin.c: ... here.
42816         * posix/getlogin_r.c: Moved to ...
42817         * login/getlogin_r.c: ... here.
42818         * posix/getlogin_r.c: Moved to ...
42819         * login/getlogin_r.c: ... here.
42820         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42821         * login/Makefile (routines): ... here.
42822         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42823         * login/Versions (libc: GLIBC_2.0): ... here.
42825         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42826         (setrlimit): Define as weak alias.
42828         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42829         Call __ names for open, ftruncate, and close.
42830         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42831         (truncate): Define as weak alias.
42833 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42835         * math/gen-libm-test.pl (parse_args): Initialize x before each
42836         test of frexp, modf and remquo.
42838         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42839         test signgam value.
42841 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42843         [BZ #15418]
42844         [BZ #15419]
42845         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42846         internal tests.
42847         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42849 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42851         * elf/dl-writev.h: New file.
42852         * elf/dl-misc.c: Include it.
42853         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42854         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42856 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42858         * math/libm-test.inc (noXFails): Remove variable.
42859         (noXPasses): Likewise.
42860         (BUILD_COMPLEX_INT): Remove macro.
42861         (print_screen): Remove xfail argument.
42862         (print_screen_max_error): Likewise.
42863         (update_stats): Likewise.
42864         (print_max_error): Likewise.  Update calls to other affected
42865         functions.
42866         (print_complex_max_error): Likewise.
42867         (test_single_exception): Update calls to print_screen.
42868         (test_single_errno): Likewise.
42869         (check_float_internal): Remove xfail argument.  Update calls to
42870         other affected functions.
42871         (check_float): Likewise.
42872         (check_complex): Likewise.
42873         (check_int): Likewise.
42874         (check_long): Likewise.
42875         (check_bool): Likewise.
42876         (check_longlong): Likewise.
42877         (main): Don't print noXFails and noXPasses.
42878         * math/gen-libm-test.pl (top level): Don't mention expected
42879         failure handling in comment.
42880         (new_test): Don't handle expected failures.
42881         (parse_args): Don't mention expected failure handling in comment.
42882         (generate_testfile): Don't handle expected failures.
42883         (parse_ulps): Likewise.
42884         (print_ulps_file): Likewise.
42885         (get_failure): Remove function.
42886         (output_test): Don't handle expected failures.
42887         * make/README.libm-test: Don't mention expected failure handling.
42889         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42890         (minus_zero): Likewise.
42891         (plus_infty): Likewise.
42892         (minus_infty): Likewise.
42893         (qnan_value): Likewise.
42894         (max_value): Likewise.
42895         (min_value): Likewise.
42896         (min_subnorm_value): Likewise.
42897         (initialize): Do not initialize those variables dynamically.
42899 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42901         * io/open.c (__open_2): Moved to ...
42902         * io/open_2.c: ... this new file.
42903         * io/open64.c (__open64_2): Moved to ...
42904         * io/open64_2.c: ... this new file.
42905         * io/openat.c (__openat_2): Moved to ...
42906         * io/openat_2.c: ... this new file.
42907         * io/openat64.c (__openat64_2): Moved to ...
42908         * io/openat64_2.c: ... this new file.
42909         * io/Makefile (routines): Add them.
42910         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42911         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42912         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42913         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42914         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42915         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42916         (__openat64): Add hidden_ver.
42917         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42918         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42920         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42921         Separately conditionalize setting of GLRO(dl_sysinfo) so
42922         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42923         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42925 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42927         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42928         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42929         definition.
42930         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42931         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42932         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42933         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42934         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42936 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42938         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42939         test signgam value.
42941         * math/libm-test.inc (hypot_test): Do not use
42942         IGNORE_ZERO_INF_SIGN.
42944 2013-05-03  Andreas Jaeger  <aj@suse.de>
42946         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42947         Linux 3.9.
42948         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42949         (PF_MAX): Adjust for VSOCK change.
42951 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42955 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42957         [BZ #15264]
42958         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42959         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42960         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42962 2013-05-02  David S. Miller  <davem@davemloft.net>
42964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42966 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42968         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42970 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42972         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42974 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42976         [BZ #14952]
42977         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42978         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42979         Use __attribute__ ((__gnu_inline__)).
42980         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42981         Don't use __attribute__ ((__gnu_inline__)).
42983 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42985         [BZ #15423]
42986         * math/s_catan.c (__catan): Handle small real or imaginary part of
42987         input specially to avoid spurious underflow.
42988         * math/s_catanf.c (__catanf): Likewise.
42989         * math/s_catanh.c (__catanh): Likewise.
42990         * math/s_catanhf.c (__catanhf): Likewise.
42991         * math/s_catanhl.c (__catanhl): Likewise.
42992         * math/s_catanl.c (__catanl): Likewise.
42993         * math/libm-test.inc (catan_test): Add more tests.
42994         (catanh_test): Likewise.
42995         * sysdeps/i386/fpu/libm-test-ulps: Update.
42996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42998 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43002 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43004         [BZ #15416]
43005         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43006         accurately for denominator in atan2.
43007         * math/s_catanf.c (__catanf): Likewise.
43008         * math/s_catanh.c (__catanh): Likewise.
43009         * math/s_catanhf.c (__catanhf): Likewise.
43010         * math/s_catanhl.c (__catanhl): Likewise.
43011         * math/s_catanl.c (__catanl): Likewise.
43012         * math/libm-test.inc (catan_test): Add more tests.
43013         (catanh_test): Likewise.
43014         * sysdeps/i386/fpu/libm-test-ulps: Update.
43015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43017 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43019         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43021         * benchtests/Makefile (bench): Remove slow benchmarks.
43022         * benchtests/atan-inputs: Add slow benchmark inputs.
43023         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43024         (BENCH_FUNC): Accept variant offset.
43025         (VARIANT): Define.
43026         * benchtests/bench-skeleton.c (main): Run benchmark for each
43027         variant.
43028         * benchtests/cos-inputs: Add slow benchmark inputs.
43029         * benchtests/exp-inputs: Likewise.
43030         * benchtests/pow-inputs: Likewise.
43031         * benchtests/sin-inputs: Likewise.
43032         * benchtests/slowatan-inputs: Remove.
43033         * benchtests/slowatan.c: Remove.
43034         * benchtests/slowcos-inputs: Remove.
43035         * benchtests/slowcos.c: Remove.
43036         * benchtests/slowexp-inputs: Remove.
43037         * benchtests/slowexp.c: Remove.
43038         * benchtests/slowpow-inputs: Remove.
43039         * benchtests/slowpow.c: Remove.
43040         * benchtests/slowsin-inputs: Remove.
43041         * benchtests/slowsin.c: Remove.
43042         * benchtests/slowtan-inputs: Remove.
43043         * benchtests/slowtan.c: Remove.
43044         * benchtests/tan-inputs: Add slow benchmark inputs.
43045         * scripts/bench.pl: Parse comments and directives.
43047         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43048         in CPPFLAGS.
43049         ($(objpfx)bench-%.c): Remove *-ITER.
43050         * benchtests/bench-modf.c: Remove definition of ITER.
43051         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43052         (main): Loop for DURATION seconds instead of fixed number of
43053         iterations.
43054         * scripts/bench.pl: Don't expect iterations in parameters.
43056 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43058         * io/fchdir.c (__fchdir): Renamed from fchdir.
43059         (fchdir): Define as weak alias.
43061 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43063         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43064         (ERRNO_EDOM): Likewise.
43065         (ERRNO_ERANGE): Likewise.
43066         (noErrnoTests): New variable.
43067         (init_max_error): Set errno to 0.
43068         (test_single_errno): New function.
43069         (test_errno): Likewise.
43070         (check_float_internal): Call test_errno.  Set errno to 0.
43071         (check_complex): Refer to errno tests in comment.
43072         (check_int): Call test_errno.  Set errno to 0.
43073         (check_long): Likewise.
43074         (check_bool): Likewise.
43075         (check_longlong): Likewise.
43076         (cos_test): Use ERRNO_* flags for errno tests instead of
43077         check_int.
43078         (expm1_test): Likewise.
43079         (fmod_test): Likewise.
43080         (ilogb_test): Likewise.
43081         (lgamma_test): Likewise.
43082         (pow_test): Likewise.
43083         (remainder_test): Likewise.
43084         (sin_test): Likewise.
43085         (tan_test): Likewise.
43086         (yn_test): Likewise.
43087         (initialize): Set errno to 0.
43088         (main): Print number of errno tests.
43089         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43091 2013-04-29  Andreas Jaeger  <aj@suse.de>
43093         [BZ #15084]
43094         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43095         and RES_USEVC.
43097         [BZ #15085]
43098         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43099         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43100         unimplemented.
43102         [BZ #15380]
43103         * stdlib/random.c (__initstate): Return NULL if
43104         __initstate fails.
43106         [BZ #15086]
43107         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43108         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43109         RES_SNGLKUPREOP.
43111 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43115 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43117         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43118         of individual tests.
43119         (casin_test): Likewise.
43120         (casinh_test): Likewise.
43122 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43124         [BZ #15409]
43125         * math/s_catan.c (__catan): Handle arguments with large real or
43126         imaginary part separately without squaring.
43127         * math/s_catanf.c (__catanf): Likewise.
43128         * math/s_catanh.c (__catanh): Likewise.
43129         * math/s_catanhf.c (__catanhf): Likewise.
43130         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43131         and redefine.
43132         (__catanhl): Handle arguments with large real or imaginary part
43133         separately without squaring.
43134         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43135         and redefine.
43136         (__catanl): Handle arguments with large real or imaginary part
43137         separately without squaring.
43138         * math/libm-test.inc (catan_test): Add more tests.
43139         (catanh_test): Likewise.
43140         * sysdeps/i386/fpu/libm-test-ulps: Update.
43141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43143 2013-04-27  Andreas Jaeger  <aj@suse.de>
43145         [BZ #15007]
43146         * stdlib/stdlib.h: Update guards for qecvt.
43147         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43148         <stdlib.h>.
43150 2013-04-27  Allan McRae  <allan@archlinux.org>
43152         * sysdeps/i386/fpu/libm-test-ulps: Update.
43154 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
43156         [BZ #15406]
43157         * math/s_catan.c: Include <float.h>.
43158         (__catan): Ensure underflow exception occurs for underflowed
43159         result.
43160         * math/s_catanf.c: Include <float.h>.
43161         (__catanf): Ensure underflow exception occurs for underflowed
43162         result.
43163         * math/s_catanh.c: Include <float.h>.
43164         (__catanh): Ensure underflow exception occurs for underflowed
43165         result.
43166         * math/s_catanhf.c: Include <float.h>.
43167         (__catanhf): Ensure underflow exception occurs for underflowed
43168         result.
43169         * math/s_catanhl.c: Include <float.h>.
43170         (__catanhl): Ensure underflow exception occurs for underflowed
43171         result.
43172         * math/s_catanl.c: Include <float.h>.
43173         (__catanl): Ensure underflow exception occurs for underflowed
43174         result.
43175         * math/libm-test.inc (catan_test): Add more tests.
43176         (catanh_test): Likewise.
43178         [BZ #15405]
43179         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43180         underflowed result.
43181         * math/s_ccoshf.c (__ccoshf): Likewise.
43182         * math/s_ccoshl.c (__ccoshl): Likewise.
43183         * math/s_csin.c (__csin): Likewise.
43184         * math/s_csinf.c (__csinf): Likewise.
43185         * math/s_csinh.c (__csinh): Likewise.
43186         * math/s_csinhf.c (__csinhf): Likewise.
43187         * math/s_csinhl.c (__csinhl): Likewise.
43188         * math/s_csinl.c (__csinl): Likewise.
43189         * math/libm-test.inc (ccos_test): Add more tests.
43190         (ccosh_test): Likewise.
43191         (csin_test): Likewise.
43192         (csinh_test): Likewise.
43194 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43196         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43197         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43198         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43199         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43200         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43201         powerpc/power5+/fpu folders.
43202         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43205 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43209 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43211         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43212         additions to variable.
43213         [$(config-machine) = x86_64] (modules-names): Likewise.
43214         ($(objpfx)tst-audit3): Remove dependency.
43215         ($(objpfx)tst-audit3.out): Likewise.
43216         ($(objpfx)tst-audit4): Likewise.
43217         ($(objpfx)tst-audit4.out): Likewise.
43218         ($(objpfx)tst-audit5): Likewise.
43219         ($(objpfx)tst-audit5.out): Likewise.
43220         ($(objpfx)tst-audit6): Likewise.
43221         ($(objpfx)tst-audit6.out): Likewise.
43222         ($(objpfx)tst-audit7): Likewise.
43223         ($(objpfx)tst-audit7.out): Likewise.
43224         (tst-audit3-ENV): Remove variable.
43225         (tst-audit4-ENV): Likewise.
43226         (tst-audit5-ENV): Likewise.
43227         (tst-audit6-ENV): Likewise.
43228         (tst-audit7-ENV): Likewise.
43229         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43230         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43231         addition to variable.
43232         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43233         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43234         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43235         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43236         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43237         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43238         tst-audit3, tst-audit4 and tst-audit5.
43239         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43240         tst-audit6 and tst-audit7.
43241         [$(subdir) = elf] (modules-names): Add audit modules for those
43242         tests.
43243         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43244         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43245         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43246         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43247         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43248         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43249         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43250         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43251         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43252         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43253         [$(subdir) = elf] (tst-audit3-ENV): New variable.
43254         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43255         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43256         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43257         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43258         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43259         Likewise.
43260         [$(subdir) = elf && $(config-cflags-avx) = yes]
43261         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43262         [$(subdir) = elf && $(config-cflags-avx) = yes]
43263         (CFLAGS-tst-auditmod4a.c): Likewise.
43264         [$(subdir) = elf && $(config-cflags-avx) = yes]
43265         (CFLAGS-tst-auditmod4b.c): Likewise.
43266         [$(subdir) = elf && $(config-cflags-avx) = yes]
43267         (CFLAGS-tst-auditmod6b.c): Likewise.
43268         [$(subdir) = elf && $(config-cflags-avx) = yes]
43269         (CFLAGS-tst-auditmod6c.c): Likewise.
43270         [$(subdir) = elf && $(config-cflags-avx) = yes]
43271         (CFLAGS-tst-auditmod7b.c): Likewise.
43272         * elf/tst-audit3.c: Move to ...
43273         * sysdeps/x86_64/tst-audit3.c: ... here.
43274         * elf/tst-audit4.c: Move to ...
43275         * sysdeps/x86_64/tst-audit4.c: ... here.
43276         * elf/tst-audit5.c: Move to ...
43277         * sysdeps/x86_64/tst-audit5.c: ... here.
43278         * elf/tst-audit6.c: Move to ...
43279         * sysdeps/x86_64/tst-audit6.c: ... here.
43280         * elf/tst-audit7.c: Move to ...
43281         * sysdeps/x86_64/tst-audit7.c: ... here.
43282         * elf/tst-auditmod3a.c: Move to ...
43283         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43284         * elf/tst-auditmod3b.c: Move to ...
43285         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43286         * elf/tst-auditmod4a.c: Move to ...
43287         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43288         * elf/tst-auditmod4b.c: Move to ...
43289         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43290         * elf/tst-auditmod5a.c: Move to ...
43291         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43292         * elf/tst-auditmod5b.c: Move to ...
43293         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43294         * elf/tst-auditmod6a.c: Move to ...
43295         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43296         * elf/tst-auditmod6b.c: Move to ...
43297         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43298         * elf/tst-auditmod6c.c: Move to ...
43299         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43300         * elf/tst-auditmod7a.c: Move to ...
43301         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43302         * elf/tst-auditmod7b.c: Move to ...
43303         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43305 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
43307         [BZ #15366]
43308         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43309         define unconditionally.
43310         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43311         define unconditionally.
43312         (INT8_C, INT16_C, etc.): Likewise.
43314 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
43316         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43317         __ehdr_start with hidden visibility.
43319         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43321 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
43323         * math/libm-test.inc (cos_test): Use accurate hex constants.
43324         (sincost_test): Likewise.
43326 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
43328         * math/libm-test.inc (catan_test): Add more tests.
43329         (catanh_test): Likewise.
43331         * math/s_catanf.c (__catanf): Use suffixed floating-point
43332         constants.
43333         * math/s_catanhf.c (__catanhf): Likewise.
43334         * math/s_catanhl.c (__catanhl): Likewise.
43335         * math/s_catanl.c (__catanl): Likewise.
43337         [BZ #15394]
43338         * math/s_catan.c (__catan): Calculate imaginary part of result
43339         with log1p not log unless computing log of number close to 0.
43340         * math/s_catanf.c (__catanf): Likewise.
43341         * math/s_catanl.c (__catanl): Likewise.
43342         * math/s_catanh.c (__catanh): Calculate real part of result with
43343         log1p not log unless computing log of number close to 0.
43344         * math/s_catanhf.c (__catanhf): Likewise.
43345         * math/s_catanhl.c (__catanhl): Likewise.
43346         * math/libm-test.inc (catan_test): Add more tests.
43347         (catanh_test): Likewise.
43348         * sysdeps/i386/fpu/libm-test-ulps: Update.
43349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43351 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43353         * benchtests/Makefile: Mention files in which fast and slow
43354         paths of math functions are implemented.
43356 2013-04-23  Roland McGrath  <roland@hack.frob.com>
43358         * sysdeps/posix/timespec_get.c: New file.
43360 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43362         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43363         POWER.
43364         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43365         for POWER.
43366         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43367         powerpc/power5/fpu folders.
43368         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43369         * benchtests/Makefile: Add modf testcase.
43370         * benchtests/bench-modf.c: New file: Benchmark test for mo
43372 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43374         [BZ #14888]
43375         * time/Makefile (tests): Add tst-strptime-whitespace.
43376         * time/strptime_l.c (get_number): Use ISSPACE.
43377         (__strptime_internal): Likewise.
43378         * time/tst-strptime-whitespace.c: New test case.
43380 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
43382         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43383         member.
43384         (_nss_files_init): Set it here.
43386 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
43388         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43389         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43390         unsigned.
43392 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43394         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43396 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43398         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43399         size just once.
43401 2013-04-21  David S. Miller  <davem@davemloft.net>
43403         * po/ru.po: Update Russion translation from translation project.
43405 2013-04-17  Adam Conrad  <adconrad@0c3.net>
43407         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43408         and setfsgid.
43410 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
43412         * configure.in: Remove i386 configure warning. Remove i386 case.
43413         * configure: Regenerate.
43414         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43415         Add example to error message.
43416         * sysdeps/i386/configure: Regenerate.
43418 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43420         * benchtests/Makefile (bench): Add cos, tan, slowcos and
43421         slowtan.
43422         * benchtests/cos-inputs: New file.
43423         * benchtests/slowcos-inputs: New file.
43424         * benchtests/slowcos.c: New file.
43425         * benchtests/slowtan-inputs: New file.
43426         * benchtests/slowtan.c: New file.
43427         * benchtests/tan-inputs: New file.
43429 2013-04-16  Roland McGrath  <roland@hack.frob.com>
43431         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43432         considered kosher.
43434 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43436         * benchtests/Makefile: Include cppflags-iterator.mk to add
43437         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43439         * Makefile.in (bench-clean): New target.
43440         * benchtests/Makefile (bench-clean): Likewise.
43442 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
43444         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43446 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
43448         * stdio-common/tstdiomisc.c: Fix coding-style violation.
43450 2013-04-15  Andreas Schwab  <schwab@suse.de>
43452         * nscd/grpcache.c (cache_addgr): Properly check for short write.
43453         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43454         * nscd/pwdcache.c (cache_addpw): Likewise.
43455         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
43456         more than recsize.
43458 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43460         * benchtests/Makefile (bench): Write all output to
43461         bench-out.tmp together.
43463 2013-04-15  Andreas Schwab  <schwab@suse.de>
43465         * nscd/nscd.c (main): Don't fork again after closing files.
43467 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43469         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43471         * benchtests/Rules (bench-deps): Collect dependencies into a
43472         single variable.  Add Makefile to dependencies.
43473         ($(objpfx)bench-%.c): Depend on bench-deps.
43475 2013-04-12  Roland McGrath  <roland@hack.frob.com>
43476             Xavier Roche  <roche+kml2@exalead.com>
43478         [BZ #15361]
43479         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43480         just that it's a file descriptor.
43481         * manual/llio.texi (Synchronizing AIO Operations): Update description
43482         for EBADF error from aio_fsync.
43484 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43486         * Rules (bench): Move target definition...
43487         * benchtests/Makefile: ... here.
43489 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
43491         * math/libm-test.inc (cos_test): Fix PI/2 test.
43492         (sincos_test): Likewise.
43493         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43494         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43496 2013-04-11  Andreas Schwab  <schwab@suse.de>
43498         [BZ #13988]
43499         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43500         accept exponent character only when digits were seen.
43501         * stdio-common/Makefile (tests): Add bug26.
43502         * stdio-common/bug26.c: New file.
43504         [BZ #14293]
43505         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43506         non-freeable.
43508 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43510         * Makeconfig (rtld-prefix): Define built linker prefix.
43511         * Rules (run-bench): Use it.
43512         * math/Makefile (run-regen-ulps): Likewise.
43514         * Rules (bench): Remove eval.
43516 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43517             Roland McGrath  <roland@hack.frob.com>
43518             Ondrej Bilka  <neleai@seznam.cz>
43520         [BZ #15346]
43521         * time/getdate.c: Include ctype.h and alloca.h.
43522         (__getdate_r): Trim leading and trailing spaces of input.
43523         * time/tst-getdate.c (tests): Add tests with leading and
43524         trailing spaces.
43526 2013-04-08  Roland McGrath  <roland@hack.frob.com>
43528         [BZ #14280]
43529         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
43530         when computing value.
43532 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43534         * math/README.libm-test (How can I generate "libm-test-ulps"?):
43535         Use testrun.sh to run libm tests.
43537         [BZ #15309]
43538         * elf/dl-open.c (dl_open_worker): memset all of seen array.
43540 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
43542         [BZ #15264]
43543         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
43545 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43547         * Makefile.in (regen-ulps): New target.
43548         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
43549         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43550         [ifneq (no,$(PERL)] (regen-ulps): New target.
43551         [ifeq (no,$(PERL)] (regen-ulps): New target.
43552         * math/libm-test.inc (ulps_file_name): Define.
43553         (output_dir): New variable.
43554         (options): Add "output-dir" option.
43555         (parse_opt): Handle 'o' case.
43556         (main): If output_dir is non-NULL use it as a prefix
43557         otherwise use "".
43558         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
43560 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43562         [BZ #10060, #10062]
43563         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
43564         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
43565         fail configure if __sync_val_compare_and_swap is not inlined.
43566         * sysdeps/i386/configure: Regenerate.
43567         * configure.in: Build for i686 when configured for i386.
43568         * configure: Regenerate.
43569         * README: Remove i386 reference.
43571 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43573         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43574         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43576 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43578         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
43579         (lmsnanval): New variables.
43580         (F): Add conversion tests.
43581         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
43582         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
43584         * stdio-common/tstdiomisc.c (F): Properly collect individual
43585         tests' results.
43587         [BZ #14686, #15336]
43588         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43589         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43590         Instead, use input NaN values or generate a qNaN by arithmetic
43591         operation.  Also fix bugs to comply with the standard.
43592         * math/libm-test.inc (remainder_test): Add more tests.
43594         [BZ #15335, #15342]
43595         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43596         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43597         input NaN values or generate a qNaN by arithmetic operation.
43599         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43600         unreachable code.
43602         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43603         definitions.
43605 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
43607         [BZ #14478]
43608         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43609         underflowed result.
43610         * math/s_cexpf.c (__cexpf): Likewise.
43611         * math/s_cexpl.c (__cexpl): Likewise.
43612         * math/libm-test.inc (cexp_test): Add more tests.
43614 2013-04-03  Andreas Schwab  <schwab@suse.de>
43616         [BZ #15330]
43617         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43618         order arrays from heap if bigger than alloca cutoff.
43620 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
43622         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43623         (SNAN_TESTS_double): Refer to GCC PR56831.
43624         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43625         GCC PR56828.
43627 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43629         * Rules (bench): Move bench.out after the run is complete.
43631         * Rules (bench): Echo currently running benchmark.
43633         * benchtests/Makefile (bench): Add atan and slowatan.
43634         * benchtests/atan-inputs: New file.
43635         * benchtests/slowatan-inputs: New file.
43636         * benchtests/slowatan.c: New file.
43638         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43639         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43640         its value.
43642         [BZ #15305]
43643         * sysdeps/unix/sysv/linux/kernel-features.h
43644         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
43645         __ASSUME_XFS_RESTRICTED_CHOWN.
43646         * sysdeps/unix/sysv/linux/pathconf.c
43647         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43648         Save and restore errno.
43650 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
43652         [BZ #15327]
43653         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
43654         arguments using __kernel_casinh.
43655         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43656         arguments using __kernel_casinhf.
43657         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
43658         arguments using __kernel_casinhl.
43659         * math/libm-test.inc (cacosh_test): Add more tests.
43660         * sysdeps/i386/fpu/libm-test-ulps: Update.
43661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43663 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43665         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
43666         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
43668         * bench/Makefile (bench): Add sin and slowsin.
43669         * benchtests/sin-inputs: New file.
43670         * benchtests/slowsin-inputs: New file.
43671         * benchtests/slowsin.c: New file.
43673         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
43674         (bench): Add slowexp and slowpow.
43675         (exp-ITER): Increase iterations.
43676         (pow-ITER): Likewise.
43677         * benchtests/exp-inputs: Change input.
43678         * benchtests/pow-inputs: Likewise.
43679         * benchtests/slowexp-inputs: New file.
43680         * benchtests/slowexp.c: New file.
43681         * benchtests/slowpow-inputs: New file.
43682         * benchtests/slowpow.c: New file.
43684 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43686         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
43687         instructions.
43688         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43689         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
43690         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43691         * benchtests/Makefile: Add rint benchtest.
43692         * benchtests/rint-inputs: Input for rint benchtest.
43694 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43696         * Versions.def (libm): Add GLIBC_2.18.
43697         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
43698         hidden libm prototypes.
43699         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43700         * math/Makefile (libm-calls): Add s_issignaling.
43701         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43702         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
43703         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43704         declaration.
43705         * math/math.h [__USE_GNU] (issignaling): New macro.
43706         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43707         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43708         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43709         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43710         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43711         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43712         * manual/arith.texi (issignaling): New section.
43713         * manual/libm-err-tab.pl (@all_functions): Update comment.
43714         * math/gen-libm-test.pl (parse_args): Apply special handling for
43715         issignaling.
43716         * math/libm-test.inc (print_float, issignaling_test): New
43717         functions.
43718         (check_float_internal): Add issignaling checks.
43719         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43720         default definition.
43721         * sysdeps/powerpc/math-tests.h: New file.
43722         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43723         tests.
43724         * math/test-snan.c (TEST_FUNC): Likewise.
43726 2013-03-30  David S. Miller  <davem@davemloft.net>
43728         * po/de.po: Update from translation team.
43730 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43732         [BZ #10357]
43733         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43734         imaginary part less than 1.0 and real part less than 0.5
43735         specially.
43736         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43737         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43738         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43739         (cacos_test): Add more tests.
43740         (casin_test): Likewise.
43741         (casinh_test): Likewise.
43742         * sysdeps/i386/fpu/libm-test-ulps: Update.
43743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43745 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43747         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43748         ONE with its value.
43750         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43751         (__pow_mp): Replace ONE and MONE with their values.
43752         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43753         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43754         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43755         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43756         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43757         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43759         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43761         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43762         (__pow_mp): Replace ZERO and MZERO with their values.
43763         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43764         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43765         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43766         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43767         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43768         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43769         (__sqr): Likewise.
43771         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43773         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43775 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43777         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43778         Declare with __attribute__ ((weak)).
43779         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43780         Call __call_tls_dtors only if it's not NULL.
43782 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43784         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43785         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43786         magic __ehdr_start linker symbol if it's defined.
43787         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43788         them up here if it was already done.
43790         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43791         (_dl_aux_init): Use const in cast when setting it.
43792         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43793         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43794         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43796         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43797         Declare them here.
43798         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43799         * csu/libc-tls.c: Nor here.
43800         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43802         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43803         (__libc_message): Never call vsyslog.
43805 2013-03-28  Alan Modra  <amodra@gmail.com>
43807         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43808         Define as empty.
43809         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43810         Likewise.
43812 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43814         [BZ #15214]
43815         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43816         underflow.
43817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43819 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43821         [BZ #15304]
43822         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43823         Don't add gid passed as argument.
43825         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43827 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43829         [BZ #15307]
43830         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43831         imaginary part between 1.0 and 1.5 and real part less than 0.5
43832         specially.
43833         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43834         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43835         * math/libm-test.inc (cacos_test): Add more tests.
43836         (casin_test): Likewise.
43837         (casinh_test): Likewise.
43838         * sysdeps/i386/fpu/libm-test-ulps: Update.
43839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43841 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43843         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43844         constants.
43845         (norm): Likewise.
43846         (denorm): Likewise.
43847         (__dbl_mp): Likewise.
43848         (add_magnitudes): Likewise.
43849         (sub_magnitudes): Likewise.
43850         (__add): Likewise.
43851         (__sub): Likewise.
43852         (__mul): Likewise.
43853         (__sqr): Likewise.
43854         (__inv): Likewise.
43855         (__dvd): Likewise.
43857         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43858         commented code.
43859         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43860         (__dubcos): Likewise.
43861         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43862         (__ieee754_acos): Likewise.
43863         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43864         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43865         (__exp1): Likewise.
43866         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43867         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43868         (log1): Likewise.
43869         (my_log2): Likewise.
43870         (checkint): Likewise.
43871         * sysdeps/ieee754/dbl-64/e_remainder.c
43872         (__ieee754_remainder): Likewise.
43873         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43874         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43875         (bsloww): Likewise.
43876         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43878         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43879         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43880         MANTISSA_STORE_T to store computations on mantissa.  Use
43881         macros for rounding and division.
43882         (denorm): Likewise.
43883         (__dbl_mp): Likewise.
43884         (add_magnitudes): Likewise.
43885         (sub_magnitudes): Likewise.
43886         (__mul): Likewise.
43887         (__sqr): Likewise.
43888         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43889         powers of two in terms of TWOPOW macro.
43890         (mp_no): Make type of mantissa as MANTISSA_T.
43891         [!RADIXI]: Define RADIXI.
43892         [!TWO52]: Define TWO52.
43893         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43895 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43897         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43898         llroundl symbol when building for PPC32.
43900 2013-03-24  Mark H Weaver  <mhw@netris.org>
43902         * manual/arith.texi (Normalization Functions): Fix prototypes for
43903         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43905 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43907         [BZ #13889]
43908         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43909         high value to check if expl overflow.
43910         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43911         to check for underflow and overflow.
43912         * math/libm-test.inc: Add exp test.
43914 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43916         [BZ #11120]
43917         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43918         with NOT_IN_libc.
43920 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43922         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43923         symbol.
43925 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43927         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43928         wrap blocks consisting of several statements.
43930         * sysdeps/generic/math-tests.h: New file.
43931         * sysdeps/i386/fpu/math-tests.h: Likewise.
43932         * math/test-snan.c: Include it.
43933         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43935 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43937         [BZ #15285]
43938         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43939         (__ieee754_j0l): Do not improve calculations using cos of twice
43940         input for inputs above LDBL_MAX / 2.0L.
43941         (__ieee754_y0l): Likewise.
43942         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43943         (__ieee754_j1l): Do not improve calculations using cos of twice
43944         input for inputs above LDBL_MAX / 2.0L.
43945         (__ieee754_y1l): Likewise.
43946         * math/libm-test.inc (j0_test): Add another test.
43947         (j1_test): Likewise.
43948         (y0_test): Likewise.
43949         (y1_test): Likewise.
43950         * sysdeps/i386/fpu/libm-test-ulps: Update.
43952 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43954         * Rules ($(objpfx)bench-%.c): Include code from a C source
43955         file.
43957 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43959         [BZ #15287]
43960         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43961         imaginary part 1.0 and real part less than 0.5 specially.
43962         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43963         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43964         * math/libm-test.inc (cacos_test): Add more tests.
43965         (casin_test): Likewise.
43966         (casinh_test): Likewise.
43967         * sysdeps/i386/fpu/libm-test-ulps: Update.
43968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43970 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43972         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43973         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43975 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43977         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43978         * config.make.in (config-cflags-sse4): Remove variable.
43979         (config-cflags-avx): Likewise.
43980         (config-cflags-sse2avx): Likewise.
43981         (config-cflags-novzeroupper): Likewise.
43982         (config-asflags-i686): Likewise.
43983         (have-mfma4): Likewise.
43984         (have-as-vis3): Likewise.
43985         (MIG): Likewise.
43986         * configure.in (MIG): Do not AC_SUBST.
43987         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43988         (libc_cv_cc_sse4): Do not AC_SUBST.
43989         (libc_cv_cc_avx): Likewise.
43990         (libc_cv_cc_sse2avx): Likewise.
43991         (libc_cv_cc_novzeroupper): Likewise.
43992         (libc_cv_cc_fma4): Likewise.
43993         (libc_cv_as_i686): Likewise.
43994         (libc_cv_sparc_as_vis3): Likewise.
43995         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43996         LIBC_CONFIG_VAR.
43997         (config-asflags-i686): Likewise.
43998         (config-cflags-avx): Likewise.
43999         (config-cflags-sse2avx): Likewise.
44000         (have-mfma4): Likewise.
44001         (config-cflags-novzeroupper): Likewise.
44002         * sysdeps/mach/configure.in (MIG): Likewise.
44003         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44004         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44005         LIBC_CONFIG_VAR.
44006         (config-cflags-avx): Likewise.
44007         (config-cflags-sse2avx): Likewise.
44008         (have-mfma4): Likewise.
44009         (config-cflags-novzeroupper): Likewise.
44010         * configure: Regenerated.
44011         * sysdeps/i386/configure: Likewise.
44012         * sysdeps/mach/configure: Likewise.
44013         * sysdeps/sparc/configure: Likewise.
44014         * sysdeps/x86_64/configure: Likewise.
44016 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44018         [BZ #14812]
44019         * locale/programs/localedef.c (options): Put N_ translation marker
44020         on argument names, not just descriptions.
44022 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44024         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44026 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44028         [BZ #14176]
44029         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44031 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44033         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44034         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44035         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44036         [!BEFORE_ABORT] (before_abort): New function.
44037         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44038         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44039         (writev_for_fatal): New function.
44040         (WRITEV_FOR_FATAL): New macro; call that.
44041         (backtrace_and_maps): New function.
44042         (BEFORE_ABORT): New macro; call that.
44043         (struct str_list): Type removed.
44044         (__libc_message, __libc_fatal): Functions removed.
44045         Include <sysdeps/posix/libc_fatal.c> instead.
44047 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44049         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44050         constants.
44051         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44052         double constants.
44054 2013-03-19  Andreas Schwab  <schwab@suse.de>
44056         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44057         * sysdeps/gnu/configure: Regenerate.
44059         * configure.in: Substitute libc_cv_rtlddir.
44060         * configure: Regenerate.
44061         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44062         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44063         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44064         * elf/Makefile (install-others, CFLAGS-interp.c)
44065         (ldso_install, common-ldd-rewrite): Likewise.
44066         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44067         $(inst_slibdir)/$(rtld-installed-name).
44068         * scripts/rellns-sh: Add -p option.
44069         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44070         for source.
44072 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44074         * manual/nptl.texi: Renamed to ...
44075         * manual/threads.texi: ... this.
44076         * manual/Makefile (chapters): Update.
44078 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44080         [BZ #14812]
44081         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44082         on argument names, not just descriptions.
44083         * malloc/memusagestat.c (options): Likewise.
44084         * nss/getent.c (options): Likewise.
44086 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44088         [BZ #14812]
44089         * iconv/iconv_prog.c (options): Put N_ translation marker
44090         on argument names, not just descriptions.
44091         * iconv/iconvconfig.c (options): Likewise.
44093 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44095         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44096         implementation which is faster on all x86_64 architectures.
44097         Tested on AMD, Intel Nehalem, SNB, IVB.
44098         * sysdeps/x86_64/strnlen.S: Likewise.
44100         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44101         Remove all multiarch strlen and strnlen versions.
44102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44103         Remove strlen and strnlen related parts.
44105         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44106         Inline strlen part.
44107         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44109         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44110         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44111         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44112         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44113         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44114         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44116 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44118         * manual/memory.texi (Malloc Tunable Parameters):
44119         Sort parameters alphabetically. Add comments for missing entries.
44121 2013-03-17  David S. Miller  <davem@davemloft.net>
44123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44125 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44127         [BZ #15283]
44128         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44129         for arguments at most half maximum finite value.
44130         * math/libm-test.inc (j0_test): Add more tests.
44131         (j1_test): Likewise.
44132         (y0_test): Likewise.
44133         (y1_test): Likewise.
44134         * sysdeps/i386/fpu/libm-test-ulps: Update.
44135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44137         [BZ #14155]
44138         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44139         1 / x and functions P and Q for arguments above 0x1p256L.
44140         (__ieee754_y0l): Likewise.
44141         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44142         (__ieee754_y1l): Likewise.
44143         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44144         (j1_test): Likewise.
44145         (y0_test): Likewise.
44146         (y1_test): Likewise.
44148 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44150         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44151         variable.
44153 2013-03-15  Roland McGrath  <roland@hack.frob.com>
44155         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44156         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44157         zero since it's initialized to EXEC_PAGESIZE.
44159         * sysdeps/unix/sysv/linux/ldsodefs.h
44160         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44161         * sysdeps/generic/ldsodefs.h: ... here.
44163 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44165         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44167         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44168         math/test-snan.c.
44169         * math/test-snan.c: Renamed from
44170         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44171         * math/Makefile (tests): Add test-snan.
44172         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44173         test-powerpc-snan.
44175         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44176         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44177         functions.
44178         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44179         __builtin_nan family of functions.
44180         * math/libm-test.inc (initialize): Initialize qnan_value with
44181         __builtin_nan family of functions.
44182         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44183         Remove variables.
44184         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44185         Remove functions.
44186         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44187         storage class.  Initialize qNaN_var and sNaN_var with
44188         __builtin_nan and __builtin_nans families of functions,
44189         respectively.
44191         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44192         (sqrt_test): Remove duplicate test with qNaN input.
44193         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44194         (round_test, signbit_test, significand_test): Note missing +/-Inf
44195         as well as qNaN tests.
44197         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44198         qNaN_var.  Fix a few strings, too.
44199         * math/libm-test.inc (nan_value): Rename to qnan_value.
44200         * math/gen-libm-test.pl (%beautify): Adjust to that.
44201         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44202         * math/test-misc.c (main): Likewise.
44203         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44204         to __qnan_bytes, and __qnan_union, respectively.
44205         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44206         Likewise.
44207         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44208         and lqnanval, respectively.
44209         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44210         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44211         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44212         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44214         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44215         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44216         doubles.
44218         * math/test-misc.c (main): Fix copy'n'pastos.
44219         * misc/tst-efgcvt.c (special): Likewise.
44221         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44222         Remove declarations.
44224 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44226         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44227         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44228         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44229         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44231 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44233         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44234         macro to return vdso values correctly in IFUNC implementations.
44235         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44236         Optimization by using IFUNC.
44238 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44239             Richard Henderson  <rth@redhat.com>
44240             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44242         * Makefile.in (bench): New target.
44243         * NEWS: Mention the benchmark framework.
44244         * Rules (bench): Likewise.
44245         (binaries-bench): Generate binaries for functions to
44246         benchmark.
44247         * benchtests/Makefile: New makefile for benchmark tests.
44248         * benchtests/bench-skeleton.c: New skeleton file for benchmark
44249         programs.
44250         * benchtests/exp-inputs: New input file for EXP function.
44251         * benchtests/pow-inputs: New input file for POW function.
44252         * scripts/bench.pl: New script to generate source files for
44253         benchmark programs.
44255 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44257         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44258         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44259         computations on mantissa.  Use macros for rounding and
44260         division.
44261         (denorm): Likewise.
44262         (__dbl_mp): Likewise.
44263         (add_magnitudes): Likewise.
44264         (sub_magnitudes): Likewise.
44265         (__mul): Likewise.
44266         (__sqr): Likewise.
44267         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44268         powers of two in terms of TWOPOW macro.
44269         (mp_no): Make type of mantissa as MANTISSA_T.
44270         [!RADIXI]: Define RADIXI.
44271         [!TWO52]: Define TWO52.
44272         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44274         * manual/nptl.texi (cindex): Modify threads to pthreads.
44276 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
44278         * sysdeps/x86_64/preconfigure: Regenerated.
44280 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
44282         [BZ #14155]
44283         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44284         0x1p28 and above.
44285         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44286         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44287         0x1p28 and above.
44288         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44289         * math/libm-test.inc (j0_test): Do not allow one spurious
44290         underflow exception.
44291         (y1_test): Likewise.
44293 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44295         * manual/Makefile (chapters): Add nptl.
44296         * manual/debug.texi (Debugging Support): Add link to Threads
44297         chapter.
44298         * manual/nptl.texi: New file.
44300         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44302 2013-03-14  Petr Baudis  <pasky@ucw.cz>
44304         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44305         for non-NULL pointer before the memory validity test. Pointed
44306         out by Holger Brunck <holger.brunck@keymile.com>.
44308 2013-03-13  Andreas Schwab  <schwab@suse.de>
44310         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44311         instead of .os.
44313 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
44315         * timezone/zic.c: Update from tzcode 2013b.
44317 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
44319         * manual/install.texi (Configuring and compiling):
44320         Mention i686 and i586.
44321         * INSTALL: Regenerate.
44323 2013-03-12  Roland McGrath  <roland@hack.frob.com>
44325         * sysdeps/init_array/elf-init.c: New file.
44326         * csu/elf-init.c
44327         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44328         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44330         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44331         __gmon_start__ as global, but as static with a .preinit_array pointer.
44332         * sysdeps/init_array/gmon-start.c: New file.  Use that.
44333         * sysdeps/init_array/crti.S: New file, empty except for comments.
44334         * sysdeps/init_array/crtn.S: Likewise.
44336 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
44338         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44339         definining bcopy.
44340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44341         Remove Prefer_SSE_for_memop.
44342         * sysdeps/x86_64/multiarch/init-arch.h: Remove
44343         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44344         HAS_PREFER_SSE_FOR_MEMOP.
44345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44346         memset-x86-64.
44347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44348         Remove bzero, memset ifunc support.
44349         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44350         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44351         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44352         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44354 2013-03-11  Andreas Schwab  <schwab@suse.de>
44356         [BZ #15234]
44357         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44358         by SHLIB_COMPAT.
44359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44360         (GLIBC_2.16): Remove pthread_atfork.
44362 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
44364         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44365         (ptestcases.h): Likewise.
44367 2013-03-08  Roland McGrath  <roland@hack.frob.com>
44369         * Makeconfig ($(common-objpfx)config.status): Depend on
44370         sysdeps/*/preconfigure{,.in} too.
44372 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
44374         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44375         (__free_hook): Use void * instead of __malloc_ptr_t.
44376         (__malloc_hook): Likewise.
44377         (__realloc_hook): Likewise.
44378         (__memalign_hook): Likewise.
44379         (__after_morecore_hook): Likewise.
44380         * malloc/arena.c (save_malloc_hook): Likewise.
44381         (save_free_hook): Likewise.
44382         * malloc/hooks.c (malloc_hook_ini): Likewise.
44383         (realloc_hook_ini): Likewise.
44384         (memalign_hook_ini): Likewise.
44385         * malloc/malloc.c (malloc_hook_ini): Likewise.
44386         (realloc_hook_ini): Likewise.
44387         (memalign_hook_ini): Likewise.
44388         (__free_hook): Likewise.
44389         (__malloc_hook): Likewise.
44390         (__realloc_hook): Likewise.
44391         (__memalign_hook): Likewise.
44392         (__libc_malloc): Likewise.
44393         (__libc_free): Likewise.
44394         (__libc_realloc): Likewise.
44395         (__libc_memalign): Likewise.
44396         (__libc_valloc): Likewise.
44397         (__libc_pvalloc): Likewise.
44398         (__libc_calloc): Likewise.
44399         (__posix_memalign): Likewise.
44400         * malloc/morecore.c (__sbrk): Likewise.
44401         (__default_morecore): Likewise.
44403         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44405         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44406         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44407         __malloc_ptrdiff_t.
44409         * malloc/malloc.h (__malloc_size_t): Remove macro.
44410         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44411         __malloc_size_t.
44412         (old_memalign_hook): Likewise.
44413         (old_realloc_hook): Likewise.
44414         (struct hdr): Likewise.
44415         (flood): Likewise.
44416         (mallochook): Likewise.
44417         (memalignhook): Likewise.
44418         (reallochook): Likewise.
44419         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44420         (tr_old_realloc_hook): Likewise.
44421         (tr_old_memalign_hook): Likewise.
44422         (tr_mallochook): Likewise.
44423         (tr_reallochook): Likewise.
44424         (tr_memalignhook): Likewise.
44426 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44428         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44429         default_ldbl_pack and using as default implementation.
44430         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44431         implementation.
44432         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44433         redundant definition.
44434         (ldbl_insert_mantissa): Likewise.
44435         (ldbl_canonicalize): Likewise.
44436         (ldbl_nearbyint): Likewise.
44437         (ldbl_pack): Rename to ldbl_pack_ppc.
44438         (ldbl_unpack): Rename to ldbl_unpack_ppc.
44439         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44440         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44442 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44445         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44446         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44447         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44449         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44450         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44451         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44453 2013-03-07  Andreas Jaeger  <aj@suse.de>
44455         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44456         bits/mman-linux.h.
44458 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44460         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44461         Include mpa.h and declare __MPEXP.
44462         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44463         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44464         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44465         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44466         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44467         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44468         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44470         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44471         (__slowpow): Use long double EXPL and LOGL functions to
44472         compute POW.
44473         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44474         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44475         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44476         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44477         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44478         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44481         intermediate variable to calculate exponent.
44482         (__sqr): Likewise.
44483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44484         Likewise.
44485         (__sqr): Likewise.
44487         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44488         [!NO__SQR]: Define __sqr.
44489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44490         and NO__SQR.  Remove all code except __mul and __sqr.  Include
44491         sysdeps/ieee754/dbl-64/mpa.c.
44492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44494         [BZ #12723]
44495         * posix/Makefile (tests): Add tst-pathconf.
44496         * posix/tst-pathconf.c: New test case.
44497         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44498         _PC_PIPE_BUF.
44499         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44501 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
44503         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44505 2013-03-06  Andreas Jaeger  <aj@suse.de>
44507         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44508         definition via __MAP_ANONYMOUS.
44510         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44511         it's not part of Linux headers.
44513         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
44514         (MAP_HUGE_MASK): Define.
44516         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44517         Define.
44518         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44519         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44520         Define.
44521         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44522         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44523         Define.
44524         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44525         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
44526         Define.
44527         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44529         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
44530         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
44531         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
44532         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
44533         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
44534         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
44536         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44537         Handle f2fs.
44539         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44540         Handle f2fs and efivarfs.
44542         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
44543         f2fs.
44545         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
44546         (EFIVARFS_MAGIC): Add.
44547         (F2FS_LINK_MAX): Add.
44549 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44551         * stdio-common/vfprintf.c: Replace __builtin_expect with
44552         __glibc_unlikely.
44554 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
44556         [BZ #13550]
44557         * sysdeps/generic/bp-sym.h: Remove file.
44558         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
44559         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
44560         <bp-sym.h> and <bp-asm.h>.
44561         (__longjmp): Don't use BP_SYM.
44562         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
44563         and <bp-asm.h>.
44564         (memcpy): Don't use BP_SYM.
44565         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
44566         <bp-sym.h> and <bp-asm.h>.
44567         (memcpy): Don't use BP_SYM.
44568         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
44569         <bp-asm.h>.
44570         (memcpy): Don't use BP_SYM.
44571         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
44572         <bp-asm.h>.
44573         (memset): Don't use BP_SYM.
44574         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44575         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44576         (__bzero): Don't use BP_SYM.
44577         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44578         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44579         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
44580         <bp-sym.h> and <bp-asm.h>.
44581         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44582         pointers.
44583         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
44584         <bp-sym.h> and <bp-asm.h>.
44585         (memcpy): Don't use BP_SYM.
44586         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44587         <bp-sym.h> and <bp-asm.h>.
44588         (memset): Don't use BP_SYM.
44589         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44590         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44591         (__bzero): Don't use BP_SYM.
44592         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44593         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44594         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44595         <bp-sym.h> and <bp-asm.h>.
44596         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44597         pointers.
44598         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44599         <bp-sym.h> and <bp-asm.h>.
44600         (memcpy): Don't use BP_SYM.
44601         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44602         <bp-sym.h> and <bp-asm.h>.
44603         (memset): Don't use BP_SYM.
44604         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44605         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44606         (__bzero): Don't use BP_SYM.
44607         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44608         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44609         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44610         <bp-sym.h> and <bp-asm.h>.
44611         (__memchr): Don't use BP_SYM.
44612         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44613         <bp-sym.h> and <bp-asm.h>.
44614         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44615         pointers.
44616         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44617         <bp-sym.h> and <bp-asm.h>.
44618         (memcpy): Don't use BP_SYM.
44619         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44620         <bp-sym.h> and <bp-asm.h>.
44621         (__mempcpy): Don't use BP_SYM.
44622         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44623         <bp-sym.h> and <bp-asm.h>.
44624         (__memrchr): Don't use BP_SYM.
44625         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44626         <bp-sym.h> and <bp-asm.h>.
44627         (memset): Don't use BP_SYM.
44628         (__bzero): Likewise.
44629         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44630         <bp-sym.h> and <bp-asm.h>.
44631         (__rawmemchr): Don't use BP_SYM.
44632         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44633         <bp-sym.h> and <bp-asm.h>.
44634         (__STRCMP): Don't use BP_SYM.
44635         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44636         <bp-sym.h> and <bp-asm.h>.
44637         (strchr): Don't use BP_SYM.
44638         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44639         <bp-sym.h> and <bp-asm.h>.
44640         (__strchrnul): Don't use BP_SYM.
44641         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
44642         <bp-sym.h> and <bp-asm.h>.
44643         (strlen): Don't use BP_SYM.
44644         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
44645         <bp-sym.h> and <bp-asm.h>.
44646         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44647         pointers.
44648         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
44649         <bp-sym.h> and <bp-asm.h>.
44650         (__strnlen): Don't use BP_SYM.
44651         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
44652         <bp-sym.h> and <bp-asm.h>.
44653         (__GI__setjmp): Don't use BP_SYM.
44654         (_setjmp): Likewise.
44655         (__sigsetjmp): Likewise.
44656         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
44657         (L(start_addresses)): Don't use BP_SYM.
44658         (_start): Likewise.
44659         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
44660         <bp-asm.h>.
44661         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
44662         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
44663         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44664         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44665         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
44666         <bp-asm.h>.
44667         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
44668         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
44669         about bounded pointers.
44670         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44671         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44672         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
44673         <bp-asm.h>.
44674         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44675         about bounded pointers.  Remove GKM FIXME comments.
44676         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44677         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
44678         <bp-asm.h>.
44679         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
44680         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
44681         Remove GKM FIXME comments.
44682         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44683         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44684         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
44685         <bp-asm.h>.
44686         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44687         about bounded pointers.  Remove GKM FIXME comment.
44688         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
44689         and <bp-asm.h>.
44690         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44691         pointers.
44692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
44693         <bp-sym.h> and <bp-asm.h>.
44694         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
44696         <bp-sym.h> and <bp-asm.h>.
44697         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44698         comment.
44700 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44702         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44703         call free(NULL).
44705 2013-03-05  David S. Miller  <davem@davemloft.net>
44707         * po/es.po: Update from translation team.
44709 2013-03-05  Andreas Jaeger  <aj@suse.de>
44711         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44712         <bits/mman-linux.h>.
44713         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44714         is fine.
44715         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44716         <bits/mman-linux.h> to end of file.
44717         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44718         is fine.
44719         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44720         <bits/mman-linux.h> to end of file.
44721         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44722         is fine.
44723         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44724         <bits/mman-linux.h> to end of file.
44726         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44727         (MCL_CURRENT, MCL_FUTURE): Define here.
44729 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44731         [BZ #15232]
44732         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44733         attribute_hidden.
44734         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44736 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44738         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44739         fourth parameter needed for rt_sigprocmask syscall.
44740         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44741         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44742         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44743         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44744         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44745         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44747 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44749         [BZ #13550]
44750         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44751         comment about bounded pointers.
44752         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44753         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44755 2013-03-04  Andreas Jaeger  <aj@suse.de>
44757         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44758         common definitions.
44760         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44761         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44762         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44763         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44764         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44765         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44767 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44769         [BZ #15055]
44770         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44771         __ieee754_sqrl instead of __sqrl.
44773 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44775         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44776         * sysdeps/powerpc/fpu_control.h: ... here.
44777         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44778         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44779         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44780         * sysdeps/powerpc/bits/mathinline.h: ... here.
44782 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44784         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44785         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44786         to just [NEED_DL_SYSINFO_DSO].
44787         * elf/dl-support.c: Likewise.
44788         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44789         * elf/rtld.c (dl_main): Likewise.
44790         * elf/setup-vdso.h (setup_vdso): Likewise.
44791         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44792         * sysdeps/unix/sysv/linux/dl-sysdep.c
44793         (_dl_discover_osversion): Likewise.
44795 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44797         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44798         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44800 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44802         * NEWS: Mention libm performance improvements and non-x86 PI
44803         futex support.
44805         * csu/libc-start.c (__pthread_initialize_minimal): Change
44806         function arguments.
44807         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44809 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44811         [BZ #13550]
44812         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44813         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44814         <bp-sym.h> and <bp-asm.h>.
44815         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44816         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44817         and <bp-asm.h>.
44818         (memcpy): Don't use BP_SYM.
44819         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44820         <bp-asm.h>.
44821         (__mpn_add_n): Don't use BP_SYM.
44822         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44823         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44824         and <bp-asm.h>.
44825         (__mpn_addmul_1): Don't use BP_SYM.
44826         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44827         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44828         <bp-sym.h>.
44829         (_setjmp): Don't use BP_SYM.
44830         (__novmx_setjmp): Likewise.
44831         (__GI__setjmp): Likewise.
44832         (__vmx_setjmp): Likewise.
44833         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44834         <bp-sym.h>.
44835         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44836         (__bzero): Don't use BP_SYM.
44837         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44838         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44839         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44840         <bp-sym.h> and <bp-asm.h>.
44841         (memcpy): Don't use BP_SYM.
44842         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44843         <bp-sym.h> and <bp-asm.h>.
44844         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44845         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44846         <bp-sym.h> and <bp-asm.h>.
44847         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44848         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44849         <bp-asm.h>.
44850         (__mpn_lshift): Don't use BP_SYM.
44851         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44852         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44853         <bp-asm.h>.
44854         (memset): Don't use BP_SYM.
44855         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44856         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44857         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44858         <bp-asm.h>.
44859         (__mpn_mul_1): Don't use BP_SYM.
44860         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44861         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44862         <bp-sym.h> and <bp-asm.h>.
44863         (memcmp): Don't use BP_SYM.
44864         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44865         <bp-sym.h> and <bp-asm.h>.
44866         (memcpy): Don't use BP_SYM.
44867         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44868         <bp-sym.h> and <bp-asm.h>.
44869         (memset): Don't use BP_SYM.
44870         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44871         <bp-sym.h> and <bp-asm.h>.
44872         (strncmp): Don't use BP_SYM.
44873         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44874         <bp-sym.h> and <bp-asm.h>.
44875         (memcpy): Don't use BP_SYM.
44876         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44877         <bp-sym.h> and <bp-asm.h>.
44878         (memset): Don't use BP_SYM.
44879         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44880         <bp-sym.h> and <bp-asm.h>.
44881         (__memchr): Don't use BP_SYM.
44882         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44883         <bp-sym.h> and <bp-asm.h>.
44884         (memcmp): Don't use BP_SYM.
44885         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44886         <bp-sym.h> and <bp-asm.h>.
44887         (memcpy): Don't use BP_SYM.
44888         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44889         <bp-sym.h> and <bp-asm.h>.
44890         (__mempcpy): Don't use BP_SYM.
44891         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44892         <bp-sym.h> and <bp-asm.h>.
44893         (__memrchr): Don't use BP_SYM.
44894         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44895         <bp-sym.h> and <bp-asm.h>.
44896         (memset): Don't use BP_SYM.
44897         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44898         <bp-sym.h> and <bp-asm.h>.
44899         (__rawmemchr): Don't use BP_SYM.
44900         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44901         <bp-sym.h> and <bp-asm.h>.
44902         (__STRCMP): Don't use BP_SYM.
44903         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44904         <bp-sym.h> and <bp-asm.h>.
44905         (strchr): Don't use BP_SYM.
44906         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44907         <bp-sym.h> and <bp-asm.h>.
44908         (__strchrnul): Don't use BP_SYM.
44909         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44910         <bp-sym.h> and <bp-asm.h>.
44911         (strlen): Don't use BP_SYM.
44912         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44913         <bp-sym.h> and <bp-asm.h>.
44914         (strncmp): Don't use BP_SYM.
44915         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44916         <bp-sym.h> and <bp-asm.h>.
44917         (__strnlen): Don't use BP_SYM.
44918         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44919         <bp-asm.h>.
44920         (__mpn_rshift): Don't use BP_SYM.
44921         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44922         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44923         <bp-sym.h> and <bp-asm.h>.
44924         (__sigsetjmp): Don't use BP_SYM.
44925         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44926         (L(start_addresses)): Don't use BP_SYM.
44927         (_start): Likewise.
44928         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44929         <bp-asm.h>.
44930         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44931         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44932         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44933         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44934         <bp-asm.h>.
44935         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44936         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44937         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44938         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44939         <bp-asm.h>.
44940         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44941         comments.
44942         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44943         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44944         <bp-asm.h>.
44945         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44946         FIXME comments.
44947         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44948         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44949         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44950         <bp-asm.h>.
44951         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44952         comment.
44953         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44954         and <bp-asm.h>.
44955         (strncmp): Don't use BP_SYM,
44956         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44957         <bp-asm.h>.
44958         (__mpn_sub_n): Don't use BP_SYM.
44959         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44960         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44961         and <bp-asm.h>.
44962         (__mpn_submul_1): Don't use BP_SYM.
44963         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44965         <bp-sym.h> and <bp-asm.h>.
44966         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44968         <bp-sym.h> and <bp-asm.h>.
44969         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44970         comment.
44972 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44975         Use ZK to minimize writes to Z.
44976         (sub_magnitudes): Simplify code a bit.
44977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44978         Use ZK to minimize writes to Z.
44979         (sub_magnitudes): Simplify code a bit.
44981 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44983         * csu/gmon-start.c: Add special exception to license text.
44985 2013-02-27  Richard Henderson  <rth@redhat.com>
44987         * scripts/config.guess: Update from config.git.
44988         * scripts/config.sub: Likewise.
44990 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44992         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44994         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44996         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44998         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45000         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45002 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45004         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45005         [$(build-shared = yes].
45007 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45009         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45010         (__mul): Reduce iterations for calculating mantissa.
45012         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45013         MPTWO.
45014         (__mpranred): Likewise.
45016         [BZ #15160]
45017         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45018         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45020 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45022         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45023         Define __attribute__.
45025 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45027         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45028         unused.
45029         * posix/regex_internal.h (__attribute): Remove.
45030         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45031         (re_string_context_at): Likewise.
45032         (bitset_not): Use __attribute__ and mark function as possibly
45033         unused.
45034         (bitset_merge): Likewise.
45035         (bitset_mask): Likewise.
45036         (re_string_char_size_at): Likewise.
45037         (re_string_wchar_at): Likewise.
45038         (re_string_elem_size_at): Likewise.
45040 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45042         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45043         code.
45044         (cc32): Likewise.
45046         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45047         (__acr): Likewise.
45048         (__cpy): Likewise.
45049         (norm): Likewise.
45050         (denorm): Likewise.
45051         (__dbl_mp): Likewise.
45052         (add_magnitudes): Likewise.
45053         (sub_magnitudes): Likewise.
45054         (__mul): Likewise.
45055         (__inv): Likewise.
45057         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45058         style.
45060         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45061         style.
45063         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45064         code.
45066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45067         up changes with default code.
45068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45069         Likewise.
45071 2013-02-24  Allan McRae  <allan@archlinux.org>
45073         * manual/socket.texi (The Internet Namespace): Order menu items
45074         to match that in the file.
45076         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45077         node listing of the info page menu.
45079 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45081         [BZ #13550]
45082         * sysdeps/i386/bp-asm.h: Remove file.
45083         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45084         (PARMS): Do not use macros from bp-asm.h.
45085         (S1): Likewise.
45086         (S2): Likewise.
45087         (SIZE): Likewise.
45088         (__mpn_add_n): Do not use BP_SYM
45089         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45090         "bp-asm.h".
45091         (PARMS): Do not use macros from bp-asm.h.
45092         (S1): Likewise.
45093         (SIZE): Likewise.
45094         (__mpn_addmul_1): Do not use BP_SYM
45095         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45096         "bp-asm.h".
45097         (PARMS): Do not use macros from bp-asm.h.
45098         (SIGMSK): Likewise.
45099         (_setjmp): Likewise.  Do not use BP_SYM.
45100         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45101         "bp-asm.h".
45102         (PARMS): Do not use macros from bp-asm.h.
45103         (SIGMSK): Likewise.
45104         (setjmp): Likewise.  Do not use BP_SYM.
45105         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45106         "bp-asm.h".
45107         (PARMS): Do not use macros from bp-asm.h.
45108         (__frexp): Do not use BP_SYM.
45109         (frexp): Likewise.
45110         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45111         "bp-asm.h".
45112         (PARMS): Do not use macros from bp-asm.h.
45113         (__frexpf): Do not use BP_SYM.
45114         (frexpf): Likewise.
45115         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45116         "bp-asm.h".
45117         (PARMS): Do not use macros from bp-asm.h.
45118         (__frexpl): Do not use BP_SYM.
45119         (frexpl): Likewise.
45120         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45121         "bp-asm.h".
45122         (PARMS): Do not use macros from bp-asm.h.
45123         (__remquo): Do not use BP_SYM.
45124         (remquo): Likewise.
45125         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45126         "bp-asm.h".
45127         (PARMS): Do not use macros from bp-asm.h.
45128         (__remquof): Do not use BP_SYM.
45129         (remquof): Likewise.
45130         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45131         "bp-asm.h".
45132         (PARMS): Do not use macros from bp-asm.h.
45133         (__remquol): Do not use BP_SYM.
45134         (remquol): Likewise.
45135         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45136         "bp-asm.h".
45137         (PARMS): Do not use macros from bp-asm.h.
45138         (DEST): Likewise.
45139         (SRC): Likewise.
45140         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45141         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45142         "bp-asm.h".
45143         (PARMS): Do not use macros from bp-asm.h.
45144         (strlen): Do not use BP_SYM.
45145         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45146         "bp-asm.h".
45147         (PARMS): Do not use macros from bp-asm.h.
45148         (S1): Likewise.
45149         (S2): Likewise.
45150         (SIZE): Likewise.
45151         (__mpn_add_n): Do not use BP_SYM.
45152         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45153         "bp-asm.h".
45154         (PARMS): Do not use macros from bp-asm.h.
45155         (S1): Likewise.
45156         (SIZE): Likewise.
45157         (__mpn_addmul_1): Do not use BP_SYM.
45158         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45159         weak_alias.
45160         (bzero): Likewise.
45161         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45162         "bp-asm.h".
45163         (PARMS): Do not use macros from bp-asm.h.
45164         (S): Likewise.
45165         (SIZE): Likewise.
45166         (__mpn_lshift): Do not use BP_SYM.
45167         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45168         "bp-asm.h".
45169         (PARMS): Do not use macros from bp-asm.h.
45170         (DEST): Likewise.
45171         (SRC): Likewise.
45172         (LEN): Likewise.
45173         (memcpy): Likewise.  Do not use BP_SYM.
45174         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45175         libc_hidden_def and weak_alias.
45176         (mempcpy): Do not use BP_SYM in weak_alias.
45177         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45178         "bp-asm.h".
45179         (PARMS): Do not use macros from bp-asm.h.
45180         (DEST): Likewise.
45181         (LEN): Likewise.
45182         [!BZERO_P] (CHR): Likewise.
45183         (memset): Likewise.  Do not use BP_SYM.
45184         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45185         "bp-asm.h".
45186         (PARMS): Do not use macros from bp-asm.h.
45187         (S1): Likewise.
45188         (SIZE): Likewise.
45189         (__mpn_mul_1): Do not use BP_SYM.
45190         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45191         "bp-asm.h".
45192         (PARMS): Do not use macros from bp-asm.h.
45193         (S): Likewise.
45194         (SIZE): Likewise.
45195         (__mpn_rshift): Do not use BP_SYM.
45196         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45197         "bp-asm.h".
45198         (PARMS): Do not use macros from bp-asm.h.
45199         (STR): Likewise.
45200         (CHR): Likewise.
45201         (strchr): Likewise.  Do not use BP_SYM.
45202         (index): Do not use BP_SYM in weak_alias.
45203         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45204         "bp-asm.h".
45205         (PARMS): Do not use macros from bp-asm.h.
45206         (DEST): Likewise.
45207         (SRC): Likewise.
45208         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45209         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45210         "bp-asm.h".
45211         (PARMS): Do not use macros from bp-asm.h.
45212         (strlen): Do not use BP_SYM.
45213         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45214         "bp-asm.h".
45215         (PARMS): Do not use macros from bp-asm.h.
45216         (S1): Likewise.
45217         (S2): Likewise.
45218         (SIZE): Likewise.
45219         (__mpn_sub_n): Do not use BP_SYM.
45220         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45221         "bp-asm.h".
45222         (PARMS): Do not use macros from bp-asm.h.
45223         (S1): Likewise.
45224         (SIZE): Likewise.
45225         (__mpn_submul_1): Do not use BP_SYM.
45226         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45227         "bp-asm.h".
45228         (PARMS): Do not use macros from bp-asm.h.
45229         (S1): Likewise.
45230         (S2): Likewise.
45231         (SIZE): Likewise.
45232         (__mpn_add_n): Do not use BP_SYM.
45233         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45234         weak_alias.
45235         (bzero): Likewise.
45236         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45237         "bp-asm.h".
45238         (PARMS): Do not use macros from bp-asm.h.
45239         (BLK2): Likewise.
45240         (LEN): Likewise.
45241         (memcmp): Do not use BP_SYM.
45242         (bcmp): Do not use BP_SYM in weak_alias.
45243         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45244         "bp-asm.h".
45245         (PARMS): Do not use macros from bp-asm.h.
45246         (DEST): Likewise.
45247         (SRC): Likewise.
45248         (LEN): Likewise.
45249         (memcpy): Likewise.  Do not use BP_SYM.
45250         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45251         "bp-asm.h".
45252         (PARMS): Do not use macros from bp-asm.h.
45253         (DEST): Likewise.
45254         (SRC): Likewise.
45255         (LEN): Likewise.
45256         (memmove): Likewise.  Do not use BP_SYM.
45257         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45258         "bp-asm.h".
45259         (PARMS): Do not use macros from bp-asm.h.
45260         (DEST): Likewise.
45261         (SRC): Likewise.
45262         (LEN): Likewise.
45263         (__mempcpy): Likewise.  Do not use BP_SYM.
45264         (mempcpy): Do not use BP_SYM in weak_alias.
45265         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45266         "bp-asm.h".
45267         (PARMS): Do not use macros from bp-asm.h.
45268         (DEST): Likewise.
45269         (LEN): Likewise.
45270         [!BZERO_P] (CHR): Likewise.
45271         (memset): Likewise.  Do not use BP_SYM.
45272         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45273         "bp-asm.h".
45274         (PARMS): Do not use macros from bp-asm.h.
45275         (STR2): Likewise.
45276         (strcmp): Do not use BP_SYM.
45277         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45278         "bp-asm.h".
45279         (PARMS): Do not use macros from bp-asm.h.
45280         (STR): Likewise.
45281         (DELIM): Likewise.
45282         [USE_AS_STRTOK_R] (SAVE): Likewise.
45283         (FUNCTION): Likewise.  Do not use BP_SYM.
45284         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45285         aliases.
45286         (strtok_r): Likewise.
45287         (__GI___strtok_r): Likewise.
45288         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45289         (PARMS): Do not use macros from bp-asm.h.
45290         (S): Likewise.
45291         (SIZE): Likewise.
45292         (__mpn_lshift): Do not use BP_SYM.
45293         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45294         (PARMS): Do not use macros from bp-asm.h.
45295         (STR): Likewise.
45296         (CHR): Likewise.
45297         (__memchr): Do not use BP_SYM.
45298         (memchr): Do not use BP_SYM in weak_alias.
45299         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45300         (PARMS): Do not use macros from bp-asm.h.
45301         (BLK2): Likewise.
45302         (LEN): Likewise.
45303         (memcmp): Do not use BP_SYM.
45304         (bcmp): Do not use BP_SYM in weak_alias.
45305         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45306         (PARMS): Do not use macros from bp-asm.h.
45307         (S1): Likewise.
45308         (SIZE): Likewise.
45309         (__mpn_mul_1): Do not use BP_SYM.
45310         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45311         "bp-asm.h".
45312         (PARMS): Do not use macros from bp-asm.h.
45313         (STR): Likewise.
45314         (CHR): Likewise.
45315         (__rawmemchr): Do not use BP_SYM.
45316         (rawmemchr): Do not use BP_SYM in weak_alias.
45317         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45318         (PARMS): Do not use macros from bp-asm.h.
45319         (S): Likewise.
45320         (SIZE): Likewise.
45321         (__mpn_rshift): Do not use BP_SYM.
45322         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45323         (PARMS): Do not use macros from bp-asm.h.
45324         (SIGMSK): Likewise.
45325         (__sigsetjmp): Likewise.  Do not use BP_SYM.
45326         * sysdeps/i386/start.S: Do not include "bp-sym.h".
45327         (_start): Do not use BP_SYM.
45328         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45329         (PARMS): Do not use macros from bp-asm.h.
45330         (DEST): Likewise.
45331         (SRC): Likewise.
45332         (__stpcpy): Likewise.  Do not use BP_SYM.
45333         (stpcpy): Do not use BP_SYM in weak_alias.
45334         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45335         "bp-asm.h".
45336         (PARMS): Do not use macros from bp-asm.h.
45337         (DEST): Likewise.
45338         (SRC): Likewise.
45339         (LEN): Likewise.
45340         (__stpncpy): Likewise.  Do not use BP_SYM.
45341         (stpncpy): Do not use BP_SYM in weak_alias.
45342         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45343         (PARMS): Do not use macros from bp-asm.h.
45344         (STR): Likewise.
45345         (CHR): Likewise.
45346         (strchr): Likewise.  Do not use BP_SYM.
45347         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45348         "bp-asm.h".
45349         (PARMS): Do not use macros from bp-asm.h.
45350         (STR): Likewise.
45351         (CHR): Likewise.
45352         (__strchrnul): Likewise.  Do not use BP_SYM.
45353         (strchrnul): Do not use BP_SYM in weak_alias.
45354         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45355         "bp-asm.h".
45356         (PARMS): Do not use macros from bp-asm.h.
45357         (STOP): Likewise.
45358         (strcspn): Do not use BP_SYM.
45359         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45360         "bp-asm.h".
45361         (PARMS): Do not use macros from bp-asm.h.
45362         (STR): Likewise.
45363         (STOP): Likewise.
45364         (strpbrk): Likewise.  Do not use BP_SYM.
45365         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45366         "bp-asm.h".
45367         (PARMS): Do not use macros from bp-asm.h.
45368         (STR): Likewise.
45369         (CHR): Likewise.
45370         (strrchr): Likewise.  Do not use BP_SYM.
45371         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45372         (PARMS): Do not use macros from bp-asm.h.
45373         (SKIP): Likewise.
45374         (strspn): Do not use BP_SYM.
45375         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45376         (PARMS): Do not use macros from bp-asm.h.
45377         (STR): Likewise.
45378         (DELIM): Likewise.
45379         (SAVE): Likewise.
45380         (FUNCTION): Likewise.  Do not use BP_SYM.
45381         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45382         aliases.
45383         (strtok_r): Likewise.
45384         (__GI___strtok_r): Likewise.
45385         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45386         (PARMS): Do not use macros from bp-asm.h.
45387         (S1): Likewise.
45388         (S2): Likewise.
45389         (SIZE): Likewise.
45390         (__mpn_sub_n): Do not use BP_SYM.
45391         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45392         "bp-asm.h".
45393         (PARMS): Do not use macros from bp-asm.h.
45394         (S1): Likewise.
45395         (SIZE): Likewise.
45396         (__mpn_submul_1): Do not use BP_SYM.
45397         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45398         <bp-sym.h>.
45399         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45400         and <bp-asm.h>.
45401         (PARMS): Do not use macros from bp-asm.h.
45402         (FLAGS): Likewise.
45403         (PTID): Likewise.
45404         (TLS): Likewise.
45405         (CTID): Likewise.
45406         (__clone): Do not use BP_SYM.
45407         (clone): Do not use BP_SYM in weak_alias.
45408         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45409         and <bp-asm.h>.
45410         (PARMS): Do not use macros from bp-asm.h.
45411         (LEN): Likewise.
45412         (__mmap64): Do not use BP_SYM.
45413         (mmap64): Do not use BP_SYM in weak_alias.
45414         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45415         <bp-sym.h> and <bp-asm.h>.
45416         (PARMS): Do not use macros from bp-asm.h.
45417         (__posix_fadvise64_l64): Do not use BP_SYM.
45418         * sysdeps/unix/sysv/linux/i386/semtimedop.S
45419         (PARMS): Do not use macros from bp-asm.h.
45420         (NSOPS): Likewise.
45421         (semtimedop): Do not use BP_SYM.
45422         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45423         and <bp-asm.h>.
45425 2013-02-21  Allan McRae  <allan@archlinux.org>
45427         * manual/message.texi (Charset conversion in gettext):
45428         Move @end statement to beginning of line.
45430 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45433         static.
45434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45435         Likewise.
45437         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45438         (denorm): Likewise.
45439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45442 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45444         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45445         tail-call to the resolved function if pltexit isn't needed.
45447 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45450         or Y being zero as being unlikely.
45451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45452         Likewise.
45454 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
45456         * manual/nss.texi (System Databases and Name Service Switch):
45457         Remove frobnicate @pxref.
45459 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45461         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45462         __attribute__ ((unused)) to __attribute__ ((__unused__)).
45464 2013-02-20  Petr Machata  <pmachata@redhat.com>
45466         * elf/elf.h (R_ARM_TARGET1): New macro.
45467         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45468         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45469         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45470         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45471         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45472         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45473         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45474         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45475         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45476         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45477         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45478         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45479         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45480         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45481         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45482         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45483         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45484         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45485         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45486         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45487         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45488         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45489         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45490         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45491         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45492         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45493         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45494         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45495         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45496         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45497         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45498         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45499         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45500         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45501         (R_ARM_THM_GOT_BREL12): Likewise.
45502         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45503         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45504         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45505         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45506         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45507         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45508         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45509         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45510         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45512 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45514         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45515         __attribute_used__ to __attribute__ ((unused)).
45517 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45519         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
45520         powerpc mpa.c.
45521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
45522         comment formatting.
45523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
45525 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
45527         [BZ #13550]
45528         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
45529         Remove macro.
45530         (ENTER): Remove both macro definitions.
45531         (LEAVE): Likewise.
45532         (CHECK_BOUNDS_LOW): Likewise.
45533         (CHECK_BOUNDS_HIGH): Likewise.
45534         (CHECK_BOUNDS_BOTH): Likewise.
45535         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
45536         (RETURN_BOUNDED_POINTER): Likewise.
45537         (RETURN_NULL_BOUNDED_POINTER): Likewise.
45538         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
45539         (POP_ERRNO_LOCATION_RETURN): Likewise.
45540         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
45541         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45542         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
45543         macros.
45544         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45545         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
45546         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
45547         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
45548         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
45549         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
45550         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
45551         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
45552         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
45553         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
45554         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
45555         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
45556         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45557         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
45558         removed macros.
45559         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45560         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
45561         macros.
45562         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45563         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
45564         * sysdeps/i386/i586/memset.S (memset): Likewise.
45565         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
45566         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45567         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
45568         macros.
45569         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45570         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
45571         Change uses of L(2) to L(out).
45572         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
45573         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
45574         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
45575         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45576         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
45577         removed macros.
45578         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45579         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
45580         macros.
45581         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45582         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
45583         (RETURN): Do not use macro LEAVE.
45584         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45585         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45586         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45587         * sysdeps/i386/i686/memset.S (memset): Likewise.
45588         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45589         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45590         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45591         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45592         Likewise.
45593         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45594         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
45595         L(1_2) and L(1_3) into L(1).
45596         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45597         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45598         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45599         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45600         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45601         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45602         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45603         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45604         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45605         macros.
45606         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45607         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45608         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45609         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45610         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45611         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45612         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45613         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45614         * sysdeps/i386/strcspn.S (strcspn): Likewise.
45615         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45616         * sysdeps/i386/strrchr.S (strrchr): Likewise.
45617         * sysdeps/i386/strspn.S (strspn): Likewise.
45618         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45619         conditional code.
45620         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45621         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45622         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45623         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
45624         L(1_3) into L(1_1).
45625         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45626         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45627         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45628         macros.
45629         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45631 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
45633         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45634         macro.
45636 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45638         * math/atest-exp.c (exp_mpn): Remove ROUND.
45639         * math/atest-exp2.c (exp_mpn): Likewise.
45640         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
45642         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
45643         * stdlib/tst-tls-atexit-lib.c: Likewise.
45644         * stdlib/tst-tls-atexit.c: Likewise.
45646 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45648         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
45649         and __attribute_alloc_size__.
45651 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45653         * include/programs/xmalloc.h: Change __attribute_alloc_size to
45654         __attribute_alloc_size__.
45655         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
45656         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
45658 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45660         * include/programs/xmalloc.h: New file.
45661         * catgets/gencat.c: Include it.
45662         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
45663         * elf/pldd.c: Likewise.
45664         * iconv/iconv_charmap.c: Likewise.
45665         * iconv/iconvconfig.c: Likewise.
45666         * iconv/strtab.c: Likewise.
45667         * locale/programs/locale.c: Likewise.
45668         * locale/programs/localedef.h: Likewise.
45669         * locale/programs/simple-hash.c: Likewise.
45670         * nscd/nscd.h: Likewise.
45671         * nss/makedb.c: Likewise.
45672         * sysdeps/generic/ldconfig.h: Likewise.
45674 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45676         * Versions.def: Add GLIBC_2.18.
45677         * include/link.h (struct link_map): New member l_tls_dtor_count.
45678         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
45679         (__call_tls_dtors): Likewise.
45680         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
45681         __cxa_thread_atexit_impl.
45682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45683         Likewise.
45684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45685         Likewise.
45686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45687         Likewise.
45688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45689         Likewise.
45690         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
45692         Likewise.
45693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
45694         Likewise.
45695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45697         Likewise.
45698         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
45699         (tests): Add test case tst-tls-atexit.
45700         (modules-names): Add shared library for tst-tls-atexit.
45701         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45702         (GLIBC_PRIVATE): Add __call_tls_dtors.
45703         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45704         for libstdc++.
45705         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45706         * stdlib/tst-tls-atexit.c: New test case.
45707         * stdlib/tst-tls-atexit-lib.c: New test case.
45709         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45711         * elf/Versions (ld): Add _dl_find_dso_for_object.
45712         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45713         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45714         (dl_open_worker): Use _dl_find_dso_for_object.
45715         * elf/dl-sym.c (do_sym): Likewise.
45716         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45718 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45720         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45721         Syntactic changes only.
45722         (_dl_runtime_profile): Do a tail-call to the resolved function.
45724 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45726         [BZ #13550]
45727         * sysdeps/x86_64/bp-asm.h: Remove file.
45728         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45729         <bp-sym.h> and <bp-asm.h>.
45730         (__clone): Do not use BP_SYM.
45731         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45732         <bp-sym.h> and <bp-asm.h>.
45733         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45734         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45735         "bp-asm.h".
45736         (_setjmp): Do not use BP_SYM.
45737         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45738         "bp-asm.h".
45739         (setjmp): Do not use BP_SYM.
45740         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45741         libc_hidden_def.
45742         (mempcpy): Do not use BP_SYM in weak_alias.
45743         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45744         "bp-asm.h".
45745         (strchr): Do not use BP_SYM.
45746         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45747         "bp-asm.h".
45748         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45749         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45750         (_start): Do not use BP_SYM.
45751         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45752         "bp-asm.h".
45753         (strcat): Do not use BP_SYM.
45754         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45755         "bp-asm.h".
45756         (STRCMP): Do not use BP_SYM.
45757         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45758         "bp-asm.h".
45759         (STRCPY): Do not use BP_SYM.
45760         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45761         "bp-asm.h".
45762         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45763         "bp-asm.h".
45764         (FUNCTION): Do not use BP_SYM.
45765         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45766         weak_alias.
45767         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45769 2013-02-17  Andreas Jaeger  <aj@suse.de>
45771         * time/Versions: Sort entries.
45772         * string/Versions: Likewise.
45773         * resolv/Versions: Likewise.
45774         * posix/Versions: Likewise.
45775         * iconv/Versions: Likewise.
45776         * elf/Versions: Likewise.
45777         * wcsmbs/Versions: Likewise.
45779 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45781         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45782         loop termination condition.
45784         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45785         variable to calculate EZ.
45786         (__sqr): Likewise.
45788         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45789         the lower precision input.
45791 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45793         [BZ #13550]
45794         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45795         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45796         (run-via-rtld-prefix): Do not handle %-bp tests.
45797         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45798         (all-object-suffixes): Remove .ob.
45799         (bppfx): Remove variable.
45800         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45801         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45802         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45803         [$(build-bounded) = yes] (libtype.ob): Likewise.
45804         * Makerules (elide-routines.ob): Remove variable.
45805         (do-tests-clean): Do not handle *-bp.out.
45806         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45807         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45808         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45809         (tests): Do not include $(tests-bp.out).
45810         (xtests): Do not include $(xtests-bp.out).
45811         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45812         [$(build-bounded) = yes] ($(addprefix
45813         $(objpfx),$(binaries-bounded))): Remove rule.
45814         ($(objpfx)%-bp.out): Remove rule.
45815         * config.make.in (build-bounded): Remove variable.
45816         * crypt/Makefile [$(build-bounded) = yes]
45817         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45818         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45819         append to variable.
45820         [$(build-bounded) = yes] (install-lib): Likewise.
45821         [$(build-bounded) = yes] (generated): Likewise.
45822         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45823         Remove rule.
45824         * intl/Makefile [$(build-bounded) = yes]
45825         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45826         * math/Makefile [$(build-bounded) = yes]
45827         ($(tests:%=$(objpfx)%-bp): Likewise.
45828         * misc/Makefile [$(build-bounded) = yes]
45829         ($(objpfx)tst-tsearch-bp): Likewise.
45830         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45831         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45832         Remove dependency.
45833         * string/Makefile (o-objects.ob): Remove variable.
45834         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45835         (CFLAGS-.ob): Remove variable.
45836         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45837         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45838         both definitions of variable.
45839         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45840         (ASFLAGS-.ob): Remove variable.
45842 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45844         [BZ #13550]
45845         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45846         Remove __BOUNDED_POINTERS__ from condition.
45847         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45848         * string/bits/string2.h [!__NO_STRING_INLINES &&
45849         !__BOUNDED_POINTERS__]: Likewise.
45850         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45851         Likewise.
45852         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45853         Remove conditional code.
45854         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45855         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45856         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45857         condition.
45859         [BZ #13550]
45860         * csu/libc-start.c: Do not include <bp-sym.h>.
45861         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45862         * elf/dl-open.c: Do not include <bp-sym.h>.
45863         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45864         * math/fegetenv.c: Do not include <bp-sym.h>.
45865         (fegetenv): Do not use BP_SYM in versioned symbols.
45866         * nptl/sysdeps/pthread/bits/libc-lockP.h
45867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45868         <bp-sym.h>.
45869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45870         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45872         (__pthread_mutex_destroy): Likewise.
45873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45874         (__pthread_mutex_lock): Likewise.
45875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45876         (__pthread_mutex_trylock): Likewise.
45877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45878         (__pthread_mutex_unlock): Likewise.
45879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45880         (__pthread_mutexattr_init): Likewise.
45881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45882         (__pthread_mutexattr_destroy): Likewise.
45883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45884         (__pthread_mutexattr_settype): Likewise.
45885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45886         (__pthread_rwlock_init): Likewise.
45887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45888         (__pthread_rwlock_destroy): Likewise.
45889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45890         (__pthread_rwlock_rdlock): Likewise.
45891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45892         (__pthread_rwlock_tryrdlock): Likewise.
45893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45894         (__pthread_rwlock_wrlock): Likewise.
45895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45896         (__pthread_rwlock_trywrlock): Likewise.
45897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45898         (__pthread_rwlock_unlock): Likewise.
45899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45900         (__pthread_key_create): Likewise.
45901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45902         (__pthread_setspecific): Likewise.
45903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45904         (__pthread_getspecific): Likewise.
45905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45906         Likewise.
45907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45908         (_pthread_cleanup_push_defer): Likewise.
45909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45910         (_pthread_cleanup_pop_restore): Likewise.
45911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45912         (pthread_setcancelstate): Likewise.
45913         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45914         <bp-sym.h>.
45915         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45916         (memchr): Do not use BP_SYM in weak_alias.
45917         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45918         (fegetenv): Do not use BP_SYM in versioned symbols.
45919         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45920         (fesetenv): Do not use BP_SYM in versioned symbols.
45921         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45922         (feupdateenv): Do not use BP_SYM in versioned symbols.
45923         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45924         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45925         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45926         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45927         (open64): Do not use BP_SYM in weak_alias.
45928         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45929         (fegetenv): Do not use BP_SYM in versioned symbols.
45930         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45931         (fesetenv): Do not use BP_SYM in versioned symbols.
45932         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45933         (feupdateenv): Do not use BP_SYM in versioned symbols.
45934         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45935         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45936         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45937         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45938         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45939         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45940         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45941         <bp-sym.h>.
45942         (__libc_start_main): Do not use BP_SYM.
45944 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45946         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45947         redundant return line.
45948         (norm): Likewise.
45949         (denorm): Likewise.
45950         (dbl_mp): Likewise.
45951         (sub_magnitudes): Likewise.
45952         (__add): Likewise.
45953         (__sub): Likewise.
45954         (__mul): Likewise.
45955         (__inv): Likewise.
45956         (__dvd): Likewise.
45957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45958         (norm): Likewise.
45959         (denorm): Likewise.
45960         (dbl_mp): Likewise.
45961         (sub_magnitudes): Likewise.
45962         (__add): Likewise.
45963         (__sub): Likewise.
45964         (__mul): Likewise.
45965         (__inv): Likewise.
45966         (__dvd): Likewise.
45968         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45969         instead of __mul.
45970         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45971         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45972         (cc32): Likewise.
45974         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45975         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45977         of __mul for squares.
45978         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45979         function
45980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45981         Likewise.
45982         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45983         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45985 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45987         [BZ #13550]
45988         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45989         code.
45990         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45991         prototype or function definition.  Rename ubp_* variables and
45992         parameters.  Remove argv definitions conditional on
45993         [__BOUNDED_POINTERS__].
45994         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45995         * elf/dl-runtime.c (_dl_fixup): Likewise.
45996         * include/set-hooks.h (RUN_HOOK): Likewise.
45997         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45998         definition.
45999         * string/strcpy.c (strcpy): Do not use __unbounded.
46000         * sysdeps/generic/frame.h (struct layout): Likewise.
46001         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46002         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46003         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46004         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46005         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46006         (__backtrace): Likewise.
46007         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46008         use __ptrvalue.
46009         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46010         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46011         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46012         Likewise.
46013         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46014         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46015         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46016         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46017         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46018         Do not use __unbounded.
46019         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46020         Rename __unboundedrlimits parameter to rlimits in prototype.
46021         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46022         Do not use __unbounded.
46023         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46024         not use __ptrvalue.
46025         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46026         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46027         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46028         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46029         __ptrvalue or __unbounded.
46030         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46031         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46032         use __unbounded.
46033         (__new_msgctl): Do not use __ptrvalue.
46034         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46035         __unbounded.
46036         (__libc_msgrcv): Do not use __ptrvalue.
46037         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46038         startup_info): Do not use __unbounded.
46039         (__libc_start_main): Likewise.  Rename ubp_* variables and
46040         parameters.  Remove argv definitions conditional on
46041         [__BOUNDED_POINTERS__].
46042         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46043         __ptrvalue.
46044         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46045         use __unbounded.
46046         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46047         or __ptrvalue.
46048         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46049         use __unbounded.
46050         (__new_shmctl): Do not use __ptrvalue.
46051         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46052         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46053         Likewise.
46054         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46055         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46056         (__libc_sigaction): Likewise.
46057         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46058         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46059         Likewise.
46060         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46062 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46064         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46066         * string/mempcpy.c: Implement by calling memcpy.
46068 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46072         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46073         evaluation.
46075         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46076         values in the mantissa.
46078         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46079         minimize writes to Z.
46080         (sub_magnitudes): Simplify code a bit.
46082 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46084         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46085         from the message.  The linker prefixes all warnings with that already.
46087 2013-02-12  Andreas Schwab  <schwab@suse.de>
46089         [BZ #15078]
46090         * posix/regexec.c (extend_buffers): Add parameter min_len.
46091         (check_matching): Pass minimum needed length.
46092         (clean_state_log_if_needed): Likewise.
46093         (get_subexp): Likewise.
46094         * posix/Makefile (tests): Add bug-regex34.
46095         (bug-regex34-ENV): Define.
46096         * posix/bug-regex34.c: New file.
46098         [BZ #11561]
46099         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46100         elements compare against the byte sequence of it, not its name.
46101         * posix/Makefile (tests): Add bug-regex35.
46102         (bug-regex35-ENV): Define.
46103         * posix/bug-regex35.c: New file.
46105 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46107         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46108         comment.
46109         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46110         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46111         (CHECK_EOL): Add undef.
46113 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46115         * bits/stdlib-bsearch.h: New file.
46116         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46117         * stdlib/stdlib.h: Likewise.
46119 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46121         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46122         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46123         declaration.
46124         * manual/search.texi (Array Search Function): Add missing const in
46125         lfind prototype.
46126         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46127         declaration to use rlim_t.
46128         (Basic Scheduling Functions): Remove erroneous const from
46129         sched_getparam prototype.  Remove erroneous * from
46130         sched_get_priority_max and sched_get_priority_min prototypes.
46131         (Resource Usage): Fix summary @comment on vtimes to refer to
46132         sys/vtimes.h rather than vtimes.h.
46133         Add missing *s in vtimes prototype.
46134         (Limits on Resources): Fix ulimit prototype to return long int.
46135         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46136         prototypes to use long int rather than double.
46137         (BSD Random): Fix initstate and setstate to use char *, not void *.
46138         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46139         prototype to make second argument 'struct aiocb64 *const[]'.
46140         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46141         (Status of AIO Operations): Remove erroneous const in aio_return and
46142         aio_return64 prototypes.
46143         (Synchronizing I/O): Fix sync prototype to return void.
46144         * manual/startup.texi (Suboptions): Remove an erroneous const in
46145         getsubopt prototype.
46146         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46147         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46148         use size_t rather than int.
46149         (Scanning All Users): Likewise for getpwent_r.
46150         (Setting Groups): Add missing const to setgroups prototype.
46151         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46152         * manual/socket.texi (Host Names): Fix gethostbyaddr and
46153         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46154         'const void *' rather than 'const char *'.
46155         (Host Address Functions): Likewise for inet_ntop.
46156         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46157         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46158         ssize_t for return value.
46159         (Sending Data): Likewise for send, sendto, sendmsg.
46160         (Socket Option Functions): Add a missing const in setsockopt prototype.
46161         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46162         use wchar_t for the argument.
46163         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46164         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46165         take no arguments.
46166         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46167         double/float/long double for second argument.
46168         Fix return types of significand, significandf, significandl.
46169         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46170         argument in fchmod prototype.
46171         (File Owner): Use uid_t and gid_t in fchown prototype.
46172         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46173         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46174         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46175         use 'const struct dirent **' as argument types to CMP function pointer
46176         argument.
46177         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46178         (File Times): Fix summary magic @comment for struct utimbuf and utime
46179         to refer to utime.h, not time.h.
46180         * manual/string.texi (Argz Functions): Add missing const in
46181         argz_extract and argz_next prototypes.
46182         (Finding Tokens in a String): Likewise for basename.
46183         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46184         (Copying and Concatenation): Fix typo in wmemmove prototype.
46185         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46186         (Signal Stack): Remove erroneous const in sigstack prototype.
46187         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46188         prototype.
46189         (Simple Calendar Time): Likewise for stime.
46190         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46191         prototype.
46192         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46193         say sys/sysctl.h instead.
46194         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46195         and vsyslog prototypes.
46197 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46199         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46200         Remove.
46202 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46204         * misc/sys/mman.h: Fix typo in mremap comment.
46206 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46208         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46209         the '\0' terminator.
46211 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46213         [BZ #13550]
46214         * debug/segfault.c: Don't include <bp-checks.h>.
46215         * sysdeps/generic/bp-checks.h: Remove file.
46216         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46217         (__GETDENTS): Don't use CHECK_N.
46218         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46219         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46220         (__getgroups): Don't use CHECK_N.
46221         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46222         (setgroups): Don't use CHECK_N.
46223         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46224         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46225         (__libc_msgrcv): Don't use CHECK_N.
46226         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46227         (__libc_msgsnd): Don't use CHECK_N.
46228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46229         <bp-checks.h>.
46230         (__libc_pread): Don't use CHECK_N.
46231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46232         include <bp-checks.h>.
46233         (__libc_pread64): Don't use CHECK_N.
46234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46235         include <bp-checks.h>.
46236         (__libc_pwrite): Don't use CHECK_N.
46237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46238         include <bp-checks.h>.
46239         (__libc_pwrite64): Don't use CHECK_N.
46240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46241         <bp-checks.h>.
46242         (__libc_pread): Don't use CHECK_N.
46243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46244         include <bp-checks.h>.
46245         (__libc_pread64): Don't use CHECK_N.
46246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46247         include <bp-checks.h>.
46248         (__libc_pwrite): Don't use CHECK_N.
46249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46250         include <bp-checks.h>.
46251         (__libc_pwrite64): Don't use CHECK_N.
46252         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46253         (do_pread): Don't use CHECK_N.
46254         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46255         (do_pread64): Don't use CHECK_N.
46256         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46257         (do_pwrite): Don't use CHECK_N.
46258         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46259         (do_pwrite64): Don't use CHECK_N.
46260         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46261         (__libc_readv): Don't use CHECK_N.
46262         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46263         (semop): Don't use CHECK_N.
46264         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46265         <bp-checks.h>.
46266         (semtimedop): Don't use CHECK_N.
46267         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46268         (__libc_pread): Don't use CHECK_N.
46269         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46270         <bp-checks.h>.
46271         (__libc_pread64): Don't use CHECK_N.
46272         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46273         <bp-checks.h>.
46274         (__libc_pwrite): Don't use CHECK_N.
46275         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46276         <bp-checks.h>.
46277         (__libc_pwrite64): Don't use CHECK_N.
46278         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46279         <bp-checks.h>.
46280         (__libc_msgrcv): Don't use CHECK_N.
46281         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46282         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
46283         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46284         (__libc_writev): Don't use CHECK_N.
46286 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46288         * string/strcpy.c: Removed unused variable.
46290         * Makeconfig (+sysdep-includes): Define with := rather than =.
46291         Use an existing include/ subdir of each sysdeps dir before it.
46293 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46295         * nscd/connection.c (register_traced_file): Comment function.
46296         [HAVE_INOTIFY] (union __inev): Define.
46297         [HAVE_INOTIFY] (inotify_check_files): New function.
46298         [HAVE_INOTIFY] (clear_db_cache): Likewise.
46299         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46300         clear_db_cache.
46301         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46303 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46305         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46306         loaded if not already and that a failure is permanent.
46308 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46310         [BZ #15006]
46311         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46312         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46314 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46316         [BZ #13550]
46317         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46318         (CHECK_1_NULL_OK): Likewise.
46319         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46320         (__fxstat): Do not use CHECK_1.
46321         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46322         <bp-checks.h>.
46323         (___fxstat64): Do not use CHECK_1.
46324         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46325         <bp-checks.h>.
46326         (__fxstatat): Do not use CHECK_1.
46327         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46328         <bp-checks.h>.
46329         (__fxstatat64): Do not use CHECK_1.
46330         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46331         <bp-checks.h>.
46332         (__fxstat): Do not use CHECK_1.
46333         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46334         <bp-checks.h>.
46335         (__fxstatat): Do not use CHECK_1.
46336         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46337         <bp-checks.h>.
46338         (__getresgid): Do not use CHECK_1.
46339         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46340         <bp-checks.h>.
46341         (__getresuid): Do not use CHECK_1.
46342         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46343         <bp-checks.h>.
46344         (__lxstat): Do not use CHECK_1.
46345         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46346         <bp-checks.h>.
46347         (__old_msgctl): Do not use CHECK_1.
46348         (__new_msgctl): Likewise.
46349         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46350         <bp-checks.h>.
46351         (__new_setrlimit): Do not use CHECK_1.
46352         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46353         <bp-checks.h>.
46354         (__old_shmctl): Do not use CHECK_1.
46355         (__new_shmctl): Likewise.
46356         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46357         <bp-checks.h>.
46358         (__xstat): Do not use CHECK_1.
46359         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46360         (__lxstat): Do not use CHECK_1.
46361         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46362         <bp-checks.h>.
46363         (___lxstat64): Do not use CHECK_1.
46364         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46365         (__old_msgctl): Do not use CHECK_1.
46366         (__new_msgctl): Likewise.
46367         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46368         <bp-checks.h>.
46369         (__gettimeofday): Do not use CHECK_1.
46370         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46371         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46372         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46373         <bp-checks.h>.
46374         (__gettimeofday): Do not use CHECK_1.
46375         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46376         (__old_shmctl): Do not use CHECK_1_NULL_OK.
46377         (__new_shmctl): Do not use CHECK_1.
46378         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46379         <bp-checks.h>.
46380         (do_sigtimedwait): Do not use CHECK_1.
46381         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46382         <bp-checks.h>.
46383         (do_sigwaitinfo): Do not use CHECK_1.
46384         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46385         <bp-checks.h>.
46386         (msgctl): Do not use CHECK_1.
46387         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46388         <bp-checks.h>.
46389         (shmctl): Do not use CHECK_1.
46390         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46391         (ustat): Do not use CHECK_1.
46392         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46393         <bp-checks.h>.
46394         (__fxstat): Do not use CHECK_1.
46395         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46396         <bp-checks.h>.
46397         (__fxstatat): Do not use CHECK_1.
46398         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46399         <bp-checks.h>.
46400         (__lxstat): Do not use CHECK_1.
46401         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46402         <bp-checks.h>.
46403         (__xstat): Do not use CHECK_1.
46404         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46405         (__xstat): Do not use CHECK_1.
46406         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46407         (___xstat64): Do not use CHECK_1.
46409         [BZ #13550]
46410         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46411         definitions.
46412         (CHECK_BOUNDS_HIGH): Likewise.
46413         * string/strcpy.c: Do not include <bp-checks.h>.
46414         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46416 2013-02-07  Roland McGrath  <roland@hack.frob.com>
46418         * nscd/nscd-client.h (__nscd_drop_map_ref):
46419         Add __attribute__ ((unused)).
46420         * nis/nss-nisplus.h (niserr2nss): Likewise.
46422         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46423         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46425         * csu/libc-tls.c (init_static_tls, init_slotinfo):
46426         Remove inline keyword.
46427         * include/rounding-mode.h (round_away): Likewise.
46428         * libio/wfileops.c (adjust_wide_data): Likewise.
46429         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46430         (__m128i_strloadu_tolower): Likewise.
46431         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46432         (__m128i_strloadu_tolower): Likewise.
46433         * time/mktime.c (ydhms_diff): Likewise.
46434         * locale/elem-hash.h (elem_hash): Likewise.
46435         * locale/setlocale.c (setdata): Likewise.
46436         * posix/regex_internal.h (re_string_char_size_at): Likewise.
46437         (re_string_wchar_at): Likewise.
46438         (bitset_not, bitset_merge, bitset_mask): Likewise.
46439         [!(__GNUC__ > 3)] (inline): Remove macro.
46440         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46441         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46442         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46443         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46444         * string/memcmp.c (memcmp_bytes): Likewise.
46445         * locale/programs/locarchive.c (compute_hashval): Likewise.
46446         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46447         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46448         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46449         * nss/getent.c (print_rpc, print_protocols): Likewise.
46450         (print_passwd, print_group, print_aliases): Likewise.
46451         * nis/nss-nisplus.h (niserr2nss): Likewise.
46452         * nscd/connections.c (restart_p): Likewise.
46453         Change return type to bool.
46455 2013-02-05  Roland McGrath  <roland@hack.frob.com>
46457         * Makeconfig (all-Depend-files): Add existing
46458         $(sorted-subdirs:=/Depend) files.
46459         (all-subdirs): Remove nss.
46460         * sysdeps/unix/inet/Subdirs: Add it here instead.
46461         * hesiod/Depend: New file.
46463         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46464         instead of calling alloca.
46466         * io/lseek.c (__lseek): Rename to __libc_lseek.
46467         Define __lseek as an alias.
46469         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46471 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
46473         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46474         else clause and remove check for non-standard endianness.
46476 2013-02-04  David S. Miller  <davem@davemloft.net>
46478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46480 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
46482         [BZ #13550]
46483         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46484         (__ubp_memchr): Remove prototype.
46485         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46486         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46487         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46488         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46489         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46490         Remove alias.
46491         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46492         (__ubp_memchr): Likewise.
46493         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46494         (__ubp_memchr): Likewise.
46495         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46496         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46497         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46498         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46499         CHECK_STRING.
46500         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46501         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46502         (__getcwd): Do not use CHECK_STRING.
46503         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46504         <bp-checks.h>.
46505         (__real_chown): Do not use CHECK_STRING.
46506         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46507         <bp-checks.h>.
46508         (fchownat): Do not use CHECK_STRING.
46509         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46510         CHECK_STRING.
46511         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46512         <bp-checks.h>.
46513         (__lchown): Do not use CHECK_STRING.
46514         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46515         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46516         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46517         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
46518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46519         include <bp-checks.h>.
46520         (truncate64): Do not use CHECK_STRING.
46521         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46522         <bp-checks.h>.
46523         (__real_chown): Do not use CHECK_STRING.
46524         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46525         <bp-checks.h>.
46526         (__lchown): Do not use CHECK_STRING.
46527         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46528         <bp-checks.h>.
46529         (__chown): Do not use CHECK_STRING.
46530         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
46531         <bp-checks.h>.
46532         (truncate64): Do not use CHECK_STRING.
46533         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
46534         Likewise.
46535         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
46536         (__xmknod): Do not use CHECK_STRING.
46537         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46538         <bp-checks.h>.
46539         (__xmknodat): Do not use CHECK_STRING.
46540         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46541         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
46543 2013-02-04  Andreas Schwab  <schwab@suse.de>
46545         [BZ #14142]
46546         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
46547         * include/netdb.h: Likewise for h_errno.
46548         * elf/tst-stackguard1.c: Include <tls.h>.
46550 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
46552         * elf/link.h (struct link_map): Extend the l_addr comment.
46553         * include/link.h (struct link_map): Likewise.
46555 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
46557         [BZ #13550]
46558         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
46559         (BOUNDED_1): Remove macro.
46560         * debug/backtrace.c: Don't include <bp-checks.h>.
46561         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
46562         (__backtrace): Likewise.
46563         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
46564         <bp-checks.h>.
46565         (__backtrace): Don't use BOUNDED_1.
46566         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
46567         <bp-checks.h>.
46568         (__backtrace): Don't use BOUNDED_1.
46569         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
46570         (__backtrace): Don't use BOUNDED_1.
46571         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
46572         (shmat): Don't use BOUNDED_N.
46574 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
46576         [BZ #13550]
46577         * sysdeps/generic/bp-start.h: Remove file.
46578         * csu/libc-start.c: Don't include <bp-start.h>.
46579         (LIBC_START_MAIN): Set up __environ directly instead of using
46580         INIT_ARGV_and_ENVIRON.
46581         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
46582         <bp-start.h>.
46584         [BZ #13550]
46585         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46586         definitions.
46587         (CHECK_FCNTL): Likewise.
46588         (CHECK_N_PAGES): Likewise.
46590         [BZ #13550]
46591         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46592         definitions.
46593         (CHECK_SIGSET_NULL_OK): Likewise.
46594         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46595         <bp-checks.h>.
46596         (sigpending): Don't use CHECK_SIGSET.
46597         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46598         <bp-checks.h>.
46599         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46600         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46601         <bp-checks.h>.
46602         (do_sigsuspend): Don't use CHECK_SIGSET.
46603         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46604         use CHECK_SIGSET.
46605         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46606         (do_sigwait): Don't use CHECK_SIGSET.
46607         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46608         use CHECK_SIGSET.
46609         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46610         include <bp-checks.h>.
46611         (sigpending): Don't use CHECK_SIGSET.
46612         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46613         include <bp-checks.h>.
46614         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46615         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46616         <bp-checks.h>.
46617         (sigpending): Don't use CHECK_SIGSET.
46618         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46619         <bp-checks.h>.
46620         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46622         [BZ #13550]
46623         * sysdeps/generic/bp-semctl.h: Remove file.
46624         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46625         <bp-checks.h> and <bp-semctl.h>.
46626         (__old_semctl): Don't use CHECK_SEMCTL.
46627         (__new_semctl): Likewise.
46628         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46629         and <bp-semctl.h>.
46630         (__old_semctl): Don't use CHECK_SEMCTL.
46631         (__new_semctl): Likewise.
46632         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46633         <bp-checks.h> and <bp-semctl.h>.
46634         (__old_semctl): Don't use CHECK_SEMCTL.
46635         (__new_semctl): Likewise.
46636         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46637         <bp-checks.h> and <bp-semctl.h>.
46638         (semctl): Don't use CHECK_SEMCTL.
46640         [BZ #13550]
46641         * Makerules (elide-bp-thunks): Remove variable.
46642         (elide-routines.oS): Don't use $(elide-bp-thunks).
46643         (elide-routines.os): Likewise.
46644         (elide-routines.o): Likewise.
46645         (elide-routines.op): Likewise.
46646         (elide-routines.og): Likewise.
46647         (objects): Don't use $(bp-thunks).
46648         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
46649         include.
46650         (common-generated): Do not add s-proto-bp.d.
46651         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
46652         (int): Likewise.
46653         (typ): Likewise.
46654         Do not generate makefile rules for bounded-pointer thunks.
46655         * sysdeps/generic/bp-thunks.h: Remove file.
46656         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
46657         * sysdeps/unix/s-proto-bp.S: Likewise.
46659         [BZ #15062]
46660         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
46661         parts of result separately when argument is not close to line from
46662         -i to i and one part of argument is small.
46663         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46664         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46665         * math/libm-test.inc (cacos_test): Add more tests.
46666         (casin_test): Likewise.
46667         (casinh_test): Likewise.
46668         * sysdeps/i386/fpu/libm-test-ulps: Update.
46669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46671 2013-01-31  David S. Miller  <davem@davemloft.net>
46673         * po/de.po: Update from translation team.
46675 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
46677         * time/tzfile.c: Include stdint.h for SIZE_MAX.
46679 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
46681         * configure.in (_AC_PROG_CC_C89): New definition.
46682         * configure: Regenerate.
46684         * configure.in (AC_PROG_CPP): New definition.
46685         * configure: Regenerate.
46687 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46689         * debug/tst-backtrace.h: New file.
46690         * debug/tst-backtrace2.c: Include tst-backtrace.h.
46691         (ret): Remove variable.
46692         (x): Likewise.
46693         (FAIL): Remove macro.
46694         (NO_INLINE): Likewise.
46695         (fn1): Use match function instead of strstr.
46696         * debug/tst-backtrace3.c: Include tst-backtrace.h.
46697         (ret): Remove variable.
46698         (x): Likewise.
46699         (FAIL): Remove macro.
46700         (NO_INLINE): Likewise.
46701         (fn): Use match function instead of strstr.
46702         * debug/tst-backtrace4.c: Include tst-backtrace.h.
46703         (ret): Remove variable.
46704         (x): Likewise.
46705         (FAIL): Remove macro.
46706         (NO_INLINE): Likewise.
46707         (handle_signal): Use match function instead of strstr.
46708         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46709         (ret): Remove variable.
46710         (x): Likewise.
46711         (FAIL): Remove macro.
46712         (NO_INLINE): Likewise.
46713         (handle_signal): Use match function instead of strstr.
46715 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46717         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46719 2013-01-23  David S. Miller  <davem@davemloft.net>
46721         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46722         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46723         argument of CAS if possible.
46724         * sysdeps/sparc/sparc64/bits/atomic.h
46725         (__arch_compare_and_exchange_val_32_acq): Likewise.
46726         (__arch_compare_and_exchange_val_64_acq): Likewise.
46728 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46730         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46731         * sysdeps/posix/ulimit.c: ... this.
46732         Include <limits.h>.
46733         * sysdeps/unix/bsd/ulimit.c: Remove file.
46735 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46737         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46738         (LDFLAGS-tst-array5): Likewise.
46740 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46742         [BZ #15036]
46743         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46744         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46745         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46746         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46748 2013-01-21  David S. Miller  <davem@davemloft.net>
46750         * sysdeps/sparc/backtrace.c: New file.
46751         * sysdeps/sparc/sparc32/backtrace.h: New file.
46752         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46753         * sysdeps/sparc/sparc64/backtrace.h: New file.
46754         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46755         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46756         -funwind-tables.
46758 2013-01-21  Andreas Schwab  <schwab@suse.de>
46760         [BZ #15020]
46761         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46762         closed its stdout.
46764 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46766         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46767         "mpa2.h".
46768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46770 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46771             Mark Mitchell  <mark@codesourcery.com>
46772             Tom de Vries  <tom@codesourcery.com>
46773             Paul Pluzhnikov  <ppluzhnikov@google.com>
46775         * debug/tst-backtrace2.c: New file.
46776         * debug/tst-backtrace3.c: Likewise.
46777         * debug/tst-backtrace4.c: Likewise.
46778         * debug/tst-backtrace5.c: Likewise.
46779         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46780         (CFLAGS-tst-backtrace3.c): Likewise.
46781         (CFLAGS-tst-backtrace4.c): Likewise.
46782         (CFLAGS-tst-backtrace5.c): Likewise.
46783         (LDFLAGS-tst-backtrace2): Likewise.
46784         (LDFLAGS-tst-backtrace3): Likewise.
46785         (LDFLAGS-tst-backtrace4): Likewise.
46786         (LDFLAGS-tst-backtrace5): Likewise.
46787         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46788         tst-backtrace4 and tst-backtrace5.
46790 2013-01-18  Anton Blanchard  <anton@samba.org>
46791             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46793         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46794         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46795         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46796         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46798         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46799         "+r" and remove output regs list as redundant.  Add explicit inline
46800         asm to specify register of return val to work around compiler codegen
46801         bug.  Remove (int) cast on return value.  Add return type parameter to
46802         use in macro so that this macro does not truncate return value for
46803         64-bit values.
46804         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46805         pass to INTERNAL_VSYSCALL_NCS.
46806         (INLINE_VSYSCALL): Add 'long int' as return type to
46807         INTERNAL_VSYSCALL_NCS macro invocation.
46808         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46809         INTERNAL_VSYSCALL_NCS macro invocation.
46810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46812 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46814         [BZ #14496]
46815         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46816         Fix application of SIMD FP exception mask.
46818         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46819         mp_no from a power of two.
46820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46821         __mpexp_twomm1.  Use __pow_mp.
46823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46824         multiplication.
46826 2013-01-17  David S. Miller  <davem@davemloft.net>
46828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46830 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46832         [BZ #15023]
46833         * include/complex.h: Condition contents on [!_COMPLEX_H].
46834         (__kernel_casinhf): New prototype.
46835         (__kernel_casinh): Likewise.
46836         (__kernel_casinhl): Likewise.
46837         * math/Makefile (libm_calls): Add k_casinh.
46838         * math/k_casinh.c: New file.
46839         * math/k_casinhf.c: Likewise.
46840         * math/k_casinhl.c: Likewise.
46841         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46842         finite nonzero arguments.
46843         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46844         finite nonzero arguments.
46845         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46846         finite nonzero arguments.
46847         * math/s_casinh.c: Do not include <float.h>.
46848         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46849         * math/s_casinhf.c: Do not include <float.h>.
46850         (__casinhf): Move code for finite nonzero arguments to
46851         k_casinhf.c.
46852         * math/s_casinhl.c: Do not include <float.h>.
46853         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46854         redefine.
46855         (__casinhl): Move code for finite nonzero arguments to
46856         k_casinhl.c.
46857         * math/libm-test.inc (cacos_test): Add more tests.
46858         * sysdeps/i386/fpu/libm-test-ulps: Update.
46859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46861 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46863         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46864         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46865         [!HAVE_MREMAP]: Remove [defined linux] case.
46866         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46868 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46870         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46872 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46874         * elf/elf.h (R_386_SIZE32): New relocation.
46875         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46876         R_386_SIZE32.
46877         (elf_machine_rela): Likewise.
46878         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46879         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46881 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46883         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46884         (FP_FAST_FMA): Do not define.
46885         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46886         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46887         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46888         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46889         !_SOFT_FLOAT]: Likewise.
46890         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46891         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46892         value.
46893         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46894         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46895         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46896         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46897         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46898         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46899         file.
46901 2013-01-16  Andreas Schwab  <schwab@suse.de>
46903         [BZ #14327]
46904         * include/stdlib.h (__mktemp): Add declaration.
46905         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46906         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46908 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46910         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46911         definitions.
46912         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46913         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46914         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46915         definitions here.
46916         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46917         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46918         definitions.
46919         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46920         and ONE.
46921         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46922         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46923         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46924         definitions.
46925         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46926         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46927         definitions.
46928         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46930         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46932 2013-01-15  David S. Miller  <davem@davemloft.net>
46934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46935         trunc{,f} to libm-sysdep_routes.
46936         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46938         file.
46939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46941         file.
46942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46943         file.
46944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46946         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46947         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46948         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46949         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46950         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46951         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46954         nearbyint{,f} to libm-sysdep_routes.
46955         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46957         New file.
46958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46959         file.
46960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46961         New file.
46962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46963         file.
46964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46966         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46967         file.
46968         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46969         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46970         file.
46971         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46972         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46973         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46975         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46976         libc_feholdexcept and libc_fesetenv.
46978 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46980         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46982 2013-01-14  David S. Miller  <davem@davemloft.net>
46984         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46985         (SPARC_ASM_VIS2_IFUNC): Likewise.
46986         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46988         use of 'siam' instruction.
46989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46990         Likewise.
46991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46992         Likewise.
46993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46994         Likewise.
46995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47000         file.
47001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47002         file.
47003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47004         file.
47005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47006         file.
47007         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47008         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47010         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47012         new VIS2 routines.
47013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47016         Likewise.
47017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47018         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47022         routines to libm-sysdep_routines.
47023         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47026         fdim/fdimf to libm-sysdep_routines.
47027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47028         file.
47029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47031         file.
47032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47035         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47036         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47037         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47038         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47040 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47042         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47043         to optimize copies.
47045         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47046         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47050         local variable MPTWO.
47051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47052         Likewise.
47054 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47056         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47057         GLOB_NOESCAPE.
47059 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47061         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47063 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47065         * manual/pattern.texi (glob_t): Document gl_flags.
47066         (glob64_t): Likewise.
47068 2013-01-11  David S. Miller  <davem@davemloft.net>
47070         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47071         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47072         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47073         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47074         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47075         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47076         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47077         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47078         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47079         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47080         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47081         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47082         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47084         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47085         sparc V9 rather than using V8 code.
47086         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47087         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47089         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47090         Move to...
47091         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47092         Here.
47094 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47096         [BZ #14941]
47097         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47098         not in the main loop.
47099         * configure: Regenerated.
47101 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47103         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47104         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47105         to just #else.
47106         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47107         [!__GLIBC_HAVE_LONG_LONG] case.
47108         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47109         condition to just #else.
47110         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47111         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47112         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47113         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47114         unconditional.
47115         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47116         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47117         #elif condition to just #else.
47118         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47119         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47120         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47121         #elif condition to just #else.
47123 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47125         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47126         (EF_MIPS_ARCH_64): Fix value.
47127         (EF_MIPS_ARCH_32R2): New.
47128         (EF_MIPS_ARCH_64R2): New.
47130 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47132         * Makeconfig (+link-pie-before-libc): New.
47133         (+link-pie-after-libc): Likewise.
47134         (+link-pie-tests): Likewise.
47135         (+link-pie): Rewritten.
47136         (link-before-libc): Remove $(config-LDFLAGS).
47137         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47138         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47139         (config-LDFLAGS): Renamed to ...
47140         (rtld-LDFLAGS): This.
47141         (rtld-tests-LDFLAGS): New macro.
47142         (link-libc-rpath-link): Likewise.
47143         (link-libc-tests-rpath-link): Likewise.
47144         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47145         (link-libc): Prepand $(link-libc-rpath-link).
47146         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47147         (test-program-prefix): New macro.
47148         (test-via-rtld-prefix): Likewise.
47149         (test-program-cmd): Likewise.
47150         (host-test-program-cmd): Likewise.
47151         * Makefile ($(common-objpfx)testrun.sh): Replace
47152         $(run-program-prefix) with $(test-program-prefix).
47153         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47154         $(rtld-LDFLAGS).
47155         ($(common-objpfx)shlib.lds): Likewise.
47156         (build-module-helper): Likewise.
47157         ($(common-objpfx)format.lds): Likewise.
47158         * Rules (binaries-pie-tests): New.
47159         (binaries-pie-notests): Likewise.
47160         (binaries-pie): Rewritten.
47161         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47162         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47163         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47164         (make-test-out): Replace $(host-built-program-cmd) with
47165         $(host-test-program-cmd).
47166         * config.make.in (build-hardcoded-path-in-tests): New variable.
47167         * configure.in (--enable-hardcoded-path-in-tests): New configure
47168         option.
47169         (hardcoded_path_in_tests): New AC_SUBST.
47170         * configure: Regenerated.
47171         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47172         $(built-program-cmd) with $(test-program-cmd).
47173         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47174         (test_program_cmd): This.
47175         * elf/Makefile ($(objpfx)order.out): Run test with
47176         $(test-program-prefix).
47177         ($(objpfx)order2.out): Likewise.
47178         ($(objpfx)tst-initorder.out): Likewise.
47179         ($(objpfx)tst-initorder2.out): Likewise.
47180         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47181         $(test-program-cmd).
47182         ($(objpfx)tst-array1-static.out): Likewise.
47183         ($(objpfx)tst-array2.out): Likewise.
47184         ($(objpfx)tst-array3.out): Likewise.
47185         ($(objpfx)tst-array4.out): Likewise.
47186         ($(objpfx)tst-array5.out): Likewise.
47187         ($(objpfx)tst-array5-static.out): Likewise.
47188         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47189         $(test-program-cmd).
47190         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47191         $(run-program-prefix) with $(test-program-prefix).
47192         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47193         (test_program_prefix): This.
47194         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47195         $(run-program-prefix) with $(test-program-prefix).
47196         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47197         (test_program_prefix): This.
47198         * iconvdata/tst-tables.sh: Likewise.
47199         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47200         $(run-program-prefix) with $(test-program-prefix).
47201         ($(objpfx)tst-translit.out): Likewise.
47202         ($(objpfx)tst-gettext2.out): Likewise.
47203         ($(objpfx)tst-gettext4.out): Likewise.
47204         ($(objpfx)tst-gettext6.out): Likewise.
47205         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47206         (test_program_prefix): This.
47207         * intl/tst-gettext2.sh: Likewise.
47208         * intl/tst-gettext4.sh  Likewise.
47209         * intl/tst-gettext6.sh: Likewise.
47210         * intl/tst-translit.sh: Likewise.
47211         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47212         with $(test-program-cmd).
47213         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47214         $(run-program-prefix) with $(test-program-prefix).
47215         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47216         (test_program_prefix): This.
47217         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47218         $(run-program-prefix) with $(test-program-prefix).
47219         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47220         (test_program_prefix): This.
47221         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47222         * posix/Makefile ($(objpfx)globtest.out): Replace
47223         $(run-via-rtld-prefix) and $(test-wrapper) with
47224         $(test-program-prefix) and $(test-via-rtld-prefix).
47225         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47226         $(test-program-prefix).
47227         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47228         $(host-test-program-cmd).
47229         (tst-spawn-ARGS): Likewise.
47230         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47231         $(test-program-prefix).
47232         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47233         (test_via_rtld_prefix): This.
47234         (test_wrapper): Renamed to ...
47235         (test_program_prefix): This.
47236         (run_program_prefix): Replaced by test_program_prefix.
47237         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47238         (test_program_prefix): This.
47239         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47240         with $(host-test-program-cmd).
47241         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47242         $(run-program-prefix) with $(test-program-prefix).
47243         ($(objpfx)tst-printf.out): Likewise.
47244         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47245         $(test-program-cmd).
47246         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47247         (test_program_prefix): This.
47248         * stdio-common/tst-unbputc.sh: Likewise.
47249         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47250         $(run-program-prefix) with $(test-program-prefix).
47251         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47252         (test_program_prefix): This.
47253         * string/Makefile ($(objpfx)tst-svc.out):  Replace
47254         $(built-program-cmd) with $(test-program-cmd).
47256 2013-01-11  Andreas Jaeger  <aj@suse.de>
47258         [BZ #15003]
47259         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47260         value. Sync with Linux 3.7.
47262 2013-01-10  David S. Miller  <davem@davemloft.net>
47264         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47265         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47266         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47268 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47270         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47271         never set.
47272         * configure: Regenerated.
47274 2013-01-10  David S. Miller  <davem@davemloft.net>
47276         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47277         sparc V9 rather than using V8 code.
47278         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47279         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47281 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47283         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47284         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47285         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47286         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47287         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47288         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47289         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47290         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47291         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47292         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47293         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47294         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47295         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47296         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47297         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47298         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47299         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47300         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47301         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47302         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47303         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47304         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47305         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47306         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47307         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47308         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47309         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47311 2013-01-10  David S. Miller  <davem@davemloft.net>
47313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47315 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47317         * posix/Makefile (tests-static): New variable.
47318         (tests): Add $(tests-static).
47319         (tst-exec-static-ARGS): New variable.
47320         (tst-spawn-static-ARGS): Likewise.
47321         * posix/tst-exec-static.c: New file.
47322         * posix/tst-spawn-static.c: Likewise.
47323         * posix/tst-exec.c: Support run directly.
47324         * posix/tst-spawn.c: Likewise.
47326 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
47328         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47329         long.
47330         * math/bits/mathcalls.h (llrint): Likewise.
47331         (llround): Likewise.
47332         * stdlib/stdlib.h (struct drand48_data): Likewise.
47333         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47334         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47335         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47336         Likewise.
47337         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47338         Likewise.
47339         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47340         (elf_greg_t): Likewise.
47341         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47342         (__jmp_buf): Likewise.
47343         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47344         definitions.
47345         (llrint): Likewise, for all definitions.
47346         (llrintl): Likewise.
47348         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47349         Remove [__GNUC__] condition.
47350         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47351         condition to just [__USE_ISOC99].
47352         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47354 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47356         [BZ #14200]
47357         * sysdeps/unix/sysv/linux/x86/bits/environments.h
47358         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47359         defined.
47360         (_POSIX_V6_ILP32_OFF32): Likewise.
47361         (_XBS5_ILP32_OFF32): Likewise.
47362         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47363         (__ILP32_OFFBIG_LDFLAGS): Likewise.
47365 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47367         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47369         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47370         doubles __mpexp_twomm1.  Adjust usage.
47371         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47372         Remove.
47374 2013-01-10  Andreas Schwab  <schwab@suse.de>
47376         [BZ #14964]
47377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47378         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47380 2013-01-09  David S. Miller  <davem@davemloft.net>
47382         [BZ #15003]
47383         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47384         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47385         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47386         (TCP_FASTOPEN): Define.
47387         (tcp_repair_opt): New structure.
47388         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47389         enum values.
47390         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47391         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47392         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47393         (tcp_cookie_transactions): New structure.
47395 2013-01-09  Anton Blanchard  <anton@samba.org>
47397         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47398         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47399         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47400         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47402 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
47404         * include/features.h (__USE_ANSI): Remove.
47406 2013-01-09  Roland McGrath  <roland@hack.frob.com>
47408         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47410         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47412 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47414         * sysdeps/s390/fpu/libm-test-ulps: Update.
47416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47418         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47419         (__acr): Likewise.
47420         (__cpy): Likewise.
47421         (norm): Likewise.
47422         (denorm): Likewise.
47423         (__mp_dbl): Likewise.
47424         (__dbl_mp): Likewise.
47425         (add_magnitudes): Likewise.
47426         (sub_magnitudes): Likewise.
47427         (__add): Likewise.
47428         (__sub): Likewise.
47429         (__mul): Likewise.
47430         (__inv): Likewise.
47431         (__dvd): Likewise.
47432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47433         (__acr): Likewise.
47434         (__cpy): Likewise.
47435         (norm): Likewise.
47436         (denorm): Likewise.
47437         (__mp_dbl): Likewise.
47438         (__dbl_mp): Likewise.
47439         (add_magnitudes): Likewise.
47440         (sub_magnitudes): Likewise.
47441         (__add): Likewise.
47442         (__sub): Likewise.
47443         (__mul): Likewise.
47444         (__inv): Likewise.
47445         (__dvd): Likewise.
47446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47447         (__acr): Likewise.
47448         (__cpy): Likewise.
47449         (norm): Likewise.
47450         (denorm): Likewise.
47451         (__mp_dbl): Likewise.
47452         (__dbl_mp): Likewise.
47453         (add_magnitudes): Likewise.
47454         (sub_magnitudes): Likewise.
47455         (__add): Likewise.
47456         (__sub): Likewise.
47457         (__mul): Likewise.
47458         (__inv): Likewise.
47459         (__dvd): Likewise.
47461 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
47463         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47464         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47465         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47466         2 && __USE_EXTERN_INLINES]: Likewise.
47468 2013-01-08  Andreas Jaeger  <aj@suse.de>
47470         [BZ# 14985]
47471         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47472         Remove.
47473         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47474         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47476 2013-01-07  Anton Blanchard  <anton@samba.org>
47478         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47479         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47480         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47481         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47482         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47483         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47484         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47485         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47487         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47488         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47489         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47490         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47491         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47492         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47493         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47494         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47495         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47496         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47497         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47498         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47499         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47500         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47501         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47502         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47503         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47504         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47505         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47506         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47507         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47508         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47510         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47511         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47512         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47513         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47514         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47515         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47516         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
47517         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47518         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
47519         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47520         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47522 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
47524         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
47525         (__MALLOC_PMT): Likewise.
47526         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
47527         [__GNUC__], only on [_LIBC].
47528         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47529         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
47530         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47531         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
47532         forward declaration.
47533         (realloc_hook_ini): Likewise.
47534         (memalign_hook_ini): Likewise.
47535         (__libc_memalign): Do not use __MALLOC_PMT in variable
47536         declaration.
47537         (__libc_valloc): Likewise.
47538         (__libc_pvalloc): Likewise.
47539         (__libc_calloc): Likewise.
47540         (__posix_memalign): Likewise.
47542         [BZ #14996]
47543         * math/s_casinh.c: Include <float.h>.
47544         (__casinh): Do not do computation with squaring and square root
47545         for large arguments.
47546         * math/s_casinhf.c: Include <float.h>.
47547         (__casinhf): Do not do computation with squaring and square root
47548         for large arguments.
47549         * math/s_casinhl.c: Include <float.h>.
47550         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
47551         (__casinhl): Do not do computation with squaring and square root
47552         for large arguments.
47553         * math/libm-test.inc (casin_test): Add more tests.
47554         (casinh_test): Likewise.
47555         * sysdeps/i386/fpu/libm-test-ulps: Update.
47556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47558 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
47560         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
47561         (__x86_64_raw_data_cache_size): Likewise.
47562         (__x86_64_data_cache_size_half): Likewise.
47563         (__x86_64_raw_data_cache_size_half): Likewise.
47564         (__x86_64_shared_cache_size): Likewise.
47565         (__x86_64_raw_shared_cache_size): Likewise.
47566         (__x86_64_shared_cache_size_half): Likewise.
47567         (__x86_64_raw_shared_cache_size_half): Likewise.
47568         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
47569         to ...
47570         (__x86_data_cache_size): This.
47571         (__x86_64_raw_data_cache_size): Renamed to ...
47572         (__x86_raw_data_cache_size): This.
47573         (__x86_64_data_cache_size_half): Renamed to ...
47574         (__x86_data_cache_size_half): This.
47575         (__x86_64_raw_data_cache_size_half): Renamed to ...
47576         (__x86_raw_data_cache_size_half): This.
47577         (__x86_64_shared_cache_size): Renamed to ...
47578         (__x86_shared_cache_size): This.
47579         (__x86_64_raw_shared_cache_size): Renamed to ...
47580         (__x86_raw_shared_cache_size): This.
47581         (__x86_64_shared_cache_size_half): Renamed to ...
47582         (__x86_shared_cache_size_half): This.
47583         (__x86_64_raw_shared_cache_size_half): Renamed to ...
47584         (__x86_raw_shared_cache_size_half): This.
47585         * sysdeps/x86_64/memcpy.S: Updated.
47586         * sysdeps/x86_64/memset.S: Likewise.
47587         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47588         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47589         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47591 2013-01-04  David S. Miller  <davem@davemloft.net>
47593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47595 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
47597         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47598         1 to avoid redefinition warning.
47599         (__USE_GNU): Don't define.
47600         (init_signaling_nan): Protoize.
47602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47604 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47606         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47608         (__cpymn): Likewise.
47609         (norm): Remove commented code.
47610         (denorm): Likewise.
47611         (__mp_dbl): Likewise.
47612         (__inv): Likewise.
47613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47614         (__cpymn): Likewise.
47615         (norm): Remove commented code.
47616         (denorm): Likewise.
47617         (__mp_dbl): Likewise.
47618         (__inv): Likewise.
47620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47621         mp_no value for 1.0 and 2.0.
47622         (norm): Use RADIXI instead of radixi.d.
47623         (denorm): Likewise.
47624         (__mul): Use 0.0 instead of zero.d.
47625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47626         mp_no value for 1.0 and 2.0.
47627         (norm): Use RADIXI instead of radixi.d.
47628         (denorm): Likewise.
47629         (__mul): Use 0.0 instead of zero.d.
47631 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
47633         [BZ #14994]
47634         * math/s_casinh.c (__casinh): Reduce finite argument to first
47635         quadrant then set signs of results at the end.
47636         * math/s_casinhf.c (__casinhf): Likewise.
47637         * math/s_casinhl.c (__casinhl): Likewise.
47638         * math/libm-test.inc (casin_test): Add more tests.
47639         (casinh_test): Likewise.
47640         * sysdeps/i386/fpu/libm-test-ulps: Update.
47641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47643 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47645         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
47647         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
47649         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
47650         declarations.
47651         (denorm): Likewise.
47652         (__mp_dbl): Likewise.
47653         (__inv): Likewise.
47655         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
47656         and adjust the header comment.
47658         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
47659         variable name from declaration.
47661 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
47663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47664         Initialize COMMON_CPUID_INDEX_7 element.
47665         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
47666         (CPUID_RTM): Likewise.
47667         (HAS_RTM): Likewise.
47668         (COMMON_CPUID_INDEX_7): New enum.
47670 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
47672         [BZ #14981]
47673         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
47674         size is zero, record memory as freed.
47676 2013-01-03  Andreas Jaeger  <aj@suse.de>
47678         * po/ia.po: Add new Interlingua translation.
47680 2012-01-03  Allan McRae  <allan@archlinux.org>
47682         * locale/programs/localedef.c: Fix description of '--posix' flag.
47684 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
47686         * NEWS: Update dates in second copyright notice.
47687         * README: Update copyright dates in example.
47688         * manual/libc.texinfo: Update copyright dates.
47689         * scripts/test-installation.pl: Update copyright date in --version
47690         output.
47692         * hurd/ctty-input.c: Fix copyright notice formatting.
47693         * hurd/ctty-output.c: Likewise.
47694         * hurd/dtable.c: Likewise.
47695         * hurd/hurd-raise.c: Likewise.
47696         * hurd/hurdprio.c: Likewise.
47697         * hurd/msgportdemux.c: Likewise.
47698         * misc/sys/file.h: Likewise.
47699         * misc/sys/ioctl.h: Likewise.
47700         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47701         * sysdeps/mach/hurd/chdir.c: Likewise.
47702         * sysdeps/mach/hurd/fchdir.c: Likewise.
47703         * sysdeps/mach/hurd/rename.c: Likewise.
47704         * sysdeps/mach/hurd/rmdir.c: Likewise.
47705         * sysdeps/mach/hurd/seekdir.c: Likewise.
47706         * sysdeps/mach/hurd/setsid.c: Likewise.
47707         * sysdeps/posix/wait3.c: Likewise.
47709         * All files with FSF copyright notices: Update copyright dates
47710         using scripts/update-copyrights.
47711         * intl/plural.c: Regenerated.
47712         * locale/programs/charmap-kw.h: Likewise.
47713         * locale/programs/locfile-kw.h: Likewise.
47715 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47717         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47718         four values.
47720         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47721         calculation loop and add branch prediction.
47723         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47724         check access beyond bounds of m1np.
47726         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47727         MPTWO.
47728         (__inv): Remove local variable MPTWO to use the global
47729         constant.
47730         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47731         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47732         variable MPTWO.
47733         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47734         MP3HALFS static const.
47736 2013-01-01  David S. Miller  <davem@davemloft.net>
47738         * po/ca.po: Update from translation team.
47740 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47742         * scripts/update-copyrights: New file.
47743         * Makeconfig: Reformat copyright notice.
47744         * ctype/ctype.h: Likewise.
47745         * debug/swprintf_chk.c: Likewise.
47746         * elf/dl-cache.c: Likewise.
47747         * elf/dl-debug.c: Likewise.
47748         * elf/dl-object.c: Likewise.
47749         * grp/initgroups.c: Likewise.
47750         * hurd/Makefile: Likewise.
47751         * hurd/hurd/signal.h: Likewise.
47752         * hurd/hurdfault.c: Likewise.
47753         * hurd/hurdioctl.c: Likewise.
47754         * hurd/hurdlookup.c: Likewise.
47755         * hurd/intr-msg.c: Likewise.
47756         * iconv/gconv_open.c: Likewise.
47757         * libio/swprintf.c: Likewise.
47758         * locale/lc-ctype.c: Likewise.
47759         * locale/nl_langinfo.c: Likewise.
47760         * mach/Machrules: Likewise.
47761         * mach/Makefile: Likewise.
47762         * malloc/obstack.h: Likewise.
47763         * manual/Makefile: Likewise.
47764         * manual/tsort.awk: Likewise.
47765         * misc/bits/stab.def: Likewise.
47766         * nis/nis_print_group_entry.c: Likewise.
47767         * nis/nis_table.c: Likewise.
47768         * nis/nss_compat/compat-pwd.c: Likewise.
47769         * nis/nss_compat/compat-spwd.c: Likewise.
47770         * po/Makefile: Likewise.
47771         * posix/fnmatch.c: Likewise.
47772         * posix/regex.h: Likewise.
47773         * resolv/Makefile: Likewise.
47774         * resolv/nss_dns/dns-network.c: Likewise.
47775         * resolv/res_hconf.c: Likewise.
47776         * scripts/gen-sorted.awk: Likewise.
47777         * soft-fp/soft-fp.h: Likewise.
47778         * stdio-common/printf.h: Likewise.
47779         * stdlib/monetary.h: Likewise.
47780         * stdlib/random.c: Likewise.
47781         * stdlib/random_r.c: Likewise.
47782         * sysdeps/generic/Makefile: Likewise.
47783         * sysdeps/gnu/Makefile: Likewise.
47784         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47785         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47786         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47787         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47788         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47789         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47790         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47791         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47792         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47793         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47794         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47795         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47796         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47797         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47798         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47799         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47800         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47801         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47802         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47803         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47804         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47805         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47806         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47807         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47808         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47809         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47810         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47811         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47812         * sysdeps/mach/hurd/errnos.awk: Likewise.
47813         * sysdeps/mach/hurd/fork.c: Likewise.
47814         * sysdeps/mach/hurd/getcwd.c: Likewise.
47815         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47816         * sysdeps/mach/hurd/mmap.c: Likewise.
47817         * sysdeps/mach/hurd/utimes.c: Likewise.
47818         * sysdeps/mach/hurd/xmknod.c: Likewise.
47819         * sysdeps/posix/profil.c: Likewise.
47820         * sysdeps/posix/readdir_r.c: Likewise.
47821         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47822         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47823         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47824         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47826         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47827         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47828         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47829         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47830         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47831         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47832         * sysdeps/pthread/lio_listio.c: Likewise.
47833         * sysdeps/sparc/dl-procinfo.h: Likewise.
47834         * sysdeps/unix/i386/sysdep.S: Likewise.
47835         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47836         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47837         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47838         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47840         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47841         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47842         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47843         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47844         * sysdeps/wordsize-32/divdi3.c: Likewise.
47845         * time/sys/time.h: Likewise.
47846         * wcsmbs/Makefile: Likewise.
47848 2013-01-01  David S. Miller  <davem@davemloft.net>
47850         * po/fr.po: Update from translation team.
47852         * catgets/gencat.c: Update copyright year.
47853         * csu/version.c: Likewise.
47854         * debug/catchsegv.sh: Likewise.
47855         * debug/pcprofiledump.c: Likewise.
47856         * debug/xtrace.sh: Likewise.
47857         * elf/ldconfig.c: Likewise.
47858         * elf/ldd.bash.in: Likewise.
47859         * elf/pldd.c: Likewise.
47860         * elf/sotruss.ksh: Likewise.
47861         * elf/sprof.c: Likewise.
47862         * iconv/iconv_prog.c: Likewise.
47863         * iconv/iconvconfig.c: Likewise.
47864         * locale/programs/locale.c: Likewise.
47865         * locale/programs/localedef.c: Likewise.
47866         * login/programs/pt_chown.c: Likewise.
47867         * malloc/memusage.sh: Likewise.
47868         * malloc/memusagestat.c: Likewise.
47869         * malloc/mtrace.pl: Likewise.
47870         * nscd/nscd.c: Likewise.
47871         * nss/getent.c: Likewise.
47872         * nss/makedb.c: Likewise.
47873         * posix/getconf.c: Likewise.
47875 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47877         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47878         numbers.
47880 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47882         * math/bits/mathcalls.h (modf): Use __nonnull.
47884 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47886         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47887         (split): Use macro CN instead of the bare value.
47888         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47889         could be used.
47890         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47891         instead of the bare value.
47892         (power1): Likewise.
47894 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47896         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47897         __ATAN_TWOM.
47898         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47900         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47901         their values.
47902         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47903         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47904         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47905         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47907 2012-12-28  Andreas Jaeger  <aj@suse.de>
47909         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47910         values are from Linux 3.7.
47912         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47913         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47915 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47917         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47918         TRUE case.
47920         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47921         (norm): Likewise.
47922         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47923         variables with preprocessor constants.
47924         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47925         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47926         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47928 2012-12-27  Bruno Haible  <bruno@clisp.org>
47930         [BZ #14317]
47931         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47932         only if needed.
47934 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47937         and use variable directly.
47938         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47940         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47941         MPONE.
47942         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47943         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47944         variable MPONE.
47945         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47946         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47947         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47948         include directive.  Remove local variable MPONE.
47949         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47950         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47951         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47953 2012-12-25  David S. Miller  <davem@davemloft.net>
47955         * version.h (RELEASE): Set to "development".
47956         (VERSION): Set to "2.17.90".
47957         * NEWS: Add 2.18 section.
47959 2012-12-21  David S. Miller  <davem@davemloft.net>
47961         * po/hr.po: Update from translation team.
47963 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47965         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47967 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47969         * NEWS:  Mention new memcpy for MIPS.
47971 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47973         * manual/contrib.texi (Contributors): Spelling correction.
47975 2012-12-15  David S. Miller  <davem@davemloft.net>
47977         * po/ru.po: Update from translation team.
47979 2012-12-13  David S. Miller  <davem@davemloft.net>
47981         * NEWS: Mention IFUNC testsuite enhancements.
47983         * po/pl.po: Update from translation team.
47984         * po/bg.po: Likewise.
47986         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47987         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47989 2012-12-11  David S. Miller  <davem@davemloft.net>
47991         * po/sv.po: Update from translation team.
47993         * po/vi.po: Update from translation team.
47995         * po/cs.po: Update from translation team.
47997         * po/de.po: Update from translation team.
47998         * po/eo.po: Likewise.
47999         * po/nl.po: Likewise.
48001 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48003         [BZ #14246]
48004         * manual/argp.texi (Argp Helper Functions): Move node to follow
48005         Argp Parsing State.
48007         [BZ #14872]
48008         * manual/conf.texi (Limits on File System Capacity): Mention if
48009         terminating null is included in the max size.
48011 2012-12-10  Andreas Jaeger  <aj@suse.de>
48013         * po/cs.po: Update from translation team.
48015 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48017         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48018         void pointer and cast to uintptr_t.
48019         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48020         path.
48021         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48022         * sysdeps/s390/s390-64/memset.S: Likewise.
48024 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48026         [BZ #14833]
48027         * menual/message.texi (Message Translation): Fix typos.
48028         (Helper programs for gettext): Likewise.
48030 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48032         [BZ #14898]
48033         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48034         Change to -1.
48036 2012-12-07  David S. Miller  <davem@davemloft.net>
48038         * po/libc.pot: Update.
48040 2012-12-07  Richard Henderson  <rth@redhat.com>
48042         [BZ #10114]
48043         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48044         normal/normal case to before the switch.
48045         (_FP_DIV): Likewise.
48047 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48048             Mike Frysinger  <vapier@gentoo.org>
48050         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48051         check for __NR_fadvise64_64.
48053 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48055         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48056         0, not just to plain "0" as a statement.
48057         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48058         with cw.
48060 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48062         * NEWS: Use sourceware.org in Bugzilla URL.
48064 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48067         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48069         * stdio-common/tst-put-error.c (do_test): Add newline to the
48070         padded test to ensure flush.
48072 2012-12-05  Jeff Law  <law@redhat.com>
48074         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48076 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48078         * README: Don't refer to ports add-on as distributed separately.
48079         Mention AArch64 in list of systems supported in the ports add-on.
48081         * LICENSES: Add more non-FSF copyright and license notices.
48083         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48084         ((unused)).
48086         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48088         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48089         10000 as width of padded output.
48091 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48093         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48095         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48096         variable LX with __attribute__ ((unused)).
48097         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48098         Likewise.
48099         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48100         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48101         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48102         with __attribute__ ((unused)).
48104 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48106         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48108 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48110         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48111         (CFLAGS-nldbl-acos.c): New variable.
48112         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48113         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48114         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48115         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48116         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48117         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48118         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48119         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48120         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48121         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48122         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48123         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48124         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48125         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48126         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48127         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48128         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48129         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48130         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48131         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48132         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48133         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48134         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48135         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48136         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48137         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48138         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48139         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48140         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48141         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48142         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48143         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48144         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48145         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48146         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48147         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48148         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48149         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48150         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48151         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48152         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48153         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48154         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48155         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48156         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48157         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48158         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48159         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48160         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48161         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48162         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48163         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48164         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48165         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48166         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48167         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48168         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48169         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48170         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48171         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48172         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48173         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48174         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48175         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48176         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48177         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48178         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48179         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48180         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48181         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48182         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48183         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48184         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48185         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48186         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48187         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48188         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48189         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48190         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48191         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48192         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48193         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48194         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48195         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48196         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48197         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48198         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48199         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48200         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48201         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48202         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48203         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48204         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48205         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48206         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48207         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48208         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48211         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48213         [BZ #14914]
48214         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48215         whole low double instead of just low 47 bits when splitting values
48216         into two parts.
48218 2012-12-03  Allan McRae  <allan@archlinux.org>
48220         * manual/stdio.texi (Predefined Printf Handlers): Remove
48221         @hsep and @vsep usage.
48223 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
48225         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48226         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48228 2012-12-03  Jeff Law  <law@redhat.com>
48230         * time/sys/time.h (settimeofday): Do not mark TV argument
48231         as __nonnull.
48233 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
48235         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48236         when currently writing and seek to current position when not.
48237         * libio/Makefile (tests): Remove bug-fclose1.
48238         * libio/bug-fclose1.c: Delete.
48240 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
48242         * manual/arith.texi (feenableexcept): Fix typo.
48243         (fedisableexcept): Likewise.
48245 2012-11-30  Roland McGrath  <roland@hack.frob.com>
48247         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48248         second, differently-typed declaration, rather than a cast.
48250 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48252         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48253         * include/rpc/svc.h: ... here.
48255 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
48257         [BZ #13013]
48258         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48259         depending n and resplen2 to catch cases where answer
48260         equals answerp2.
48262 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
48264         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48265         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48267 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
48269         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48271 2012-11-29  Roland McGrath  <roland@hack.frob.com>
48273         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48275 2012-11-28  Jeff Law  <law@redhat.com>
48277         [BZ #13761]
48278         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48279         dataset_temporary.  Track alloca usage into alloca_used.
48280         If dataset is large allocate and release it via malloc/free.
48282 2012-06-04  Florian Weimer  <fweimer@redhat.com>
48284         [BZ #14197]
48285         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48287 2012-11-28  David S. Miller  <davem@davemloft.net>
48289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48291 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48293         [BZ #14803]
48294         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48295         of pi/2 rounded to nearest to 64 bits.
48296         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48297         nearest to 64 bits.
48298         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48299         bits.
48301 2012-11-28  Jeff Law <law@redhat.com>
48302             Martin Osvald <mosvald@redhat.com>
48304         [BZ #14889]
48305         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48306         * sunrpc/svc.c: Include time.h.
48307         (__svc_accept_failed): New function.
48308         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48309         any reason other than EINTR, call __svc_accept_failed.
48310         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48311         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48313 2012-11-28  Andreas Schwab  <schwab@suse.de>
48315         * scripts/abilist.awk: Also handle indirect functions in .opd
48316         section.
48318 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48320         [BZ #13881]
48321         * sysdeps/x86/fpu/powl_helper.c: New file.
48322         * sysdeps/x86/fpu/Makefile: Likewise.
48323         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48324         (p3): New object.
48325         (__ieee754_powl): Use __powl_helper for finite arguments except
48326         integer exponents below 8.
48327         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48328         (p3): New object.
48329         (__ieee754_powl): Use __powl_helper for finite arguments except
48330         integer exponents below 8.
48331         * math/libm-test.inc (pow_test): Add more tests and enable some
48332         previously disabled tests.
48333         * sysdeps/i386/fpu/libm-test-ulps: Update.
48334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48336 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48337             Carlos O'Donell  <carlos_odonell@mentor.com>
48339         * nss/makedb.c (is_prime): Assert that input is odd and greater
48340         than 4.  Note that fact in a comment too.
48341         (next_prime): Add 4 to input.
48343 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48345         [BZ #11741]
48346         * libio/Makefile (tests): Add test case tst-fwrite-error.
48347         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48348         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48349         * libio/tst-fwrite-error.c: New test case.
48351 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
48353         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48354         before casting to void *.
48355         * include/libc-internal.h (__pointer_type): New macro.
48356         (__integer_if_pointer_type_sub): Likewise.
48357         (__integer_if_pointer_type): Likewise.
48358         (cast_to_integer): Likewise.
48359         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48360         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48361         before casting to atomic64_t.
48362         (atomic_exchange_acq): Likewise.
48363         (__arch_exchange_and_add_body): Likewise.
48364         (__arch_add_body): Likewise.
48365         (atomic_add_negative): Likewise.
48366         (atomic_add_zero): Likewise.
48368 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
48370         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48371         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48372         (add_fdes): Likewise.
48373         (linear_search_fdes): Likewise.
48374         (binary_search_unencoded_fdes): Likewise.
48376 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
48378         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48380 2012-11-24  Adam Conrad  <adconrad@0c3.net>
48382         * configure.in: Autodetect C++ header directories.
48383         * configure: Regenerated.
48385 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
48387         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48389 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
48391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48393 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
48395         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48396         LDBL_MANT_DIG == 106]: Disable some tests.
48397         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48398         Likewise.
48399         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48400         Likewise.
48402         [BZ #14871]
48403         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48404         input for small inputs.  Return +/- pi/2 for large inputs.
48405         * math/libm-test.inc (atan_test): Add more tests.
48407         * sysdeps/generic/unwind-dw2-fde-glibc.c
48408         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48409         __attribute__ ((unused)).
48411         [BZ #14645]
48412         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48413         x * y if x and y are nonzero and z is zero.
48415         [BZ #14811]
48416         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48417         nonzero exponents with absolute value below 0x1p-117 to +/-
48418         0x1p-117.
48420         [BZ #14869]
48421         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48422         up arguments below 2**-450, not just those below 2**-500.
48423         * math/libm-test.inc (hypot_test): Add another test.
48425         [BZ #14868]
48426         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48427         Return a+b for ratio over 2**120, not 2**60.
48428         * math/libm-test.inc (hypot_test): Add another test.
48430         * math/libm-test.inc (clog_test): Use
48431         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48432         (clog10_test): Likewise.
48434         [BZ #6778]
48435         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48437 2012-11-22  Andreas Schwab  <schwab@suse.de>
48439         * sysdeps/i386/fpu/libm-test-ulps: Update.
48441 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
48443         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48444         printf output with newline.
48446 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
48448         [BZ #14865]
48449         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48450         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48451         -z nodlopen, -z initfirst and -z execstack support.
48452         * configure: Regenerated.
48454         * elf/elf.h (DF_1_NODIRECT): New macro.
48455         (DF_1_IGNMULDEF): Likewise.
48456         (DF_1_NOKSYMS): Likewise.
48457         (DF_1_NOHDR): Likewise.
48458         (DF_1_EDITED): Likewise.
48459         (DF_1_NORELOC): Likewise.
48460         (DF_1_SYMINTPOSE): Likewise.
48461         (DF_1_GLOBAUDIT): Likewise.
48462         (DF_1_SINGLETON): Likewise.
48463         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48464         DT_1_SUPPORTED_MASK bits.
48465         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48467 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
48469         * sysdeps/unix/make-syscalls.sh: Document prefixes.
48471 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
48473         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48474         macro.
48476         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48477         (sendmmsg): Move declarations...
48478         * socket/sys/socket.h: ... here.
48479         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48480         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48481         include it from...
48482         * socket/recvmmsg.c: ... this new file.
48483         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48484         (sendmmsg): Rename to __sendmmsg, create weak alias and make
48485         definition of __sendmmsg hidden.
48486         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48487         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48488         Move ENOSYS stub into and include it from...
48489         * socket/sendmmsg.c: ... this new file.
48490         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48491         (sysdep_routines): Move recvmmsg and sendmmsg...
48492         * socket/Makefile (routines): ... here.
48493         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48494         (GLIBC_PRIVATE): Add __sendmmsg.
48495         * include/sys/socket.h (__sendmmsg): Add declarations.
48496         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48497         sendmmsg.
48499 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
48501         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48502         variable I1 with __attribute__ ((unused)).
48503         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48505 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48507         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48508         DUMMY variables with __attribute__ ((unused)).
48510         * bits/byteswap.h: Include <bits/types.h>.
48511         (__bswap_64): Use __uint64_t instead of unsigned long long int.
48513 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48515         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
48516         string_t.  Do not manually set errno.
48517         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
48518         length with __strnlen.  Make sure to both set errno and return it on
48519         failure.
48521 2012-11-19  David S. Miller  <davem@davemloft.net>
48523         With help from Joseph Myers.
48524         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
48525         very large arguments properly.
48526         * math/libm-test.inc (atan_test): New tests.
48527         (atan2_test): New tests.
48528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48531 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48533         [BZ #14856]
48534         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
48535         Define to 3.
48537         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
48538         [POSIX] (EADDRNOTAVAIL): Likewise.
48539         [POSIX] (EAFNOSUPPORT): Likewise.
48540         [POSIX] (EALREADY): Likewise.
48541         [POSIX] (ECONNABORTED): Likewise.
48542         [POSIX] (ECONNREFUSED): Likewise.
48543         [POSIX] (ECONNRESET): Likewise.
48544         [POSIX] (EDESTADDRREQ): Likewise.
48545         [POSIX] (EDQUOT): Likewise.
48546         [POSIX] (EHOSTUNREACH): Likewise.
48547         [POSIX] (EIDRM): Likewise.
48548         [POSIX] (EISCONN): Likewise.
48549         [POSIX] (ELOOP): Likewise.
48550         [POSIX] (EMULTIHOP): Likewise.
48551         [POSIX] (ENETDOWN): Likewise.
48552         [POSIX] (ENETUNREACH): Likewise.
48553         [POSIX] (ENOBUFS): Likewise.
48554         [POSIX] (ENODATA): Likewise.
48555         [POSIX] (ENOLINK): Likewise.
48556         [POSIX] (ENOMSG): Likewise.
48557         [POSIX] (ENOPROTOOPT): Likewise.
48558         [POSIX] (ENOSR): Likewise.
48559         [POSIX] (ENOSTR): Likewise.
48560         [POSIX] (ENOTCONN): Likewise.
48561         [POSIX] (ENOTSOCK): Likewise.
48562         [POSIX] (EOPNOTSUPP): Likewise.
48563         [POSIX] (EOVERFLOW): Likewise.
48564         [POSIX] (EPROTO): Likewise.
48565         [POSIX] (EPROTONOSUPPORT): Likewise.
48566         [POSIX] (EPROTOTYPE): Likewise.
48567         [POSIX] (ESTALE): Likewise.
48568         [POSIX] (ETIME): Likewise.
48569         [POSIX] (ETXTBSY): Likewise.
48570         [POSIX] (EWOULDBLOCK): Likewise.
48571         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
48572         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
48573         [POSIX] (SEEK_CUR): Likewise.
48574         [POSIX] (SEEK_END): Likewise.
48575         [POSIX || UNIX98] (mode_t): Do not require.
48576         [POSIX] (off_t): Likewise.
48577         [POSIX] (pid_t): Likewise.
48578         [POSIX] (sys/stat.h): Do not allow header.
48579         [POSIX] (unistd.h): Likewise.
48580         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
48581         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48582         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
48583         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
48584         require.
48585         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48586         sigevent): Specify elements.
48587         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48588         entry.
48589         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48590         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48592         * conform/data/cpio.h-data [POSIX]: Disable whole file.
48593         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48594         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48595         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48596         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48597         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48598         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48599         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48600         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48601         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48602         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48603         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48604         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48605         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48606         Likewise.
48607         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48608         Likewise.
48609         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48610         Likewise.
48611         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48612         Likewise.
48613         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48614         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48615         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48616         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48617         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48618         Specify lower bound on value.
48619         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48620         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48621         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48622         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48623         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48624         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48625         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48626         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48627         value.
48628         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48629         as optional.
48630         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48631         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48632         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48633         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48634         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48635         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48636         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48637         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48638         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48639         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48640         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
48641         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
48642         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
48643         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
48644         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
48645         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
48646         entry.
48647         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
48648         optional.
48649         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
48650         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
48651         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
48652         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
48653         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
48654         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
48655         Likewise.
48656         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
48657         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
48658         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
48659         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
48660         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
48661         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
48662         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
48663         as optional.
48664         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
48665         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
48666         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
48667         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
48668         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
48669         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
48670         specify as optional.
48671         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
48672         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
48673         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
48674         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
48675         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
48676         [XPG3] (NL_LANGMAX): Likewise.
48677         [POSIX || XPG3] (NL_MSGMAX): Likewise.
48678         [POSIX || XPG3] (NL_NMAX): Likewise.
48679         [POSIX || XPG3] (NL_SETMAX): Likewise.
48680         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
48681         [XPG3] (NZERO): Likewise.
48682         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
48683         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
48684         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
48685         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
48686         (REG_ERANGE): Expect.
48687         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
48688         optional-constant.
48689         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
48690         Use (void) in prototype.
48691         [POSIX] (*_t): Allow.
48692         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
48693         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
48694         (WRDE_BADVAL): Expect.
48696         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
48697         expect.
48698         [XPG3 || XPG4] (O_RSYNC): Likewise.
48699         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48700         Likewise.
48701         [XPG3 || XPG4] (pthread_sigmask): Likewise.
48702         [XPG3 || XPG4] (sigqueue): Likewise.
48703         [XPG3 || XPG4] (sigtimedwait): Likewise.
48704         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48705         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48706         [XPG3 || XPG4] (vsnprintf): Likewise.
48707         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48708         Likewise.
48709         [XPG3 || XPG4] (blksize_t): Likewise.
48710         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48711         Likewise.
48712         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48713         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48714         [XPG3 || XPG4] (struct itimerspec): Likewise.
48715         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48716         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48717         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48718         [XPG3 || XPG4] (clockid_t): Likewise.
48719         [XPG3 || XPG4] (timer_t): Likewise.
48720         [XPG3 || XPG4] (clock_getres): Likewise.
48721         [XPG3 || XPG4] (clock_gettime): Likewise.
48722         [XPG3 || XPG4] (clock_settime): Likewise.
48723         [XPG3 || XPG4] (nanosleep): Likewise.
48724         [XPG3 || XPG4] (timer_create): Likewise.
48725         [XPG3 || XPG4] (timer_delete): Likewise.
48726         [XPG3 || XPG4] (timer_gettime): Likewise.
48727         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48728         [XPG3 || XPG4] (timer_settime): Likewise.
48729         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48730         [XPG3 || XPG4] (getlogin_r): Likewise.
48731         [XPG3 || XPG4] (pread): Likewise.
48732         [XPG3 || XPG4] (pthread_atfork): Likewise.
48733         [XPG3 || XPG4] (pwrite): Likewise.
48735         [BZ #14835]
48736         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48737         <bits/siginfo.h>.
48739 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48741         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48742         finalizing MALLSTREAM.
48744         * sysdeps/mach/hurd/syncfs.c: New file.
48746 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48748         [BZ #14719]
48749         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48750         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48751         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48752         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48753         (_nss_dns_gethostbyname4_r): Likewise.
48754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48755         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48757 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48759         [BZ #13763]
48760         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48762 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48764         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48765         * elf/cache.c (print_entry): Print ",AArch64" for
48766         FLAG_AARCH64_LIB64
48768         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48769         * elf/cache.c (print_entry): Print ",hard-float" for
48770         FLAG_ARM_LIBHF.
48772 2012-11-18  David S. Miller  <davem@davemloft.net>
48774         With help from Joseph Myers.
48775         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48776         cutoff to 2**-13.
48777         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48778         cutoff to 2**-25.
48779         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48780         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48781         small.
48782         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48783         * math/libm-test.inc (y0_test): New tests.
48784         (y1_test): New tests.
48785         * sysdeps/i386/fpu/libm-test-ulps: Update.
48786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48789 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48791         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48792         64-bit targets.
48793         * configure: Regenerated.
48795 2012-11-17  David S. Miller  <davem@davemloft.net>
48797         [BZ #14811]
48798         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48799         nonzero exponents with absolute value below 0x1p-128 to +/-
48800         0x1p-128.
48802 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48804         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48806         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48808         * posix/getconf-speclist.c: New file.
48809         * posix/posix-envs.def: Likewise.
48810         * posix/confstr.c (START_ENV_GROUP): New macro.
48811         (END_ENV_GROUP): Likewise.
48812         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48813         (KNOWN_PRESENT_ENV_STRING): Likewise.
48814         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48815         (UNKNOWN_ENVIRONMENT): Likewise.
48816         (confstr): Include posix-envs.def instead of handling
48817         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48818         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48819         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48820         (END_ENV_GROUP): Likewise.
48821         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48822         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48823         (UNKNOWN_ENVIRONMENT): Likewise.
48824         (__sysconf): Include posix-envs.def instead of handling associated
48825         cases directly here.
48826         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48827         preprocessing getconf-speclist.c rather than running getconf or
48828         generating empty file.
48830 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48832         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48834 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48836         [BZ #14672]
48837         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48839 2012-11-16  David S. Miller  <davem@davemloft.net>
48841         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48842         smaller than LDBL_EPSILON/2.0L, just return xm1.
48844 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48846         * elf/tst-array1.c (init): Set constructor priority to 1000.
48847         (fini): Set destructor priority to 1000.
48848         * elf/tst-array2dep.c: Likewise.
48850 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48852         [BZ #11741]
48853         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48854         (_IO_new_file_xsputn): Also return EOF if none of the input
48855         data was written when overflow failed.
48856         * libio/iopadn.c (_IO_padn): Likewise.
48857         * libio/iowpadn.c (_IO_wpadn): Likewise.
48858         * stdio-common/tst-put-error.c: Add copyright notice.
48859         (do_test): Add case for printing padded string.
48860         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48861         _IO_padn returned error.
48862         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48863         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48864         return EOF.
48866 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48868         * libio/libioP.h: Add comment note that the references to C++
48869         bits are now obsolete.
48871 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48873         * math/libm-test.inc (check_complex): Use asprintf.
48875 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48877         * debug/pcprofiledump.c (print_version): Update copyright year.
48878         * malloc/memusagestat.c (print_version): Likewise.
48880 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48882         [BZ #14831]
48883         * elf/Makefile (tests): Add tst-audit8.
48884         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48885         ($(objpfx)tst-audit8.out): New target.
48886         (tst-audit8-ENV): New variable.
48887         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48888         audit if l_reloc_result is NULL.
48889         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48890         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48891         * elf/tst-audit8.c: New file.
48893 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48895         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48896         * misc/Makefile (CFLAGS-select.c): Define.
48897         * posix/Makefile (CFLAGS-pause.c): Define.
48899 2012-11-13  David S. Miller  <davem@davemloft.net>
48901         * crypt/Makefile: Move test targets after toplevel Rules
48902         inclusion.  Grab any necessary sysdep routines when linking.
48903         * crypt/md5.c (md5_process_block): Remove define, we will always
48904         name it __md5_process_block.
48905         (md5_finish_ctx): Update md5_process_block call.
48906         (md5_stream): Likewise.
48907         (md5_process_bytes): Likewise.
48908         (md5_process_block): Rename to __md5_process_block and move to ...
48909         * crypt/md5-block.c: ... here.
48910         * crypt/sha256.c (sha256_process_block): Move to ...
48911         * crypt/sha256-block.c: ... here.
48912         * crypt/sha512.c (sha512_process_block): Move to ...
48913         * crypt/sha512-block.c: ... here.
48914         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48915         path.
48916         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48917         * sysdeps/sparc/sparc64/multiarch/Makefile
48918         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48919         crypt subdir.
48920         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48921         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48922         multiarch changes.
48923         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48924         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48925         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48926         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48927         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48928         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48929         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48930         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48931         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48932         file.
48933         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48934         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48935         file.
48936         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48938 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48940         * timezone/tzselect.ksh: Update from tzcode git revision
48941         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48942         * timezone/zdump.c: Likewise.
48943         * timezone/zic.c: Likewise.
48944         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48945         in TZVERSION setting, not $(PKGVERSION).
48946         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48947         REPORT_BUGS_TO settings.
48949         [BZ #14838]
48950         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48951         macro.
48953 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48955         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48956         detection to immediately after _FP_ROUND().
48957         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48958         bits are 0.
48960 2012-11-11  David S. Miller  <davem@davemloft.net>
48962         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48963         inttypes.h
48964         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48965         __close rather than their public counterparts.
48967 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48969         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48970         file.
48971         [UNIX98] (sem_timedwait): Do not expect.
48972         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48973         [XPG4 || UNIX98] (sockatmark): Do not expect.
48974         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48975         (clock_getcpuclockid): Do not expect.
48976         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48977         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48978         Do not expect.
48979         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48980         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48981         [UNIX98] (vwscanf): Likewise.
48982         [UNIX98] (vswscanf): Likewise.
48984 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48986         * timezone/version.h: Remove file.
48987         * timezone/README: Do not refer to version.h.
48988         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48989         $(objpfx)version.h.
48990         ($(objpfx)zdump.o): Likewise.
48991         ($(objpfx)version.h): New target.
48993         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48994         2012i.
48995         * timezone/README: Don't mention modification to tzselect.ksh.
48996         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48997         work on unmodified tzselect.ksh.  Substitute version numbers in
48998         tzselect.ksh.
49000         * Makefile (format-me): Remove.
49001         (INSTALL): Adjust indentation.  Use commands directly instead of
49002         using $(format-me).
49004         * aclocal.m4 (ACX_PKGVERSION): New macro.
49005         (ACX_BUGURL): Likewise.
49006         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49007         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49008         (REPORT_BUGS_TO): Likewise.
49009         * configure: Regenerated.
49010         * config.h.in (PKGVERSION): New macro.
49011         (REPORT_BUGS_TO): Likewise.
49012         * config.make.in (PKGVERSION): New variable.
49013         (PKGVERSION_TEXI): Likewise.
49014         (REPORT_BUGS_TO): Likewise.
49015         (REPORT_BUGS_TEXI): Likewise.
49016         * Makefile (format-me): Use -I$(common-objpfx)manual.
49017         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49018         ($(common-objpfx)manual/%): New target.
49019         (manual/%): Remove target.
49020         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49021         (print_version): Use PKGVERSION.
49022         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49023         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49024         and REPORT_BUGS_TO.
49025         ($(objpfx)xtrace): Likewise.
49026         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49027         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49028         (print_version): Use PKGVERSION.
49029         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49030         (do_version): Use PKGVERSION.
49031         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49032         REPORT_BUGS_TO.
49033         (common-ldd-rewrite): Likewise.
49034         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49035         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49036         (print_version): Use PKGVERSION.
49037         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49038         * elf/pldd.c (argp_program_bug_address): Remove variable.
49039         (more_help): New function.
49040         (argp): Use more_help.
49041         (print_version): Use PKGVERSION.
49042         * elf/sln.c (main): Use PKGVERSION.
49043         (usage): Use REPORT_BUGS_TO.
49044         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49045         (top level): Use PKGVERSION.
49046         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49047         (print_version): Use PKGVERSION.
49048         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49049         (print_version): Use PKGVERSION.
49050         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49051         (print_version): Use PKGVERSION.
49052         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49053         (print_version): Use PKGVERSION.
49054         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49055         (print_version): Use PKGVERSION.
49056         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49057         (print_version): Use PKGVERSION.
49058         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49059         and BUGURL.
49060         ($(objpfx)memusage): Likewise.
49061         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49062         (do_version): Use PKGVERSION.
49063         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49064         (print_version): Use PKGVERSION.
49065         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49066         ($PKGVERSION): New variable.
49067         ($REPORT_BUGS_TO): Likewise.
49068         (usage): Use $REPORT_BUGS_TO.
49069         (top level): Use $PKGVERSION.
49070         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49071         ($(objpfx)pkgvers.texi): New rule.
49072         ($(objpfx)stamp-pkgvers): Likewise.
49073         * manual/install.texi: Include pkgvers.texi.
49074         (--with-pkgversion): Document new configure option.
49075         (--with-bugurl): Likewise.
49076         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49077         than necessarily for this particular distribution.  Use
49078         REPORT_BUGS_TO for where to report bugs.
49079         * INSTALL: Regenerated.
49080         * manual/libc.texinfo: Include pkgvers.texi.
49081         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49082         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49083         (print_version): Use PKGVERSION.
49084         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49085         (print_version): Use PKGVERSION.
49086         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49087         (print_version): Use PKGVERSION.
49088         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49089         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49090         macro.
49091         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49092         (print_version): Use PKGVERSION.
49093         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49094         (print_version): Use PKGVERSION.
49095         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49096         and PKGVERSION.
49098         * timezone/checktab.awk: Update from tzcode 2012i.
49099         * timezone/ialloc.c: Likewise.
49100         * timezone/private.h: Likewise.
49101         * timezone/scheck.c: Likewise.
49102         * timezone/tzfile.h: Likewise.
49103         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49104         (TZVERSION): Hardcode tzcode version number.
49105         * timezone/zdump.c: Update from tzcode 2012i.
49106         * timezone/zic.c: Likewise.
49107         * timezone/version.h: New file.
49108         * timezone/README: Describe version.h.  Update upstream location.
49110         [BZ #14824]
49111         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49112         (mktemp): Enable declaration.
49113         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49114         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49115         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49116         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49117         Likewise.
49118         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49119         Likewise.
49120         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49121         Likewise.
49122         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49123         Likewise.
49124         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49125         Likewise.
49126         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49127         Likewise.
49129         [BZ #14821]
49130         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49131         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49132         for copies of such integer values.
49133         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49134         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49136 2012-11-09  Andreas Jaeger  <aj@suse.de>
49138         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49139         definitions and declarations that are provided by
49140         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49142 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49144         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49145         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49146         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49147         definition.
49149 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49151         * elf/elf.h: Update comment before AArch64 relocations.
49153 2012-11-07  David S. Miller  <davem@davemloft.net>
49155         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49156         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49157         (__start_context): Declare.
49158         (__makecontext_ret): Delete.
49159         (__makecontext): Hook up __start_context instead of
49160         __makecontext_ret.
49161         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49162         (sysdep_routines): Add __start_context when in stdlib.
49164 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49166         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49167         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49168         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49169         hardcoded "nm".
49170         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49171         (READELF): New variable.  Use it instead of hardcoded "readelf".
49173 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49175         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49176         * sysdeps/x86/Makefile: Here.
49177         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49178         * sysdeps/x86/tst-xmmymm.sh: This.
49180 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49182         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49183         expectations.
49184         [UNIX98] (pthread_barrier_t): Do not expect.
49185         [UNIX98] (pthread_barrierattr_t): Likewise.
49186         [UNIX98] (pthread_spinlock_t): Likewise.
49187         [UNIX98] (pthread_barrier_destroy): Likewise.
49188         [UNIX98] (pthread_barrier_init): Likewise.
49189         [UNIX98] (pthread_barrier_wait): Likewise.
49190         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49191         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49192         [UNIX98] (pthread_barrierattr_init): Likewise.
49193         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49194         [UNIX98] (pthread_getcpuclockid): Likewise.
49195         [UNIX98] (pthread_mutex_timedlock): Likewise.
49196         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49197         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49198         [UNIX98] (pthread_sigmask): Likewise.
49199         [UNIX98] (pthread_spin_destroy): Likewise.
49200         [UNIX98] (pthread_spin_init): Likewise.
49201         [UNIX98] (pthread_spin_lock): Likewise.
49202         [UNIX98] (pthread_spin_trylock): Likewise.
49203         [UNIX98] (pthread_spin_unlock): Likewise.
49204         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49205         Do not expect.
49206         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49207         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49208         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49209         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49210         [XPG3 || XPG4] (pthread_key_t): Likewise.
49211         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49212         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49213         [XPG3 || XPG4] (pthread_once_t): Likewise.
49214         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49215         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49216         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49217         [XPG3 || XPG4] (pthread_t): Likewise.
49219         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49220         not expect.
49221         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49223         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49224         Change function return type to int.
49226         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49227         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49228         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49229         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49230         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49231         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49232         [!POSIX] (posix_madvise): Likewise.
49233         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49234         && !UNIX98].
49235         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49236         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49237         (mode_t): Likewise.
49238         (posix_mem_offset): Likewise.
49239         (posix_typed_mem_get_info): Likewise.
49240         (posix_typed_mem_open): Likewise.
49242         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49243         Change condition to [XOPEN2K8].
49245         * conform/conformtest.pl: Preprocess allow-header data with -x c
49246         instead of from stdin.
49247         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49248         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49249         [C99-based standards] (cerfc): Likewise.
49250         [C99-based standards] (cexp2): Likewise.
49251         [C99-based standards] (cexpm1): Likewise.
49252         [C99-based standards] (clog10): Likewise.
49253         [C99-based standards] (clog1p): Likewise.
49254         [C99-based standards] (clog2): Likewise.
49255         [C99-based standards] (clgamma): Likewise.
49256         [C99-based standards] (ctgamma): Likewise.
49257         [C99-based standards] (cerff): Likewise.
49258         [C99-based standards] (cerfcf): Likewise.
49259         [C99-based standards] (cexp2f): Likewise.
49260         [C99-based standards] (cexpm1f): Likewise.
49261         [C99-based standards] (clog10f): Likewise.
49262         [C99-based standards] (clog1pf): Likewise.
49263         [C99-based standards] (clog2f): Likewise.
49264         [C99-based standards] (clgammaf): Likewise.
49265         [C99-based standards] (ctgammaf): Likewise.
49266         [C99-based standards] (cerfl): Likewise.
49267         [C99-based standards] (cerfcl): Likewise.
49268         [C99-based standards] (cexp2l): Likewise.
49269         [C99-based standards] (cexpm1l): Likewise.
49270         [C99-based standards] (clog10l): Likewise.
49271         [C99-based standards] (clog1pl): Likewise.
49272         [C99-based standards] (clog2l): Likewise.
49273         [C99-based standards] (clgammal): Likewise.
49274         [C99-based standards] (ctgammal): Likewise.
49275         * conform/data/inttypes.h-data [C99-based standards]: Include
49276         stdint.h-data.  Remove all expectations for stdint.h contents.
49277         [C99-based standards] (PRI*): Do not allow.
49278         [C99-based standards] (SCN*): Likewise.
49279         [C99-based standards] (*_t): Likewise.
49280         [C99-based-standards] (PRId8): Expect macro.
49281         [C99-based-standards] (PRIi8): Likewise.
49282         [C99-based-standards] (PRIo8): Likewise.
49283         [C99-based-standards] (PRIu8): Likewise.
49284         [C99-based-standards] (PRIx8): Likewise.
49285         [C99-based-standards] (PRIX8): Likewise.
49286         [C99-based-standards] (SCNd8): Likewise.
49287         [C99-based-standards] (SCNi8): Likewise.
49288         [C99-based-standards] (SCNo8): Likewise.
49289         [C99-based-standards] (SCNu8): Likewise.
49290         [C99-based-standards] (SCNx8): Likewise.
49291         [C99-based-standards] (PRIdLEAST8): Likewise.
49292         [C99-based-standards] (PRIiLEAST8): Likewise.
49293         [C99-based-standards] (PRIoLEAST8): Likewise.
49294         [C99-based-standards] (PRIuLEAST8): Likewise.
49295         [C99-based-standards] (PRIxLEAST8): Likewise.
49296         [C99-based-standards] (PRIXLEAST8): Likewise.
49297         [C99-based-standards] (SCNdLEAST8): Likewise.
49298         [C99-based-standards] (SCNiLEAST8): Likewise.
49299         [C99-based-standards] (SCNoLEAST8): Likewise.
49300         [C99-based-standards] (SCNuLEAST8): Likewise.
49301         [C99-based-standards] (SCNxLEAST8): Likewise.
49302         [C99-based-standards] (PRIdFAST8): Likewise.
49303         [C99-based-standards] (PRIiFAST8): Likewise.
49304         [C99-based-standards] (PRIoFAST8): Likewise.
49305         [C99-based-standards] (PRIuFAST8): Likewise.
49306         [C99-based-standards] (PRIxFAST8): Likewise.
49307         [C99-based-standards] (PRIXFAST8): Likewise.
49308         [C99-based-standards] (SCNdFAST8): Likewise.
49309         [C99-based-standards] (SCNiFAST8): Likewise.
49310         [C99-based-standards] (SCNoFAST8): Likewise.
49311         [C99-based-standards] (SCNuFAST8): Likewise.
49312         [C99-based-standards] (SCNxFAST8): Likewise.
49313         [C99-based-standards] (PRId16): Likewise.
49314         [C99-based-standards] (PRIi16): Likewise.
49315         [C99-based-standards] (PRIo16): Likewise.
49316         [C99-based-standards] (PRIu16): Likewise.
49317         [C99-based-standards] (PRIx16): Likewise.
49318         [C99-based-standards] (PRIX16): Likewise.
49319         [C99-based-standards] (SCNd16): Likewise.
49320         [C99-based-standards] (SCNi16): Likewise.
49321         [C99-based-standards] (SCNo16): Likewise.
49322         [C99-based-standards] (SCNu16): Likewise.
49323         [C99-based-standards] (SCNx16): Likewise.
49324         [C99-based-standards] (PRIdLEAST16): Likewise.
49325         [C99-based-standards] (PRIiLEAST16): Likewise.
49326         [C99-based-standards] (PRIoLEAST16): Likewise.
49327         [C99-based-standards] (PRIuLEAST16): Likewise.
49328         [C99-based-standards] (PRIxLEAST16): Likewise.
49329         [C99-based-standards] (PRIXLEAST16): Likewise.
49330         [C99-based-standards] (SCNdLEAST16): Likewise.
49331         [C99-based-standards] (SCNiLEAST16): Likewise.
49332         [C99-based-standards] (SCNoLEAST16): Likewise.
49333         [C99-based-standards] (SCNuLEAST16): Likewise.
49334         [C99-based-standards] (SCNxLEAST16): Likewise.
49335         [C99-based-standards] (PRIdFAST16): Likewise.
49336         [C99-based-standards] (PRIiFAST16): Likewise.
49337         [C99-based-standards] (PRIoFAST16): Likewise.
49338         [C99-based-standards] (PRIuFAST16): Likewise.
49339         [C99-based-standards] (PRIxFAST16): Likewise.
49340         [C99-based-standards] (PRIXFAST16): Likewise.
49341         [C99-based-standards] (SCNdFAST16): Likewise.
49342         [C99-based-standards] (SCNiFAST16): Likewise.
49343         [C99-based-standards] (SCNoFAST16): Likewise.
49344         [C99-based-standards] (SCNuFAST16): Likewise.
49345         [C99-based-standards] (SCNxFAST16): Likewise.
49346         [C99-based-standards] (PRId32): Likewise.
49347         [C99-based-standards] (PRIi32): Likewise.
49348         [C99-based-standards] (PRIo32): Likewise.
49349         [C99-based-standards] (PRIu32): Likewise.
49350         [C99-based-standards] (PRIx32): Likewise.
49351         [C99-based-standards] (PRIX32): Likewise.
49352         [C99-based-standards] (SCNd32): Likewise.
49353         [C99-based-standards] (SCNi32): Likewise.
49354         [C99-based-standards] (SCNo32): Likewise.
49355         [C99-based-standards] (SCNu32): Likewise.
49356         [C99-based-standards] (SCNx32): Likewise.
49357         [C99-based-standards] (PRIdLEAST32): Likewise.
49358         [C99-based-standards] (PRIiLEAST32): Likewise.
49359         [C99-based-standards] (PRIoLEAST32): Likewise.
49360         [C99-based-standards] (PRIuLEAST32): Likewise.
49361         [C99-based-standards] (PRIxLEAST32): Likewise.
49362         [C99-based-standards] (PRIXLEAST32): Likewise.
49363         [C99-based-standards] (SCNdLEAST32): Likewise.
49364         [C99-based-standards] (SCNiLEAST32): Likewise.
49365         [C99-based-standards] (SCNoLEAST32): Likewise.
49366         [C99-based-standards] (SCNuLEAST32): Likewise.
49367         [C99-based-standards] (SCNxLEAST32): Likewise.
49368         [C99-based-standards] (PRIdFAST32): Likewise.
49369         [C99-based-standards] (PRIiFAST32): Likewise.
49370         [C99-based-standards] (PRIoFAST32): Likewise.
49371         [C99-based-standards] (PRIuFAST32): Likewise.
49372         [C99-based-standards] (PRIxFAST32): Likewise.
49373         [C99-based-standards] (PRIXFAST32): Likewise.
49374         [C99-based-standards] (SCNdFAST32): Likewise.
49375         [C99-based-standards] (SCNiFAST32): Likewise.
49376         [C99-based-standards] (SCNoFAST32): Likewise.
49377         [C99-based-standards] (SCNuFAST32): Likewise.
49378         [C99-based-standards] (SCNxFAST32): Likewise.
49379         [C99-based-standards] (PRId64): Likewise.
49380         [C99-based-standards] (PRIi64): Likewise.
49381         [C99-based-standards] (PRIo64): Likewise.
49382         [C99-based-standards] (PRIu64): Likewise.
49383         [C99-based-standards] (PRIx64): Likewise.
49384         [C99-based-standards] (PRIX64): Likewise.
49385         [C99-based-standards] (SCNd64): Likewise.
49386         [C99-based-standards] (SCNi64): Likewise.
49387         [C99-based-standards] (SCNo64): Likewise.
49388         [C99-based-standards] (SCNu64): Likewise.
49389         [C99-based-standards] (SCNx64): Likewise.
49390         [C99-based-standards] (PRIdLEAST64): Likewise.
49391         [C99-based-standards] (PRIiLEAST64): Likewise.
49392         [C99-based-standards] (PRIoLEAST64): Likewise.
49393         [C99-based-standards] (PRIuLEAST64): Likewise.
49394         [C99-based-standards] (PRIxLEAST64): Likewise.
49395         [C99-based-standards] (PRIXLEAST64): Likewise.
49396         [C99-based-standards] (SCNdLEAST64): Likewise.
49397         [C99-based-standards] (SCNiLEAST64): Likewise.
49398         [C99-based-standards] (SCNoLEAST64): Likewise.
49399         [C99-based-standards] (SCNuLEAST64): Likewise.
49400         [C99-based-standards] (SCNxLEAST64): Likewise.
49401         [C99-based-standards] (PRIdFAST64): Likewise.
49402         [C99-based-standards] (PRIiFAST64): Likewise.
49403         [C99-based-standards] (PRIoFAST64): Likewise.
49404         [C99-based-standards] (PRIuFAST64): Likewise.
49405         [C99-based-standards] (PRIxFAST64): Likewise.
49406         [C99-based-standards] (PRIXFAST64): Likewise.
49407         [C99-based-standards] (SCNdFAST64): Likewise.
49408         [C99-based-standards] (SCNiFAST64): Likewise.
49409         [C99-based-standards] (SCNoFAST64): Likewise.
49410         [C99-based-standards] (SCNuFAST64): Likewise.
49411         [C99-based-standards] (SCNxFAST64): Likewise.
49412         [C99-based-standards] (PRIdMAX): Likewise.
49413         [C99-based-standards] (PRIiMAX): Likewise.
49414         [C99-based-standards] (PRIoMAX): Likewise.
49415         [C99-based-standards] (PRIuMAX): Likewise.
49416         [C99-based-standards] (PRIxMAX): Likewise.
49417         [C99-based-standards] (PRIXMAX): Likewise.
49418         [C99-based-standards] (SCNdMAX): Likewise.
49419         [C99-based-standards] (SCNiMAX): Likewise.
49420         [C99-based-standards] (SCNoMAX): Likewise.
49421         [C99-based-standards] (SCNuMAX): Likewise.
49422         [C99-based-standards] (SCNxMAX): Likewise.
49423         [C99-based-standards] (PRIdPTR): Likewise.
49424         [C99-based-standards] (PRIiPTR): Likewise.
49425         [C99-based-standards] (PRIoPTR): Likewise.
49426         [C99-based-standards] (PRIuPTR): Likewise.
49427         [C99-based-standards] (PRIxPTR): Likewise.
49428         [C99-based-standards] (PRIXPTR): Likewise.
49429         [C99-based-standards] (SCNdPTR): Likewise.
49430         [C99-based-standards] (SCNiPTR): Likewise.
49431         [C99-based-standards] (SCNoPTR): Likewise.
49432         [C99-based-standards] (SCNuPTR): Likewise.
49433         [C99-based-standards] (SCNxPTR): Likewise.
49434         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49435         allow.
49436         * conform/data/stdint.h-data: Update comments to clarify
49437         requirements.
49438         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
49439         type.
49440         [C99-based standards] (INT8_MAX): Likewise.
49441         [C99-based standards] (INT16_MIN): Likewise.
49442         [C99-based standards] (INT16_MAX): Likewise.
49443         [C99-based standards] (INT32_MIN): Likewise.
49444         [C99-based standards] (INT32_MAX): Likewise.
49445         [C99-based standards] (INT64_MIN): Likewise.
49446         [C99-based standards] (INT64_MAX): Likewise.
49447         [C99-based standards] (UINT8_MAX): Likewise.
49448         [C99-based standards] (UINT16_MAX): Likewise.
49449         [C99-based standards] (UINT32_MAX): Likewise.
49450         [C99-based standards] (UINT64_MAX): Likewise.
49451         [C99-based standards] (INT_LEAST8_MIN): Likewise.
49452         [C99-based standards] (INT_LEAST8_MAX): Likewise.
49453         [C99-based standards] (INT_LEAST16_MIN): Likewise.
49454         [C99-based standards] (INT_LEAST16_MAX): Likewise.
49455         [C99-based standards] (INT_LEAST32_MIN): Likewise.
49456         [C99-based standards] (INT_LEAST32_MAX): Likewise.
49457         [C99-based standards] (INT_LEAST64_MIN): Likewise.
49458         [C99-based standards] (INT_LEAST64_MAX): Likewise.
49459         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49460         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49461         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49462         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49463         [C99-based standards] (INT_FAST8_MIN): Likewise.
49464         [C99-based standards] (INT_FAST8_MAX): Likewise.
49465         [C99-based standards] (INT_FAST16_MIN): Likewise.
49466         [C99-based standards] (INT_FAST16_MAX): Likewise.
49467         [C99-based standards] (INT_FAST32_MIN): Likewise.
49468         [C99-based standards] (INT_FAST32_MAX): Likewise.
49469         [C99-based standards] (INT_FAST64_MIN): Likewise.
49470         [C99-based standards] (INT_FAST64_MAX): Likewise.
49471         [C99-based standards] (UINT_FAST8_MAX): Likewise.
49472         [C99-based standards] (UINT_FAST16_MAX): Likewise.
49473         [C99-based standards] (UINT_FAST32_MAX): Likewise.
49474         [C99-based standards] (UINT_FAST64_MAX): Likewise.
49475         [C99-based standards] (INTPTR_MIN): Likewise.
49476         [C99-based standards] (INTPTR_MAX): Likewise.
49477         [C99-based standards] (UINTPTR_MAX): Likewise.
49478         [C99-based standards] (INTMAX_MIN): Likewise.
49479         [C99-based standards] (INTMAX_MAX): Likewise.
49480         [C99-based standards] (UINTMAX_MAX): Likewise.
49481         [C99-based standards] (PTRDIFF_MIN): Likewise.
49482         [C99-based standards] (PTRDIFF_MAX): Likewise.
49483         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49484         [C99-based standards] (SIZE_MAX): Likewise.
49485         [C99-based standards] (WCHAR_MAX): Likewise.
49486         [C99-based standards] (WINT_MAX): Likewise.
49487         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
49488         constraint on value.
49489         [C99-based standards] (WCHAR_MIN): Likewise.
49490         [C99-based standards] (WINT_MIN): Likewise.
49491         [C99-based standards] (*_t): Allow.
49492         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49493         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49494         Include math.h-data and complex.h-data.  Remove all expectations
49495         of math.h and complex.h contents.
49496         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49497         at end of line.
49498         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49499         (struct tm): Expect tag.
49500         [C99-based-standards] (wcstof): Expect function.
49501         [C99-based-standards] (wcstold): Likewise.
49502         [C99-based-standards] (wcstoll): Likewise.
49503         [C99-based-standards] (wcstoull): Likewise.
49504         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49505         macro-int-constant.  Specify type.
49506         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
49507         constraint on value.
49508         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49509         Specify type.
49510         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49511         Specify value.
49512         [ISO C standards]: Do not allow headers.
49513         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
49514         wcs[abcdefghijklmnopqrstuvwxyz]*.
49515         [ISO C standards] (*_t): Do not allow.
49516         * conform/data/wctype.h-data [C99-based standards] (iswblank):
49517         Expect function.
49518         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
49519         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49520         Specify type.
49521         [ISO C standards]: Do not allow headers.
49522         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
49523         is[abcdefghijklmnopqrstuvwxyz]*.
49524         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
49525         to[abcdefghijklmnopqrstuvwxyz]*.
49526         [ISO C standards] (*_t): Do not allow.
49527         * conform/data/stdalign.h-data: New file.
49528         * conform/data/stdbool.h-data: Likewise.
49529         * conform/data/stdnoreturn.h-data: Likewise.
49531 2012-11-07  Roland McGrath  <roland@hack.frob.com>
49533         [BZ #14815]
49534         * manual/filesys.texi (Directory Entries): Typo fix.
49535         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
49537 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49539         * elf/elf.h (EM_AARCH64): New macro.
49540         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
49541         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
49542         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
49543         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
49544         (R_AARCH64_TLSDESC): Likewise.
49545         (NT_ARM_TLS): Likewise.
49546         (NT_ARM_HW_BREAK): Likewise.
49547         (NT_ARM_HW_WATCH): Likewise.
49549 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49551         [BZ #14811]
49552         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
49553         (__ieee754_powl): Saturate nonzero exponents with absolute value
49554         below 0x1p-79 to +/- 0x1p-79.
49555         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
49556         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
49557         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
49558         nonzero exponents with absolute value below 0x1p-32 to +/-
49559         0x1p-32.
49560         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
49561         (__ieee754_powl): Saturate nonzero exponents with absolute value
49562         below 0x1p-79 to +/- 0x1p-79.
49563         * math/libm-test.inc (pow_test): Add more tests.
49565 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49567         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
49568         _dl_s390_cap_flags with kernel. Increase string length.
49569         (_dl_s390_platforms): Add z196 and zEC12.
49571 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49573         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
49574         Change XOPEN21K to XOPEN2K.
49576 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
49578         * string/memmove.c: Use memcpy when possible.
49580 2012-11-06  Andreas Jaeger  <aj@suse.de>
49582         * po/eo.po: Update from translation team.
49584 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
49586         [BZ #14793]
49587         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49588         exponent and small x and y exponents, scale x or y up.  Increase
49589         by 2 the exponent used in scaling up.
49590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49591         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49592         * math/libm-test.inc (fma_test): Add more tests.
49593         (fma_test_towardzero): Likewise.
49594         (fma_test_downward): Likewise.
49595         (fma_test_upward): Likewise.
49597 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
49599         [BZ #14805]
49600         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49601         fenv_t *.
49603         [BZ #14801]
49604         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49605         namespace for names of struct fields.
49606         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49607         fenv_t fields.
49608         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49609         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49611 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49613         [BZ #3665]
49614         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49616 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49618         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49619         PTR_DEMANGLE.
49621         [BZ #5246]
49622         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49623         PTR_DEMANGLE.
49625 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
49627         [BZ #14797]
49628         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49629         definitely overflow as x * y not x * y + z.
49630         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49631         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49632         * math/libm-test.inc (fma_test): Add more tests.
49633         (fma_test_towardzero): Likewise.
49634         (fma_test_downward): Likewise.
49635         (fma_test_upward): Likewise.
49637 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49639         [BZ #157]
49641         * include/stub-tag.h: Remove file.
49642         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
49643         '#include' of it.
49644         * manual/maint.texi (Porting): Don't reference it.
49645         * Makerules ($(objpfx)stubs): Likewise.
49646         * dirent/closedir.c: Don't include <stub-tag.h>.
49647         * dirent/dirfd.c: Likewise.
49648         * dirent/fdopendir.c: Likewise.
49649         * dirent/getdents.c: Likewise.
49650         * dirent/getdents64.c: Likewise.
49651         * dirent/opendir.c: Likewise.
49652         * dirent/readdir.c: Likewise.
49653         * dirent/readdir64.c: Likewise.
49654         * dirent/readdir64_r.c: Likewise.
49655         * dirent/readdir_r.c: Likewise.
49656         * dirent/rewinddir.c: Likewise.
49657         * dirent/seekdir.c: Likewise.
49658         * dirent/telldir.c: Likewise.
49659         * gmon/profil.c: Likewise.
49660         * grp/setgroups.c: Likewise.
49661         * inet/if_index.c: Likewise.
49662         * io/access.c: Likewise.
49663         * io/chdir.c: Likewise.
49664         * io/chmod.c: Likewise.
49665         * io/chown.c: Likewise.
49666         * io/close.c: Likewise.
49667         * io/dup.c: Likewise.
49668         * io/dup2.c: Likewise.
49669         * io/dup3.c: Likewise.
49670         * io/euidaccess.c: Likewise.
49671         * io/faccessat.c: Likewise.
49672         * io/fchdir.c: Likewise.
49673         * io/fchmod.c: Likewise.
49674         * io/fchmodat.c: Likewise.
49675         * io/fchown.c: Likewise.
49676         * io/fchownat.c: Likewise.
49677         * io/fcntl.c: Likewise.
49678         * io/flock.c: Likewise.
49679         * io/fstatfs.c: Likewise.
49680         * io/fstatfs64.c: Likewise.
49681         * io/fstatvfs.c: Likewise.
49682         * io/fstatvfs64.c: Likewise.
49683         * io/futimens.c: Likewise.
49684         * io/fxstat.c: Likewise.
49685         * io/fxstat64.c: Likewise.
49686         * io/fxstatat.c: Likewise.
49687         * io/fxstatat64.c: Likewise.
49688         * io/getcwd.c: Likewise.
49689         * io/isatty.c: Likewise.
49690         * io/lchmod.c: Likewise.
49691         * io/lchown.c: Likewise.
49692         * io/link.c: Likewise.
49693         * io/linkat.c: Likewise.
49694         * io/lseek.c: Likewise.
49695         * io/lseek64.c: Likewise.
49696         * io/lxstat64.c: Likewise.
49697         * io/mkdir.c: Likewise.
49698         * io/mkdirat.c: Likewise.
49699         * io/mkfifo.c: Likewise.
49700         * io/mkfifoat.c: Likewise.
49701         * io/open.c: Likewise.
49702         * io/open64.c: Likewise.
49703         * io/openat.c: Likewise.
49704         * io/openat64.c: Likewise.
49705         * io/pipe.c: Likewise.
49706         * io/pipe2.c: Likewise.
49707         * io/poll.c: Likewise.
49708         * io/posix_fadvise.c: Likewise.
49709         * io/posix_fadvise64.c: Likewise.
49710         * io/posix_fallocate.c: Likewise.
49711         * io/posix_fallocate64.c: Likewise.
49712         * io/read.c: Likewise.
49713         * io/readlink.c: Likewise.
49714         * io/readlinkat.c: Likewise.
49715         * io/rmdir.c: Likewise.
49716         * io/sendfile.c: Likewise.
49717         * io/sendfile64.c: Likewise.
49718         * io/statfs.c: Likewise.
49719         * io/statfs64.c: Likewise.
49720         * io/statvfs.c: Likewise.
49721         * io/statvfs64.c: Likewise.
49722         * io/symlink.c: Likewise.
49723         * io/symlinkat.c: Likewise.
49724         * io/ttyname.c: Likewise.
49725         * io/ttyname_r.c: Likewise.
49726         * io/umask.c: Likewise.
49727         * io/unlink.c: Likewise.
49728         * io/unlinkat.c: Likewise.
49729         * io/utime.c: Likewise.
49730         * io/utimensat.c: Likewise.
49731         * io/write.c: Likewise.
49732         * io/xmknod.c: Likewise.
49733         * io/xmknodat.c: Likewise.
49734         * io/xstat.c: Likewise.
49735         * io/xstat64.c: Likewise.
49736         * login/getpt.c: Likewise.
49737         * login/grantpt.c: Likewise.
49738         * login/unlockpt.c: Likewise.
49739         * math/e_acoshl.c: Likewise.
49740         * math/e_acosl.c: Likewise.
49741         * math/e_asinl.c: Likewise.
49742         * math/e_atan2l.c: Likewise.
49743         * math/e_atanhl.c: Likewise.
49744         * math/e_coshl.c: Likewise.
49745         * math/e_expl.c: Likewise.
49746         * math/e_fmodl.c: Likewise.
49747         * math/e_gammal_r.c: Likewise.
49748         * math/e_hypotl.c: Likewise.
49749         * math/e_j0l.c: Likewise.
49750         * math/e_j1l.c: Likewise.
49751         * math/e_jnl.c: Likewise.
49752         * math/e_lgammal_r.c: Likewise.
49753         * math/e_log10l.c: Likewise.
49754         * math/e_log2l.c: Likewise.
49755         * math/e_logl.c: Likewise.
49756         * math/e_powl.c: Likewise.
49757         * math/e_rem_pio2l.c: Likewise.
49758         * math/e_sinhl.c: Likewise.
49759         * math/e_sqrtl.c: Likewise.
49760         * math/fclrexcpt.c: Likewise.
49761         * math/fedisblxcpt.c: Likewise.
49762         * math/feenablxcpt.c: Likewise.
49763         * math/fegetenv.c: Likewise.
49764         * math/fegetexcept.c: Likewise.
49765         * math/fegetround.c: Likewise.
49766         * math/feholdexcpt.c: Likewise.
49767         * math/fesetenv.c: Likewise.
49768         * math/fesetround.c: Likewise.
49769         * math/feupdateenv.c: Likewise.
49770         * math/fgetexcptflg.c: Likewise.
49771         * math/fraiseexcpt.c: Likewise.
49772         * math/fsetexcptflg.c: Likewise.
49773         * math/ftestexcept.c: Likewise.
49774         * math/k_cosl.c: Likewise.
49775         * math/k_rem_pio2l.c: Likewise.
49776         * math/k_sinl.c: Likewise.
49777         * math/k_tanl.c: Likewise.
49778         * math/s_asinhl.c: Likewise.
49779         * math/s_atanl.c: Likewise.
49780         * math/s_cbrtl.c: Likewise.
49781         * math/s_erfl.c: Likewise.
49782         * math/s_expm1l.c: Likewise.
49783         * math/s_log1pl.c: Likewise.
49784         * math/s_tanhl.c: Likewise.
49785         * misc/acct.c: Likewise.
49786         * misc/brk.c: Likewise.
49787         * misc/chflags.c: Likewise.
49788         * misc/chroot.c: Likewise.
49789         * misc/fchflags.c: Likewise.
49790         * misc/fgetxattr.c: Likewise.
49791         * misc/flistxattr.c: Likewise.
49792         * misc/fremovexattr.c: Likewise.
49793         * misc/fsetxattr.c: Likewise.
49794         * misc/fsync.c: Likewise.
49795         * misc/ftruncate.c: Likewise.
49796         * misc/futimes.c: Likewise.
49797         * misc/futimesat.c: Likewise.
49798         * misc/getdomain.c: Likewise.
49799         * misc/getdtsz.c: Likewise.
49800         * misc/gethostid.c: Likewise.
49801         * misc/gethostname.c: Likewise.
49802         * misc/getloadavg.c: Likewise.
49803         * misc/getpagesize.c: Likewise.
49804         * misc/getsysstats.c: Likewise.
49805         * misc/getxattr.c: Likewise.
49806         * misc/gtty.c: Likewise.
49807         * misc/ioctl.c: Likewise.
49808         * misc/lgetxattr.c: Likewise.
49809         * misc/listxattr.c: Likewise.
49810         * misc/llistxattr.c: Likewise.
49811         * misc/lremovexattr.c: Likewise.
49812         * misc/lsetxattr.c: Likewise.
49813         * misc/lutimes.c: Likewise.
49814         * misc/madvise.c: Likewise.
49815         * misc/mincore.c: Likewise.
49816         * misc/mlock.c: Likewise.
49817         * misc/mlockall.c: Likewise.
49818         * misc/mmap.c: Likewise.
49819         * misc/mprotect.c: Likewise.
49820         * misc/msync.c: Likewise.
49821         * misc/munlock.c: Likewise.
49822         * misc/munlockall.c: Likewise.
49823         * misc/munmap.c: Likewise.
49824         * misc/preadv.c: Likewise.
49825         * misc/preadv64.c: Likewise.
49826         * misc/ptrace.c: Likewise.
49827         * misc/pwritev.c: Likewise.
49828         * misc/pwritev64.c: Likewise.
49829         * misc/readv.c: Likewise.
49830         * misc/reboot.c: Likewise.
49831         * misc/remap_file_pages.c: Likewise.
49832         * misc/removexattr.c: Likewise.
49833         * misc/revoke.c: Likewise.
49834         * misc/select.c: Likewise.
49835         * misc/setdomain.c: Likewise.
49836         * misc/setegid.c: Likewise.
49837         * misc/seteuid.c: Likewise.
49838         * misc/sethostid.c: Likewise.
49839         * misc/sethostname.c: Likewise.
49840         * misc/setregid.c: Likewise.
49841         * misc/setreuid.c: Likewise.
49842         * misc/setxattr.c: Likewise.
49843         * misc/sstk.c: Likewise.
49844         * misc/stty.c: Likewise.
49845         * misc/swapoff.c: Likewise.
49846         * misc/swapon.c: Likewise.
49847         * misc/sync.c: Likewise.
49848         * misc/syncfs.c: Likewise.
49849         * misc/syscall.c: Likewise.
49850         * misc/truncate.c: Likewise.
49851         * misc/ualarm.c: Likewise.
49852         * misc/usleep.c: Likewise.
49853         * misc/ustat.c: Likewise.
49854         * misc/utimes.c: Likewise.
49855         * misc/vhangup.c: Likewise.
49856         * misc/writev.c: Likewise.
49857         * posix/_exit.c: Likewise.
49858         * posix/alarm.c: Likewise.
49859         * posix/execve.c: Likewise.
49860         * posix/fexecve.c: Likewise.
49861         * posix/fork.c: Likewise.
49862         * posix/fpathconf.c: Likewise.
49863         * posix/getaddrinfo.c: Likewise.
49864         * posix/getegid.c: Likewise.
49865         * posix/geteuid.c: Likewise.
49866         * posix/getgid.c: Likewise.
49867         * posix/getgroups.c: Likewise.
49868         * posix/getlogin.c: Likewise.
49869         * posix/getlogin_r.c: Likewise.
49870         * posix/getpgid.c: Likewise.
49871         * posix/getpid.c: Likewise.
49872         * posix/getppid.c: Likewise.
49873         * posix/getresgid.c: Likewise.
49874         * posix/getresuid.c: Likewise.
49875         * posix/getsid.c: Likewise.
49876         * posix/getuid.c: Likewise.
49877         * posix/glob64.c: Likewise.
49878         * posix/nanosleep.c: Likewise.
49879         * posix/pathconf.c: Likewise.
49880         * posix/pause.c: Likewise.
49881         * posix/posix_madvise.c: Likewise.
49882         * posix/pread.c: Likewise.
49883         * posix/pread64.c: Likewise.
49884         * posix/pwrite.c: Likewise.
49885         * posix/pwrite64.c: Likewise.
49886         * posix/sched_getaffinity.c: Likewise.
49887         * posix/sched_getp.c: Likewise.
49888         * posix/sched_gets.c: Likewise.
49889         * posix/sched_primax.c: Likewise.
49890         * posix/sched_primin.c: Likewise.
49891         * posix/sched_rr_gi.c: Likewise.
49892         * posix/sched_setaffinity.c: Likewise.
49893         * posix/sched_setp.c: Likewise.
49894         * posix/sched_sets.c: Likewise.
49895         * posix/sched_yield.c: Likewise.
49896         * posix/setgid.c: Likewise.
49897         * posix/setlogin.c: Likewise.
49898         * posix/setpgid.c: Likewise.
49899         * posix/setresgid.c: Likewise.
49900         * posix/setresuid.c: Likewise.
49901         * posix/setsid.c: Likewise.
49902         * posix/setuid.c: Likewise.
49903         * posix/sleep.c: Likewise.
49904         * posix/spawni.c: Likewise.
49905         * posix/sysconf.c: Likewise.
49906         * posix/times.c: Likewise.
49907         * posix/wait.c: Likewise.
49908         * posix/wait3.c: Likewise.
49909         * posix/wait4.c: Likewise.
49910         * posix/waitpid.c: Likewise.
49911         * resolv/gai_sigqueue.c: Likewise.
49912         * resource/getpriority.c: Likewise.
49913         * resource/getrlimit.c: Likewise.
49914         * resource/getrusage.c: Likewise.
49915         * resource/nice.c: Likewise.
49916         * resource/setpriority.c: Likewise.
49917         * resource/setrlimit.c: Likewise.
49918         * resource/ulimit.c: Likewise.
49919         * rt/aio_cancel.c: Likewise.
49920         * rt/aio_fsync.c: Likewise.
49921         * rt/aio_read.c: Likewise.
49922         * rt/aio_sigqueue.c: Likewise.
49923         * rt/aio_suspend.c: Likewise.
49924         * rt/aio_write.c: Likewise.
49925         * rt/clock_getres.c: Likewise.
49926         * rt/clock_gettime.c: Likewise.
49927         * rt/clock_nanosleep.c: Likewise.
49928         * rt/clock_settime.c: Likewise.
49929         * rt/lio_listio.c: Likewise.
49930         * rt/mq_close.c: Likewise.
49931         * rt/mq_getattr.c: Likewise.
49932         * rt/mq_notify.c: Likewise.
49933         * rt/mq_open.c: Likewise.
49934         * rt/mq_receive.c: Likewise.
49935         * rt/mq_send.c: Likewise.
49936         * rt/mq_setattr.c: Likewise.
49937         * rt/mq_timedreceive.c: Likewise.
49938         * rt/mq_timedsend.c: Likewise.
49939         * rt/mq_unlink.c: Likewise.
49940         * rt/shm_open.c: Likewise.
49941         * rt/shm_unlink.c: Likewise.
49942         * rt/timer_create.c: Likewise.
49943         * rt/timer_delete.c: Likewise.
49944         * rt/timer_getoverr.c: Likewise.
49945         * rt/timer_gettime.c: Likewise.
49946         * rt/timer_settime.c: Likewise.
49947         * setjmp/__longjmp.c: Likewise.
49948         * setjmp/setjmp.c: Likewise.
49949         * signal/kill.c: Likewise.
49950         * signal/killpg.c: Likewise.
49951         * signal/raise.c: Likewise.
49952         * signal/sigaction.c: Likewise.
49953         * signal/sigaltstack.c: Likewise.
49954         * signal/sigblock.c: Likewise.
49955         * signal/sigignore.c: Likewise.
49956         * signal/sigintr.c: Likewise.
49957         * signal/signal.c: Likewise.
49958         * signal/sigpause.c: Likewise.
49959         * signal/sigpending.c: Likewise.
49960         * signal/sigqueue.c: Likewise.
49961         * signal/sigreturn.c: Likewise.
49962         * signal/sigset.c: Likewise.
49963         * signal/sigsetmask.c: Likewise.
49964         * signal/sigstack.c: Likewise.
49965         * signal/sigsuspend.c: Likewise.
49966         * signal/sigtimedwait.c: Likewise.
49967         * signal/sigvec.c: Likewise.
49968         * signal/sigwait.c: Likewise.
49969         * signal/sigwaitinfo.c: Likewise.
49970         * signal/sysv_signal.c: Likewise.
49971         * socket/accept.c: Likewise.
49972         * socket/accept4.c: Likewise.
49973         * socket/bind.c: Likewise.
49974         * socket/connect.c: Likewise.
49975         * socket/getpeername.c: Likewise.
49976         * socket/getsockname.c: Likewise.
49977         * socket/getsockopt.c: Likewise.
49978         * socket/isfdtype.c: Likewise.
49979         * socket/listen.c: Likewise.
49980         * socket/recv.c: Likewise.
49981         * socket/recvfrom.c: Likewise.
49982         * socket/recvmsg.c: Likewise.
49983         * socket/send.c: Likewise.
49984         * socket/sendmsg.c: Likewise.
49985         * socket/sendto.c: Likewise.
49986         * socket/setsockopt.c: Likewise.
49987         * socket/shutdown.c: Likewise.
49988         * socket/sockatmark.c: Likewise.
49989         * socket/socket.c: Likewise.
49990         * socket/socketpair.c: Likewise.
49991         * stdio-common/ctermid.c: Likewise.
49992         * stdio-common/cuserid.c: Likewise.
49993         * stdio-common/remove.c: Likewise.
49994         * stdio-common/rename.c: Likewise.
49995         * stdio-common/renameat.c: Likewise.
49996         * stdio-common/tempname.c: Likewise.
49997         * stdlib/getcontext.c: Likewise.
49998         * stdlib/makecontext.c: Likewise.
49999         * stdlib/setcontext.c: Likewise.
50000         * stdlib/swapcontext.c: Likewise.
50001         * stdlib/system.c: Likewise.
50002         * streams/fattach.c: Likewise.
50003         * streams/fdetach.c: Likewise.
50004         * streams/getmsg.c: Likewise.
50005         * streams/getpmsg.c: Likewise.
50006         * streams/putmsg.c: Likewise.
50007         * streams/putpmsg.c: Likewise.
50008         * sysdeps/unix/bsd/getpt.c: Likewise.
50009         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50010         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50011         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50013         Likewise.
50014         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50015         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50016         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50017         * sysvipc/msgctl.c: Likewise.
50018         * sysvipc/msgget.c: Likewise.
50019         * sysvipc/msgrcv.c: Likewise.
50020         * sysvipc/msgsnd.c: Likewise.
50021         * sysvipc/semctl.c: Likewise.
50022         * sysvipc/semget.c: Likewise.
50023         * sysvipc/semop.c: Likewise.
50024         * sysvipc/semtimedop.c: Likewise.
50025         * sysvipc/shmat.c: Likewise.
50026         * sysvipc/shmctl.c: Likewise.
50027         * sysvipc/shmdt.c: Likewise.
50028         * sysvipc/shmget.c: Likewise.
50029         * termios/tcdrain.c: Likewise.
50030         * termios/tcflow.c: Likewise.
50031         * termios/tcflush.c: Likewise.
50032         * termios/tcgetattr.c: Likewise.
50033         * termios/tcgetpgrp.c: Likewise.
50034         * termios/tcsendbrk.c: Likewise.
50035         * termios/tcsetattr.c: Likewise.
50036         * termios/tcsetpgrp.c: Likewise.
50037         * time/adjtime.c: Likewise.
50038         * time/clock.c: Likewise.
50039         * time/getitimer.c: Likewise.
50040         * time/gettimeofday.c: Likewise.
50041         * time/setitimer.c: Likewise.
50042         * time/settimeofday.c: Likewise.
50043         * time/stime.c: Likewise.
50044         * time/time.c: Likewise.
50046 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50048         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50049         /usr/old/bin.
50051         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50052         instead of spaces.
50053         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50055 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50057         [BZ #14796]
50058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50059         FE_TONEAREST before applying Dekker multiplication and Knuth
50060         addition.  Clear inexact exceptions and check for exact zero
50061         results afterwards.
50062         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50063         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50065         * math/libm-test.inc (fma_test): Add more tests.
50066         (fma_test_towardzero): Likewise.
50067         (fma_test_downward): Likewise.
50068         (fma_test_upward): Likewise.
50069         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50070         function.
50071         (libc_fesetround): New macro.
50072         (libc_fesetroundf): Likewise.
50073         (libc_fesetroundl): Likewise.
50074         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50075         function.
50076         (libc_fesetround_387): Likewise.
50077         (libc_fesetroundf): New macro.
50078         (libc_fesetround): Likewise.
50079         (libc_fesetroundl): Likewise.
50080         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50081         function.
50082         (libc_fesetroundf): New macro.
50083         (libc_fesetround): Likewise.
50084         (libc_fesetroundl): Likewise.
50085         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50086         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50087         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50088         libm_hidden_ver.
50089         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50090         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50091         libm_hidden_def.
50092         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50093         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50094         libm_hidden_ver.
50095         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50096         libm_hidden_def.
50098         [BZ #3439]
50099         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50100         integer constant usable in #if and use that to give value to enum
50101         constant.
50102         (FE_DIVBYZERO): Likewise.
50103         (FE_UNDERFLOW): Likewise.
50104         (FE_OVERFLOW): Likewise.
50105         (FE_INVALID): Likewise.
50106         (FE_INVALID_SNAN): Likewise.
50107         (FE_INVALID_ISI): Likewise.
50108         (FE_INVALID_IDI): Likewise.
50109         (FE_INVALID_ZDZ): Likewise.
50110         (FE_INVALID_IMZ): Likewise.
50111         (FE_INVALID_COMPARE): Likewise.
50112         (FE_INVALID_SOFTWARE): Likewise.
50113         (FE_INVALID_SQRT): Likewise.
50114         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50115         (FE_TONEAREST): Likewise.
50116         (FE_TOWARDZERO): Likewise.
50117         (FE_UPWARD): Likewise.
50118         (FE_DOWNWARD): Likewise.
50119         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50120         (FE_DIVBYZERO): Likewise.
50121         (FE_OVERFLOW): Likewise.
50122         (FE_UNDERFLOW): Likewise.
50123         (FE_INEXACT): Likewise.
50124         (FE_TONEAREST): Likewise.
50125         (FE_DOWNWARD): Likewise.
50126         (FE_UPWARD): Likewise.
50127         (FE_TOWARDZERO): Likewise.
50128         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50129         (FE_UNDERFLOW): Likewise.
50130         (FE_OVERFLOW): Likewise.
50131         (FE_DIVBYZERO): Likewise.
50132         (FE_INVALID): Likewise.
50133         (FE_TONEAREST): Likewise.
50134         (FE_TOWARDZERO): Likewise.
50135         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50136         (FE_OVERFLOW): Likewise.
50137         (FE_UNDERFLOW): Likewise.
50138         (FE_DIVBYZERO): Likewise.
50139         (FE_INEXACT): Likewise.
50140         (FE_TONEAREST): Likewise.
50141         (FE_TOWARDZERO): Likewise.
50142         (FE_UPWARD): Likewise.
50143         (FE_DOWNWARD): Likewise.
50144         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50145         (FE_DIVBYZERO): Likewise.
50146         (FE_OVERFLOW): Likewise.
50147         (FE_UNDERFLOW): Likewise.
50148         (FE_INEXACT): Likewise.
50149         (FE_TONEAREST): Likewise.
50150         (FE_DOWNWARD): Likewise.
50151         (FE_UPWARD): Likewise.
50152         (FE_TOWARDZERO): Likewise.
50154 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
50156         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50158 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50160         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50161         commands.  Quote $PWD.
50162         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50163         -x" by "export".
50164         (remove_newlines): Remove.
50166 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50168         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50169         * stdlib/stdlib.h (atof): Moved to ...
50170         * include/bits/stdlib-float.h: Here.  New file.
50171         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50172         * stdlib/bits/stdlib-float.h: New file.
50173         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50174         -mno-sse -mno-mmx.
50175         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50176         <xmmintrin.h>.
50178 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50180         * conform/conformtest.pl (@headers): Add fenv.h.
50181         * conform/data/fenv.h-data: New file.
50182         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50183         include of <math/fenv.h>.
50185         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50186         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50187         && !UNIX98].  Enables tests for XOPEN2K8.
50188         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50189         POSIX2008]: Likewise.
50191         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50192         (struct rusage): Do not expect type or its members.
50194         [BZ #3439]
50195         * math/math.h (FP_NAN): Define macro to integer constant usable in
50196         #if and use that to give value to enum constant.
50197         (FP_INFINITE): Likewise.
50198         (FP_ZERO): Likewise.
50199         (FP_SUBNORMAL): Likewise.
50200         (FP_NORMAL): Likewise.
50202 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50204         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50205         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50206         arguments.
50208 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50210         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50211         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50212         autoconf-time if not.
50213         * configure.in: Remove AC_PREREQ.
50215 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50217         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50218         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50219         of the internal implementation.
50221 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50223         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50224         except include of <misc/sys/syslog.h>.
50226 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50229         function returns with a NULL context exit with zero.
50231 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50233         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50235 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
50237         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50238         (run_program_cmd): This.
50239         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50240         (tst_langinfo): New variable.  Use it.
50242 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
50244         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50245         floating point opcodes.
50247 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50249         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50250         variable.
50252         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50254         * sysdeps/mach/hurd/powerpc: Remove directory.
50255         * sysdeps/mach/powerpc: Likewise.
50257 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50259         * scripts/check-local-headers.sh: Ignore c++ headers.
50261 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50263         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50264         __libc_cleanup_region_start argument.
50266 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
50268         [BZ #14784]
50269         [BZ #14785]
50270         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50271         x * y using scaling, not as x * y + z.
50272         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50273         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50274         * math/libm-test.inc (fma_test): Add more tests.
50275         (fma_test_towardzero): Likewise.
50276         (fma_test_downward): Likewise.
50277         (fma_test_upward): Likewise.
50279 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50281         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50283 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50285         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50286         New variable.
50288 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
50290         * rt/tst-shm.c (worker): Correct checking for mmap failure.
50292 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50295         Fix sort order.
50296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50297         Likewise.
50299 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50302         Fix the order of the list for glibc 2.17.
50303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50304         Likewise.
50306 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50310 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50312         [BZ #14610]
50313         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50314         for low part of x being zero before using __atanl (y).
50315         * math/libm-test.inc (atan2_test): Add another test.
50317         * manual/install.texi (Configuring and compiling): Document
50318         general use of test-wrapper and test-wrapper-env.
50319         * INSTALL: Regenerated.
50321         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50322         (__fma): Do not extract and scale down low bits on after-rounding
50323         systems when result rounded to normal precision would have normal
50324         exponent.
50325         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50326         (__fmal): Do not extract and scale down low bits on after-rounding
50327         systems when result rounded to normal precision would have normal
50328         exponent.
50329         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50330         (__fmal): Do not extract and scale down low bits on after-rounding
50331         systems when result rounded to normal precision would have normal
50332         exponent.
50333         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50334         macro.
50335         (fma_test): Add more tests.
50336         (fma_test_towardzero): Likewise.
50337         (fma_test_downward): Likewise.
50338         (fma_test_upward): Likewise.
50340 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
50342         * sysdeps/i386/tininess.h: Renamed to ...
50343         * sysdeps/x86/tininess.h: This.
50344         * sysdeps/x86_64/tininess.h: Removed.
50346 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50348         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50349         input.  Use $(build-program-cmd).
50350         ($(objpfx)tst-array1-static.out): Likewise.
50351         ($(objpfx)tst-array2.out): Likewise.
50352         ($(objpfx)tst-array3.out): Likewise.
50353         ($(objpfx)tst-array4.out): Likewise.
50354         ($(objpfx)tst-array5.out): Likewise.
50355         ($(objpfx)tst-array5-static.out): Likewise.
50357 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
50359         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50360         if defined.
50362         * nss/nsswitch.h (nss_interface_function): Provide new
50363         macro for use with NSS functions.
50364         * grp/initgroups.c: Use new macro.
50365         * nss/getXXbyYY.c: Likewise.
50366         * nss/getXXbyYY_r.c: Likewise.
50367         * nss/getXXent.c: Likewise.
50368         * nss/getXXent_r.c: Likewise.
50369         * sysdeps/posix/getaddrinfo.c: Likewise.
50371 2012-10-30  Andreas Jaeger  <aj@suse.de>
50373         * po/ru.po: Update Russion translation from translation project.
50375 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50377         [BZ #14152]
50378         [BZ #14783]
50379         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50380         result and shift together with sticky bit instead of replicating
50381         round-to-nearest rounding.
50382         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50383         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50384         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
50385         missing underflow exceptions.
50386         (fma_test_towardzero): Add more tests.
50387         (fma_test_downward): Likewise.
50388         (fma_test_upward): Likewise.
50390         [BZ #14047]
50391         * sysdeps/generic/tininess.h: New file.
50392         * sysdeps/i386/tininess.h: Likewise.
50393         * sysdeps/sh/tininess.h: Likewise.
50394         * sysdeps/x86_64/tininess.h: Likewise.
50395         * stdlib/tst-strtod-underflow.c: Likewise.
50396         * stdlib/tst-tininess.c: Likewise.
50397         * stdlib/strtod_l.c: Include <tininess.h>.
50398         (round_and_return): Do not set errno for exact underflow cases.
50399         Force an underflow exception when setting errno for underflow.
50400         Determine underflow based on rounding to normal precision if
50401         TININESS_AFTER_ROUNDING.
50402         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50403         ERANGE for exact underflow cases.
50404         * stdlib/Makefile (tests): Add tst-tininess and
50405         tst-strtod-underflow.
50406         ($(objpfx)tst-tininess): Use $(link-libm).
50407         ($(objpfx)tst-strtod-underflow): Likewise.
50409 2012-10-30  Andreas Jaeger  <aj@suse.de>
50411         [BZ#14767]
50412         * elf/Makefile (tests): Remove conditional for have-initfini-array
50413         since this is now always required and the variable does not exist
50414         anymore.
50415         (tests-static): Likewise.
50416         (modules-names): Likewise.
50418         * po/eo.po: Add Esperanto translation from translation project.
50420         * elf/tst-array1.c (fini_array): Make writeable so that it can be
50421         merged with constructor/destructor.
50422         (init_array): Likewise.
50423         * elf/tst-array2dep.c (fini_array): Likewise.
50424         (init_array): Likewise.
50426 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
50428         * manual/message.texi: Delete @cartouche tags.
50430 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
50432         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50433         EOPNOTSUPP.
50434         * sysdeps/mach/hurd/fsync.c: Likewise.
50436         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50437         [_POSIX_REALTIME_SIGNALS]: Change condition to
50438         [_POSIX_REALTIME_SIGNALS > 0].
50440 2012-10-27  Andreas Jaeger  <aj@suse.de>
50442         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50443         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50444         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50445         [__WORDSIZE != 64]: Likewise.
50447 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
50449         *  iconvdata/tst-table.sh: Remove ${SHELL}.
50450         *  iconvdata/tst-tables.sh: Likewise.
50452 2012-10-25  David S. Miller  <davem@davemloft.net>
50454         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50455         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50456         of strtoull.
50458         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50459         ifunc-impl-list.c
50460         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50461         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50462         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50463         file.
50465 2012-10-25  Roland McGrath  <roland@hack.frob.com>
50467         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50468         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50469         __getdirentries.
50471 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50472             Jim Blandy  <jimb@codesourcery.com>
50474         * scripts/cross-test-ssh.sh: New file.
50475         * manual/install.texi (Configuring and compiling): Document use of
50476         cross-test-ssh.sh.
50477         * INSTALL: Regenerated.
50479 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
50481         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50482         EOPNOTSUPP.
50484 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50486         * Makeconfig (run-program-prefix): Fix comment.
50488 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50489             Jim Blandy  <jimb@codesourcery.com>
50491         * Makeconfig (test-wrapper): New variable,
50492         (test-wrapper-env): Likewise.
50493         [$(cross-compiling) = yes && $(test-wrapper) != ""]
50494         (run-built-tests): Define to yes.
50495         (run-program-prefix): Use $(test-wrapper).
50496         (built-program-cmd): Likewise.
50497         * Rules (make-test-out): Use $(test-wrapper-env) and
50498         $(host-built-program-cmd).
50499         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50500         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50501         tst-pathopt.sh.
50502         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50503         $(test-wrapper-env) to tst-rtld-load-self.sh.
50504         ($(objpfx)order2.out): Use $(test-wrapper).
50505         ($(objpfx)tst-initorder.out): Likewise.
50506         ($(objpfx)tst-initorder2.out): Likewise.
50507         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50508         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50509         (test_wrapper_env): New variable.  Use it to run ld.so.
50510         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50511         Use it to run ld.so.
50512         (test_wrapper_env): Likewise.
50513         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
50514         $(test-wrapper) to run-iconv-test.sh.
50515         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
50516         (ICONV): Use $test_wrapper.
50517         * posix/Makefile ($(objpfx)globtest.out): Pass
50518         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
50519         globtest.sh, not $(run-program-prefix).
50520         * posix/globtest.sh (run_via_rtld_prefix): New variable.
50521         (test_wrapper): Likewise.
50522         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
50523         set together with run_via_rtld_prefix.
50524         (run_program_prefix): Define in terms of test_wrapper and
50525         run_via_rtld_prefix.
50527 2012-10-24  Roland McGrath  <roland@hack.frob.com>
50529         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
50530         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
50531         Targets removed.
50533         [BZ #14743]
50534         * include/time.h: Remove librt_hidden_proto (clock_gettime).
50535         Declare __clock_getres, __clock_gettime, __clock_settime,
50536         __clock_nanosleep, and __clock_getcpuclockid.
50537         * rt/clock_gettime.c: Define __clock_gettime as an alias.
50538         Remove librt_hidden_def (clock_gettime).
50539         * sysdeps/unix/clock_gettime.c: Likewise.
50540         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
50541         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
50542         * rt/clock_getres.c: Define __clock_getres as an alias.
50543         * sysdeps/posix/clock_getres.c: Likewise.
50544         * rt/clock_settime.c: Define __clock_settime as an alias.
50545         * sysdeps/unix/clock_settime.c: Likewise.
50546         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
50547         * sysdeps/unix/clock_nanosleep.c: Likewise.
50548         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
50549         * rt/clock-compat.c: New file.
50550         * rt/Makefile (librt-routines): Add clock-compat and move
50551         $(clock-routines) to ...
50552         (routines): ... here, new variable.
50553         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
50554         Don't add get_clockfreq here.
50555         * rt/Versions (libc: GLIBC_2.17): New version set.
50556         Add clock_* symbols here.
50557         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
50558         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
50559         (GLIBC_2.17): Add clock_* symbols.
50560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50562         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50564         Likewise.
50565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50566         Likewise.
50567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50571         * NEWS: Mention the move.
50573         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50574         Use __open, __read, __close rather than their public counterparts.
50575         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50576         (__get_clockfreq_via_cpuinfo): Likewise.
50577         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
50578         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
50580         * config.h.in (HAVE_IFUNC): New #undef.
50581         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
50582         was successful.
50583         * configure: Regenerated.
50585 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50587         * configure.in: Move READELF check to start of file.
50588         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50589         libc_cv_asm_gnu_indirect_function in the process.
50590         * configure: Regenerated.
50592 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50594         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50595         send the output to /dev/null.
50596         (libc_cv_cc_with_libunwind): Likewise.
50597         (libc_cv_as_noexecstack): Likewise.
50598         * configure: Regenerate.
50600 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50602         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50604         * posix/globtest.sh (TMPDIR): Do not set.
50605         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50606         (testout): Likewise.
50608 2012-10-24  Andreas Jaeger  <aj@suse.de>
50610         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50611         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50612         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50613         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50614         posix_fadvise64, posix_fallocate64.
50616         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50617         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50618         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50619         Likewise.
50620         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50621         Likewise.
50622         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50624         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50625         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50626         <bits/fcntl-linux.h>.
50627         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50630         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50631         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50632         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50633         [__WORDSIZE != 64]: Likewise.
50635 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50637         * Makeconfig (run-built-tests): New variable.
50638         * Rules [$(cross-compiling) = yes]: Change condition to
50639         [$(run-built-tests) = no].
50640         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
50641         to [$(run-built-tests) = yes].
50642         * elf/Makefile [$(cross-compiling) = no]: Likewise
50643         * grp/Makefile [$(cross-compiling) = no]: Likewise.
50644         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
50645         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
50646         * intl/Makefile [$(cross-compiling) = no]: Likewise.
50647         * io/Makefile [$(cross-compiling) = no]: Likewise.
50648         * libio/Makefile [$(cross-compiling) = no]: Likewise.
50649         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
50650         * misc/Makefile [$(cross-compiling) = no]: Likewise.
50651         * posix/Makefile [$(cross-compiling) = no]: Likewise.
50652         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
50653         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
50654         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
50655         * string/Makefile [$(cross-compiling) = no]: Likewise.
50657         * posix/Makefile ($(objpfx)globtest.out): Pass
50658         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
50659         $(rtld-installed-name).
50660         * posix/globtest.sh (elf_objpfx): Remove variable.
50661         (rtld_installed_name): Likewise.
50662         (library_path): Likewise.
50663         (run_program_prefix): New variable.  Use for running globtest
50664         binary.
50666 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
50667             Joseph Myers  <joseph@codesourcery.com>
50669         * Makeconfig (host-built-program-cmd): New variable.
50670         * elf/Makefile (tst-stackguard1-ARGS): Use
50671         $(host-built-program-cmd).
50672         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
50673         (tst-spawn-ARGS): Likewise.
50674         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
50676 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50677             Jim Blandy  <jimb@codesourcery.com>
50679         * Makeconfig (run-via-rtld-prefix): New variable.
50680         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
50681         (built-program-cmd): Likewise.
50683 2012-10-22  Andreas Jaeger  <aj@suse.de>
50685         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
50686         __O_RSYNC if it exists, otherwise to O_SYNC.
50688 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
50689             Joseph Myers  <joseph@codesourcery.com>
50691         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
50692         /dev/null.
50693         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
50694         from /dev/null
50695         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
50696         /dev/null.
50698 2012-10-22  Andreas Jaeger  <aj@suse.de>
50700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50701         Define always.
50702         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50705         bits/fcntl-linux.h.
50707         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50708         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50710         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50711         to __O_LARGEFILE.
50712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50713         to __O_LARGEFILE.
50715 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50716             Joseph Myers  <joseph@codesourcery.com>
50718         * config.make.in (NM): New variable.
50720 2012-10-21  Andreas Jaeger  <aj@suse.de>
50722         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50723         definitions and declarations that are provided by
50724         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50726 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50728         [BZ #14683]
50729         * elf/Makefile (tests-static): Add tst-leaks1-static.
50730         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50731         ($(objpfx)tst-leaks1-static): New rule.
50732         ($(objpfx)tst-leaks1-static-mem): Likewise.
50733         (tst-leaks1-static-ENV): New macro.
50734         * elf/dl-open.c (dl_open_worker): Check the main application
50735         only if SHARED is defined.
50736         * elf/tst-leaks1-static.c: New file.
50738 2012-10-20  Andreas Jaeger  <aj@suse.de>
50740         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50741         generic values for Linux.
50742         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50743         and declarations that are provided by <bits/fcntl-linux.h> and
50744         include <bits/fcntl-linux.h>.
50745         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50746         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50748 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50750         * io/fcntl.h: Move include of <bits/types.h> to the top and
50751         include it unconditionally.
50753 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50755         * wcsmbs/Makefile (tests-ifunc): New variable.
50756         (tests): Add $(tests-ifunc).
50757         * wcsmbs/test-wcschr-ifunc.c: New file.
50758         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50759         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50760         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50761         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50762         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50764         * string/Makefile (tests-ifunc): New variable.
50765         (tests): Add $(tests-ifunc).
50766         * string/test-memccpy.c (TEST_NAME): New macro.
50767         * string/test-memchr.c (TEST_NAME): Likewise.
50768         * string/test-memcmp.c (TEST_NAME): Likewise.
50769         * string/test-memcpy.c (TEST_NAME): Likewise.
50770         * string/test-memmem.c (TEST_NAME): Likewise.
50771         * string/test-memmove.c (TEST_NAME): Likewise.
50772         * string/test-memset.c (TEST_NAME): Likewise.
50773         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50774         * string/test-stpcpy.c (TEST_NAME): Likewise.
50775         * string/test-stpncpy.c (TEST_NAME): Likewise.
50776         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50777         * string/test-strcasestr.c (TEST_NAME): Likewise.
50778         * string/test-strcat.c (TEST_NAME): Likewise.
50779         * string/test-strchr.c (TEST_NAME): Likewise.
50780         * string/test-strcmp.c(TEST_NAME): Likewise.
50781         * string/test-strcpy.c (TEST_NAME): Likewise.
50782         * string/test-strcspn.c (TEST_NAME): Likewise.
50783         * string/test-strlen.c (TEST_NAME): Likewise.
50784         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50785         * string/test-strncmp.c (TEST_NAME): Likewise.
50786         * string/test-strncpy.c (TEST_NAME): Likewise.
50787         * string/test-strnlen.c (TEST_NAME): Likewise.
50788         * string/test-strpbrk.c (TEST_NAME): Likewise.
50789         * string/test-strrchr.c (TEST_NAME): Likewise.
50790         * string/test-strspn.c (TEST_NAME): Likewise.
50791         * string/test-strstr.c (TEST_NAME): Likewise.
50792         * string/test-bcopy-ifunc.c: New file.
50793         * string/test-bzero-ifunc.c: Likewise.
50794         * string/test-memccpy-ifunc.c: Likewise.
50795         * string/test-memchr-ifunc.c: Likewise.
50796         * string/test-memcmp-ifunc.c: Likewise.
50797         * string/test-memcpy-ifunc.c: Likewise.
50798         * string/test-memmem-ifunc.c: Likewise.
50799         * string/test-memmove-ifunc.c: Likewise.
50800         * string/test-mempcpy-ifunc.c: Likewise.
50801         * string/test-memset-ifunc.c: Likewise.
50802         * string/test-rawmemchr-ifunc.c: Likewise.
50803         * string/test-stpcpy-ifunc.c: Likewise.
50804         * string/test-stpncpy-ifunc.c: Likewise.
50805         * string/test-strcasecmp-ifunc.c: Likewise.
50806         * string/test-strcasestr-ifunc.c: Likewise.
50807         * string/test-strcat-ifunc.c: Likewise.
50808         * string/test-strchr-ifunc.c: Likewise.
50809         * string/test-strchrnul-ifunc.c: Likewise.
50810         * string/test-strcmp-ifunc.c: Likewise.
50811         * string/test-strcpy-ifunc.c: Likewise.
50812         * string/test-strcspn-ifunc.c: Likewise.
50813         * string/test-strlen-ifunc.c: Likewise.
50814         * string/test-strncasecmp-ifunc.c: Likewise.
50815         * string/test-strncat-ifunc.c: Likewise.
50816         * string/test-strncmp-ifunc.c: Likewise.
50817         * string/test-strncpy-ifunc.c: Likewise.
50818         * string/test-strnlen-ifunc.c: Likewise.
50819         * string/test-strpbrk-ifunc.c: Likewise.
50820         * string/test-strrchr-ifunc.c: Likewise.
50821         * string/test-strspn-ifunc.c: Likewise.
50822         * string/test-strstr-ifunc.c: Likewise.
50824         * debug/Makefile (tests-ifunc): New variable.
50825         (tests): Add $(tests-ifunc).
50826         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50827         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50828         * debug/test-stpcpy_chk-ifunc.c: New file.
50829         * debug/test-strcpy_chk-ifunc.c: Likewise.
50831 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50833         [BZ #13601]
50834         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50835         header is not read in.
50837 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50839         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50840         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50841         directly.  Pass built executable to script as
50842         $(built-program-cmd).
50843         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50844         $testprogram without using LD_LIBRARY_PATH and $ldso.
50846         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50847         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50848         $(rtld-installed-name).
50849         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50850         (rtld_installed_name): Likewise.
50851         (library_path): Likewise.
50852         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50853         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50854         $(run-program-prefix) to tst-tables.sh.
50855         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50856         it to run tst-table-from and tst-table-to.
50857         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50858         Pass it to tst-table.sh.
50859         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50860         $(run-program-prefix) to tst-gettext.sh.
50861         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50862         tst-translit.sh.
50863         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50864         tst-gettext2.sh.
50865         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50866         to run tst-gettext.
50867         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50868         to run tst-gettext2.
50869         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50870         to run tst-translit.
50871         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50872         $(run-program-prefix) to tst-mtrace.sh.
50873         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50874         to run tst-mtrace.
50875         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50876         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50877         $(rtld-installed-name).
50878         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50879         (rtld_installed_name): Likewise.
50880         (run_program_prefix): New variable.  Use it to run wordexp-test.
50882         * Makeconfig (ARCH): Remove all definitions.
50883         (machine): Likewise.
50884         [ARCH]: Remove conditional code.
50885         [!objdir]: Give error.
50886         [!objdir] (objpfx): Remove.
50887         [!objdir] (common-objpfx): Likewise.
50888         [!objdir] (common-objdir): Likewise.
50889         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50890         AC_CONFIG_FILES call.
50891         * configure: Regenerated.
50893         [BZ #13888]
50894         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50895         or TMPDIR.
50896         (testout): Likewise.
50898         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50899         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50900         $(rtld-installed-name).
50901         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50902         (rtld_installed_name): Likwise.
50903         (runit): Remove function.
50904         (run_getconf): New variable,  Use it for running getconf binary.
50906 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50908         [BZ #14716]
50909         * string/test-memmem.c (check_result): New function.
50910         (do_one_test): Use it.
50911         (check1): New function.
50912         (test_main): Use it.
50914 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50916         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50918 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50920         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50921         (_G_LSEEK64): Likewise.
50922         (_G_MMAP64): Likewise.
50923         (_G_FSTAT64): Likewise.
50924         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50925         (_G_LSEEK64): Likewise.
50926         (_G_MMAP64): Likewise.
50927         (_G_FSTAT64): Likewise.
50928         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50929         unconditional.  Call __mmap64 directly.
50930         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50931         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50932         __lseek64 directly.
50933         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50934         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50935         __mmap64 directly.
50936         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50937         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50938         __lseek64 directly.
50939         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50940         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50941         __lseek64 directly.
50942         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50943         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50944         __lseek64 directly.
50945         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50946         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50947         __fxstat64 directly.
50948         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50949         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50950         unconditional.
50951         (freopen64) [!_G_OPEN64]: Remove conditional code.
50952         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50953         unconditional.
50954         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50955         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50956         unconditional.
50957         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50958         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50959         unconditional.
50960         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50961         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50962         unconditional.
50963         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50964         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50965         unconditional.
50966         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50967         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50968         unconditional.
50969         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50970         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50971         unconditional.
50972         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50974 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50976         [BZ #12140]
50977         * manual/memory.texi (Malloc Tunable Parameters): Add note
50978         about free list pointers overwriting some perturb bytes.
50979         Wording suggested by Roland McGrath.
50981 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50983         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50984         (lgamma_test): Likewise.
50985         (tgamma_test): Likewise.
50987 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50989         [BZ #14700]
50990         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50991         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50993 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50995         * NEWS: Mention BZ #14716.
50996         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50997         when removing AVAILABLE1_USES_J macro.
50999 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51001         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51002         (__bswap_64): __uint64_t for unsigned 64-bit int.
51004 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51006         * include/string.h (memmem): Declare libc hidden alias.
51007         * string/memmem.c (memmem): Define libc hidden alias.
51008         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51009         __read, __close instead of open, read, close.
51011 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51013         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51014         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51015         global and hidden.
51016         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51017         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51018         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51019         Likewise.
51020         (__rawmemchr_sse2): Likewise.
51021         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51022         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51023         (__strchr_sse2): Likewise.
51024         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51025         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51026         (__strcasecmp_sse2): Likewise.
51027         (__strncasecmp_sse2): Likewise.
51028         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51029         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51030         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51031         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51032         (__strrchr_sse2): Likewise.
51033         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51034         ifunc-impl-list.c.
51035         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51036         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51037         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51038         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51039         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51040         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51041         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51042         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51043         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51044         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51045         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51046         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51047         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51048         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51049         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51050         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51051         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51052         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51053         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51054         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51055         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51056         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51057         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51058         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51059         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51060         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51061         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51062         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51063         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51064         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51066         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51067         global and hidden.
51068         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51069         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51070         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51071         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51072         Likewise.
51073         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51074         Likewise.
51075         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51076         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51077         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51078         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51079         ifunc-impl-list.c.
51080         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51081         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51082         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51083         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51084         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51085         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51086         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51087         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51088         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51089         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51090         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51091         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51092         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51093         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51094         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51095         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51096         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51097         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51098         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51099         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51100         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51101         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51102         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51103         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51104         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51105         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51106         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51107         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51108         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51109         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51110         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51111         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51112         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51113         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51114         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51115         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51116         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51117         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51118         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51119         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51120         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51122         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51123         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51124         * include/ifunc-impl-list.h: New file.
51125         * misc/ifunc-impl-list.c: Likewise.
51126         * misc/Makefile (routines): Add ifunc-impl-list.
51127         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51128         * string/test-string.h: Include <ifunc-impl-list.h>.
51129         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51130         TEST_NAME]: New variables.
51131         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51132         are defined.
51133         (test_init): Call __libc_ifunc_impl_list to initialize
51134         func_list if TEST_IFUNC and TEST_NAME are defined.
51136         * string/Makefile (strop-tests): Add bcopy and bzero.
51137         * string/test-bcopy.c: New file.
51138         * string/test-bzero.c: Likewise.
51139         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51140         defined.
51141         * string/test-memset.c: Support bzero test if TEST_BZERO is
51142         defined.
51143         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51144         __libc_memmove.
51145         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51146         __libc_memset.
51147         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51148         of memset.
51150 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51152         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51153         * configure: Regenerated.
51155         * Makeconfig (+link-static-before-libc): Don't include
51156         $(link-static-libc).
51158         * libio/libio.h (_IO_pos_t): Remove.
51160 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51162         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51163         McGrath.
51165 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51167         * crypt/crypt-entry.c: Include fips-private.h.
51168         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51169         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51170         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51171         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51173 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51175         * crypt/crypt-private.h: Include stdbool.h.
51176         (_ufc_setup_salt_r): Return bool.
51177         * crypt/crypt-entry.c: Include errno.h.
51178         (__crypt_r): Return NULL with EINVAL for bad salt.
51179         * crypt/crypt_util.c (bad_for_salt): New.
51180         (_ufc_setup_salt_r): Check that salt is long enough and within
51181         the specified alphabet.
51182         * crypt/badsalttest.c: New file.
51183         * crypt/Makefile (tests): Add it.
51184         ($(objpfx)badsalttest): New.
51186 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51188         * NEWS: Add entry for BZ #14602.
51190 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51192         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51193         type-generic.
51194         * math/libm-test.inc: Update comment listing what functions and
51195         macros are tested.
51196         (isgreater_test): New function.
51197         (isgreaterequal_test): Likewise.
51198         (isless_test): Likewise.
51199         (islessequal_test): Likewise.
51200         (islessgreater_test): Likewise.
51201         (isunordered_test): Likewise.
51202         (main): Call the new functions.
51204 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51206         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51207         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51208         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51209         * sysdeps/i386/configure: Regenerated.
51210         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51211         * sysdeps/mach/configure: Regenerated.
51212         * sysdeps/mach/hurd/configure: Regenerated.
51213         * sysdeps/powerpc/configure: Regenerated.
51214         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51215         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51216         * sysdeps/s390/s390-32/configure: Regenerated.
51217         * sysdeps/s390/s390-64/configure: Regenerated.
51218         * sysdeps/sh/configure: Regenerated.
51219         * sysdeps/sparc/configure: Regenerated.
51220         * sysdeps/unix/sysv/linux/configure: Regenerated.
51221         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51222         * sysdeps/x86_64/configure: Regenerated.
51224         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51225         defined.  Don't check if MAP is NULL.
51227 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51229         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51230         (_G_stat64): Likewise.
51231         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51232         (_G_stat64): Likewise.
51233         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51234         instead of struct _G_stat64.
51235         * libio/fileops.c (mmap_remap_check): Likewise.
51236         (decide_maybe_mmap): Likewise.
51237         (_IO_new_file_seekoff): Likewise.
51238         (_IO_file_stat): Likewise.
51239         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51240         _G_off64_t.
51241         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51242         instead of struct _G_stat64.
51243         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51245 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
51247         [BZ #14602]
51248         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51249         Replace with ...
51250         (CHECK_EOL): New macro.
51251         (two_way_short_needle): Check beginning of haystack for EOL.  Use
51252         CHECK_EOL.
51253         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51254         Replace with CHECK_EOL.
51255         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51256         Replace with CHECK_EOL.
51258 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
51260         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51261         type-generic.
51262         * math/libm-test.inc: Update comment listing what functions and
51263         macros are tested.
51264         (finite_test): New function.
51265         (isinf_test): Likewise.
51266         (isnan_test): Likewise.
51267         (fpclassify_test): Test subnormal input.
51268         (isfinite_test): Likewise.
51269         (isnormal_test): Likewise.
51270         (main): Call the new functions.
51272 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
51274         [BZ #14660]
51275         * Makerules (%.dynsym): Force C locale when running
51276         $(OBJDUMP) --dynamic-syms.
51278 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
51280         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51281         <stdint.h>.
51283 2012-10-06  David S. Miller  <davem@davemloft.net>
51285         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51286         upper 32-bits of the length value in %o2 since we use branch-on-register
51287         tests which consider the entire 64-bit register.
51289 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
51291         * string/test-strstr.c (check2): Add a test for page boundary.
51293 2012-10-05  David S. Miller  <davem@davemloft.net>
51295         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51296         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51297         file.
51298         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51299         sysdep_routines.
51300         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51301         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51302         and bzero when HWCAP_SPARC_CRYPTO is present.
51304 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
51306         [BZ #14602]
51307         * string/test-strstr.c (check2): New function.
51308         (test_main): Call check2.
51310         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51311         and bug-strchr1.
51312         * string/bug-strcasestr1.c (do_test): Moved to ...
51313         * string/test-strcasestr.c (check1): Here.  New function.
51314         (do_one_test): Break out result checking code into ...
51315         (check_result): This.  New function.
51316         (do_one_test): Call check_result.
51317         (test_main): Call check1.
51318         * string/bug-strchr1.c (do_test): Moved to ...
51319         * string/test-strchr.c (check1): Here.  New function.
51320         (do_one_test): Break out result checking code into ...
51321         (check_result): This.  New function.
51322         (do_one_test): Call check_result.
51323         (test_main): Call check1.
51324         * string/bug-strstr1.c (main): Moved to ...
51325         * string/test-strstr.c (check1): Here.  New function.
51326         (do_one_test): Break out result checking code into ...
51327         (check_result): This.  New function.
51328         (do_one_test): Call check_result.
51329         (test_main): Call check1.
51330         * string/bug-strcasestr1.c: Removed.
51331         * string/bug-strchr1.c: Likewise.
51332         * string/bug-strstr1.c: Likewise.
51334         * elf/Makefile (dl-routines): Add hwcaps.
51335         * elf/dl-support.c (_dl_important_hwcaps): Removed.
51336         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51337         (_dl_important_hwcaps): Moved to ...
51338         * elf/dl-hwcaps.c: Here.  New file.
51339         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51341         [BZ #14557]
51342         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51343         if IS_IN_rtld isn't defined.
51345         * elf/dl-support.c (_dl_sysinfo_map): New.
51346         Include "get-dynamic-info.h" and "setup-vdso.h".
51347         (_dl_non_dynamic_init): Call setup_vdso.
51348         * elf/dynamic-link.h: Don't include <assert.h>.
51349         (elf_get_dynamic_info): Moved to ...
51350         * elf/get-dynamic-info.h: Here.  New file.
51351         * elf/dynamic-link.h: Include "get-dynamic-info.h".
51352         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51353         * elf/setup-vdso.h: Here.  New file.
51354         * elf/rtld.c: Include "setup-vdso.h".
51355         (dl_main): Call setup_vdso.
51357 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
51359         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51360         creal in comment listing functions tested.  List finite, isinf,
51361         isnan, isless, islessequal, isgreater, isgreaterequal,
51362         islessgreater, isunordered, lgamma_r and pow10 as functions and
51363         macros not tested.  Mention which functions not tested are aliases
51364         for other functions.  Fix typo.  Note that signs of NaNs are not
51365         tested.
51367         * scripts/config.guess: Update from config.git.
51368         * scripts/config.sub: Likewise.
51370 2012-10-04  Roland McGrath  <roland@hack.frob.com>
51372         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51373         * misc/madvise.c (madvise): Renamed to __madvise.
51374         Make madvise a weak alias.
51375         * include/sys/mman.h: Declare __madvise.
51376         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51377         * sysdeps/unix/syscalls.list
51378         (madvise): Make __madvise the strong name, and madvise a weak alias.
51379         * sysdeps/unix/sysv/linux/syscalls.list
51380         (madvise, mmap): Remove redundant entries.
51381         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51382         * malloc/malloc.c (mtrim): Likewise.
51383         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51385 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51387         * sysdeps/mach/hurd/dl-cache.c: File removed.
51388         * config.h.in (USE_LDCONFIG): New #undef.
51389         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51390         * configure: Regenerated.
51391         * elf/Makefile (dl-routines): Add dl-cache only under
51392         [$(use-ldconfig) = yes].
51393         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51394         cache on [USE_LDCONFIG].
51395         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51396         [USE_LDCONFIG].
51397         * elf/rtld.c (dl_main): Likewise.
51399 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
51401         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51402         _SC_LEVEL4_CACHE_LINESIZE.
51404 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51406         * sysdeps/unix/bsd/confstr.h: File removed.
51408 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
51410         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51411         sys/sdt-config.h.
51413 2012-10-02  Roland McGrath  <roland@hack.frob.com>
51415         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51416         Make 'mapoff' field ElfW(Off) rather than off_t.
51418 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
51420         * nscd/Makefile: Remove nscd-cflags and all its users.
51421         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51422         (CFLAGS-nonlib): Add compiler flags for nscd modules.
51424         [BZ #10631]
51425         * malloc.c (malloc_printerr): Clarify error message.
51427 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
51429         [BZ #14648]
51430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51431         Set bit_FMA_Usable if FMA is supported.
51432         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51433         macro.
51434         (bit_FMA4_Usable): Updated.
51435         (index_FMA_Usable): New macro.
51436         (CPUID_FMA): Likewise
51437         (HAS_FMA): Defined with bit_FMA_Usable.
51439 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51441         * bits/types.h (__swblk_t): Type removed.
51442         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51443         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51444         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51445         (__SWBLK_T_TYPE): Likewise.
51446         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51447         (__SWBLK_T_TYPE): Likewise.
51448         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51449         (__SWBLK_T_TYPE): Likewise.
51450         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51451         (__SWBLK_T_TYPE): Likewise.
51453 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
51454             Honza Horak <hhorak@redhat.com>
51456         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51457         (xdr_mapname): Use YPMAXMAP as maxsize.
51458         (xdr_peername): Use YPMAXPEER as maxsize.
51459         (xdr_keydat): Use YPAXRECORD as maxsize.
51460         (xdr_valdat): Use YPMAXRECORD as maxsize.
51462 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51464         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51466         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51467         * csu/init-first.c: ... here.
51468         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51469         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51470         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51471         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51472         * sysdeps/i386/init-first.c: File removed.
51473         * sysdeps/sh/init-first.c: File removed.
51475 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
51477         [BZ #14645]
51478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51479         if x * y might underflow to zero and z is zero.
51480         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51481         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51482         * math/libm-test.inc (min_subnorm_value): New variable.
51483         (fma_test): Add more tests.
51484         (fma_test_towardzero): Likewise.
51485         (fma_test_downward): Likewise
51486         (fma_test_upward): Likewise.
51487         (initialize): Set min_subnorm_value.
51489 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
51491         [BZ #14638]
51492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51493         0 + 0.
51494         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51495         mode for addition resulting in exact zero.
51496         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51498         exact 0 + 0.
51499         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51500         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51501         * math/libm-test.inc (fma_test): Add more tests.
51502         (fma_test_towardzero): New function.
51503         (fma_test_downward): Likewise.
51504         (fma_test_upward): Likewise.
51505         (main): Call the new functions.
51507 2012-09-28  David S. Miller  <davem@davemloft.net>
51509         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51511 2012-09-28  Roland McGrath  <roland@hack.frob.com>
51513         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
51514         instead of SIGALRM.
51516         * sysdeps/gnu/_G_config.h: Moved to ...
51517         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
51518         * sysdeps/mach/hurd/_G_config.h: Moved to ...
51519         * sysdeps/generic/_G_config.h: ... here.
51521         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
51523         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51525         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
51526         Conditionalize target on [libnss_test1.so-version].
51528         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
51530         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
51531         (elfobjdir): Move out of conditionals.
51533         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
51534         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
51535         (__nss_lookup_function): Conditionalize label remove_from_tree on
51536         [!DO_STATIC_NSS || SHARED], matching its only use.
51538 2012-09-28  David S. Miller  <davem@davemloft.net>
51540         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
51541         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
51542         file.
51543         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51544         sysdep_routines.
51545         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
51547         when HWCAP_SPARC_CRYPTO is present.
51549 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51551         * io/tst-mknodat.c: Create a FIFO instead of a socket.
51553 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
51555         [BZ #6530]
51556         * stdio-common/vfprintf.c (process_string_arg): Revert
51557         2000-07-22 change.
51559 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
51561         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
51562         for testcase.
51563         * stdio-common/tst-sprintf.c: Include <locale.h>
51564         (main): Test sprintf's handling of incomplete multibyte
51565         characters.
51567 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
51569         * elf/dl-runtime.c (VERSYMIDX): Removed.
51570         * elf/dl-version.c (VERSYMIDX): Likewise.
51571         * elf/do-rel.h (VERSYMIDX): Likewise.
51572         (VALIDX): Likewise.
51573         * elf/dynamic-link.h (VERSYMIDX): Likewise.
51574         * elf/rtld.c (VALIDX): Likewise.
51575         (ADDRIDX): Likewise.
51576         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
51577         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51578         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
51579         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
51580         (VALIDX): Likewise.
51581         (ADDRIDX): Likewise.
51583 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51585         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51587 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
51589         [BZ #11438]
51590         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51591         to global scope.
51592         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51593         addresses are in the same scope as 192.0.2/24.
51594         * posix/gai.conf: Document new scope table defaults.
51596 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51598         [BZ #5298]
51599         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51600         for ftell.  Compute offsets from write pointers instead.
51601         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51603 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51605         [BZ #14543]
51606         * libio/Makefile (tests): New test case tst-fseek.
51607         * libio/tst-fseek.c: New test case to verify that fseek/ftell
51608         combination works in wide mode.
51609         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51610         state when the external buffer state changes.
51612 2012-09-27  David S. Miller  <davem@davemloft.net>
51614         [BZ #14376]
51615         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51616         pass reloc->r_addend in as the 'high' argument to
51617         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51621 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51623         * rt/tst-aio2.c: Include <pthread.h>.
51624         * rt/tst-aio3.c: Likewise.
51626 2012-09-27  Steve Ellcey  <sellcey@mips.com>
51628         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51630 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
51632         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51633         contents on [SHARED].
51635 2012-09-26  Marek Polacek  <polacek@redhat.com>
51637         [BZ #14530]
51638         [BZ #13741]
51639         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51640         for C++ and GCC <4.3 as well as for non GCC compilers.
51642 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51646 2012-09-25  Roland McGrath  <roland@hack.frob.com>
51648         * Makefile.in (all, install): Declare with .PHONY.
51649         Reported by Michael Hope <michael.hope@linaro.org>.
51651 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51653         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
51654         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
51655         system header.
51656         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
51657         Likewise.
51658         (sydep_routines): Add the new and the internal functions.
51659         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
51660         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
51661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
51662         (GLIBC_2.17): Add the new function.
51663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51664         (GLIBC_2.17): Likewise.
51665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
51666         (GLIBC_2.17): Likewise.
51667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
51668         (GLIBC_2.17): Likewise.
51669         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
51671 2012-09-25  Alan Modra  <amodra@gmail.com>
51673         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
51674         Add release barrier before setting once_control to say
51675         initialisation is done.  Add hints on lwarx.  Use macro in
51676         place of isync.
51677         (clear_once_control): Add release barrier.
51679 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51681         [BZ #13629]
51682         * math/s_clog.c (__clog): Handle more values close to |z| = 1
51683         specially.
51684         * math/s_clog10.c (__clog10): Likewise.
51685         * math/s_clog10f.c (__clog10f): Likewise.
51686         * math/s_clog10l.c (__clog10l): Likewise.
51687         * math/s_clogf.c (__clogf): Likewise.
51688         * math/s_clogl.c (__clogl): Likewise.
51689         * math/Makefile (libm-calls): Add x2y2m1.
51690         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
51691         (__x2y2m1): Likewise.
51692         (__x2y2m1l): Likewise.
51693         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
51694         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
51695         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
51696         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51697         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
51698         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
51699         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51700         * sysdeps/i386/fpu/libm-test-ulps: Update.
51701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51703         [BZ #14621]
51704         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51705         int as type of variable DEPTH.
51706         (glob): Use size_t instead of int as type of variables NEWCOUNT
51707         and OLD_PATHC.
51709 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51711         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51712         Add s_sincosf-sse2.
51713         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51714         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51715         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51716         macros for using routine as __sincosf_ia32.
51717         Use macro for function declaration and weak_alias.
51718         * sysdeps/i386/fpu/libm-test-ulps: Update.
51720         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51723         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51724         subnormal argument.
51725         * math/s_cexpf.c (__cexpf): Likewise.
51726         * math/s_csinf.c (__csinf): Likewise.
51727         * math/s_csinhf.c (__csinhf): Likewise.
51728         * math/s_ctanf.c (__ctanf): Likewise.
51729         * math/s_ctanhf.c (__ctanhf): Likewise.
51730         * math/s_ccosh.c (__ccoshf): Likewise.
51731         * math/s_cexp.c (__cexpl): Likewise.
51732         * math/s_csin.c (__csin): Likewise.
51733         * math/s_csinh.c (__csinh): Likewise.
51734         * math/s_ctan.c (__ctan): Likewise.
51735         * math/s_ctanh.c (ctanh): Likewise.
51736         * math/s_ccoshl.c (__ccoshl): Likewise.
51737         * math/s_cexpl.c (__cexpl): Likewise.
51738         * math/s_csinl.c (__csinl): Likewise.
51739         * math/s_csinhl.c (__csinhl): Likewise.
51740         * math/s_ctanl.c (__ctanl): Likewise.
51741         * math/s_ctanhl.c (__ctanhl): Likewise.
51743 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51745         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51746         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51747         (_IO_off_t): Define to __off_t, not _G_off_t.
51748         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51749         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51750         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51751         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51752         type of __dummy and __dummy2 fields.
51753         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51754         (_G_ssize_t): Likewise.
51755         (_G_off_t): Likewise.
51756         (_G_pid_t): Likewise.
51757         (_G_uid_t): Likewise.
51758         (_G_wchar_t): Likewise.
51759         (_G_wint_t): Likewise.
51760         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51761         (_G_ssize_t): Likewise.
51762         (_G_off_t): Likewise.
51763         (_G_pid_t): Likewise.
51764         (_G_uid_t): Likewise.
51765         (_G_wchar_t): Likewise.
51766         (_G_wint_t): Likewise.
51767         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51768         (_G_ssize_t): Likewise.
51769         (_G_off_t): Likewise.
51770         (_G_pid_t): Likewise.
51771         (_G_uid_t): Likewise.
51772         (_G_wchar_t): Likewise.
51773         (_G_wint_t): Likewise.
51775 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51777         * malloc/arena.c: Include malloc-sysdep.h.
51778         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51779         is sufficient to shrink the heap or an unmap is needed.
51780         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51781         new function check_may_shrink_heap.
51782         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51783         new function check_may_shrink_heap.
51785 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51787         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51788         comments.
51790 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51792         * catgets/test-gencat.sh: Add "set -e".
51793         * elf/tst-pathopt.sh: Likewise.
51794         * grp/tst_fgetgrent.sh: Likewise.
51795         * iconvdata/run-iconv-test.sh: Likewise.
51796         * intl/tst-gettext.sh: Likewise.
51797         * intl/tst-gettext2.sh: Likewise.
51798         * intl/tst-gettext4.sh: Likewise.
51799         * intl/tst-gettext6.sh: Likewise.
51800         * intl/tst-translit.sh: Likewise.
51801         * io/ftwtest-sh: Likewise.
51802         * libio/test-freopen.sh: Likewise.
51803         * malloc/tst-mtrace.sh: Likewise.
51804         * posix/globtest.sh: Likewise.
51805         * posix/tst-getconf.sh: Likewise.
51806         * posix/wordexp-tst.sh: Likewise.
51807         * stdio-common/tst-printf.sh: Likewise.
51808         * stdio-common/tst-unbputc.sh: Likewise.
51809         * stdlib/tst-fmtmsg.sh: Likewise.
51810         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51811         * catgets/Makefile: Do not specify -e option when running
51812         testsuite shell scripts.
51813         * elf/Makefile: Likewise.
51814         * grp/Makefile: Likewise.
51815         * iconvdata/Makefile: Likewise.
51816         * intl/Makefile: Likewise.
51817         * io/Makefile: Likewise.
51818         * libio/Makefile: Likewise.
51819         * malloc/Makefile: Likewise.
51820         * posix/Makefile: Likewise.
51821         * stdio-common/Makefile: Likewise.
51822         * stdlib/Makefile: Likewise.
51823         * sysdeps/x86_64/Makefile: Likewise.
51825         * io/ftwtest-sh: Add copyright header.
51826         * posix/globtest.sh: Likewise.
51827         * posix/tst-getconf.sh: Likewise.
51828         * posix/wordexp-tst.sh: Likewise.
51829         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51831 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51833         [BZ #13679]
51834         * Makeconfig (+link): Defined as $(+link-static) if
51835         $(build-shared) isn't yes.
51836         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51837         isn't yes.
51838         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51840         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51842         [BZ #14562]
51843         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51844         new chunk size with MALLOC_ALIGN_MASK.
51846 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51848         [BZ #5044]
51849         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51850         <rounding-mode.h>.
51851         (__printf_fphex): Determine rounding using get_rounding_mode and
51852         round_away.
51853         * stdio-common/tst-printf-round.c (struct hex_test): New
51854         structure.
51855         (hex_tests): New variable.
51856         (test_hex_in_one_mode): New function.
51857         (do_test): Also run tests for hex float output.
51859 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51861         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51862         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51863         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51864         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51865         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51866         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51867         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51868         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51870 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51872         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51873         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51874         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51875         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51877 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51879         [BZ #14579]
51880         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51881         mode only.
51882         * elf/tst-rtld-load-self.sh: New test.
51883         * elf/Makefile: Run it.
51885 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51887         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51888         (tst-writev-ENV): Remove.
51889         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51891 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51893         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51895 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51897         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51898         unconditional.
51899         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51900         Likewise.
51901         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51902         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51903         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51904         Likewise.
51906 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51908         [BZ #14587]
51909         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51910         * config.make.in (have-cpp-asm-debuginfo): Removed.
51911         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51912         * configure: Regenerated.
51914 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51916         [BZ #5044]
51917         * stdio-common/printf_fp.c: Include <stdbool.h> and
51918         <rounding-mode.h>.
51919         (___printf_fp): Determine rounding using get_rounding_mode and
51920         round_away.
51921         * stdio-common/tst-printf-round.c: New file.
51922         * stdio-common/Makefile (tests): Add tst-printf-round.
51923         (link-libm): New variable.
51924         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51926 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51928         [BZ #14576]
51929         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51930         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51931         Likewise.
51932         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51933         Likewise.
51935 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51937         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51938         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51939         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51940         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51942 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51944         [BZ #14518]
51945         * include/rounding-mode.h: New file.
51946         * sysdeps/generic/get-rounding-mode.h: Likewise.
51947         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51948         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51949         (MAX_VALUE): New macro.
51950         (MIN_VALUE): Likewise.
51951         (overflow_value): New function.
51952         (underflow_value): Likewise.
51953         (round_and_return): Use overflow_value and underflow_value to
51954         determine return values in overflow and underflow cases.  Use
51955         round_away to determine rounding depending on rounding mode.
51956         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51957         determine return values in overflow and underflow cases.
51958         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51959         (struct test_results): New structure.
51960         (struct test): Use struct test_results to store expected results
51961         for all rounding modes.
51962         (TEST): Include expected results for all rounding modes.
51963         (test_in_one_mode): New function.
51964         (do_test): Use test_in_one_mode to compute and check results.
51965         Check results for all rounding modes.
51966         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51967         $(link-libm).
51969 2012-12-09  Allan McRae  <allan@archlinux.org>
51971         * sysdeps/i386/fpu/libm-test-ulps: Update
51973 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51975         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51976         (_G_int32_t): Likewise.
51977         (_G_uint16_t): Likewise.
51978         (_G_uint32_t): Likewise.
51979         (_G_HAVE_BOOL): Likewise.
51980         (_G_HAVE_ATEXIT): Likewise.
51981         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51982         (_G_HAVE_IO_FILE_OPEN): Likewise.
51983         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51984         (_G_int32_t): Likewise.
51985         (_G_uint16_t): Likewise.
51986         (_G_uint32_t): Likewise.
51987         (_G_HAVE_BOOL): Likewise.
51988         (_G_HAVE_ATEXIT): Likewise.
51989         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51990         (_G_HAVE_IO_FILE_OPEN): Likewise.
51991         * sysdeps/mach/hurd/_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.
52000 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52002         * csu/libc-tls.c: Update copyright years.
52004 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52006         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52007         [!_G_USING_THUNKS]: Remove conditional code.
52008         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52009         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52011         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52012         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52013         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52014         (_G_VTABLE_LABEL_PREFIX): Likewise.
52015         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52016         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52017         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52018         (_G_VTABLE_LABEL_PREFIX): Likewise.
52019         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52020         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52021         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52022         (_G_VTABLE_LABEL_PREFIX): Likewise.
52023         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52025 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52027         * libio/Makefile: Include ../Makeconfig before tests.
52028         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52029         only if $(build-shared) is yes.
52031         * iconv/gconv_db.c: Update copyright years.
52033 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52035         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52036         unwind info if defined PIC. Fix special cases description.
52037         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52039         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52040         DP_HI_MASK entry.
52041         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52043 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52045         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52047         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52048         is NULL.
52050         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52051         (LDLIBS-tst-chk4): This.
52052         (LDFLAGS-tst-chk5): Renamed to ...
52053         (LDLIBS-tst-chk5): This.
52054         (LDFLAGS-tst-chk6): Renamed to ...
52055         (LDLIBS-tst-chk6): This.
52056         (LDFLAGS-tst-lfschk4): Renamed to ...
52057         (LDLIBS-tst-lfschk4): This.
52058         (LDFLAGS-tst-lfschk5): Renamed to ...
52059         (LDLIBS-tst-lfschk5): This.
52060         (LDFLAGS-tst-lfschk6): Renamed to ...
52061         (LDLIBS-tst-lfschk6): This.
52063         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52064         on $(common-objpfx)soversions.mk.
52066 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52068         [BZ #10014]
52069         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52070         example host name.
52072 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52074         * malloc/arena.c (arena_get_retry): New function that gets
52075         another arena for the caller to try its request on.
52076         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52077         current arena cannot fulfill the request.
52078         (__libc_memalign): Likewise.
52079         (__libc_memalign): Likewise.
52080         (__libc_pvalloc): Likewise.
52081         (__libc_calloc): Likewise.
52083 2012-09-05  John Tobey  <john.tobey@gmail.com>
52085         [BZ #13542]
52086         * manual/arith.texi (Operations on Complex): Fix description
52087         of carg branch cut.
52089 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52091         [BZ #10014]
52092         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52093         host name.
52095         [BZ #10038]
52096         * manual/memory.texi (Memory): Make order of menu items match
52097         order of sections.
52099 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52101         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52102         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52103         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52105 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52107         * csu/libc-tls.c (static_dtv): Renamed to ...
52108         (_dl_static_dtv): This.  Make it global.
52109         (_dl_initial_dtv): Removed.
52110         (__libc_setup_tls): Updated.
52111         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52112         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52113         DL_INITIAL_DTV.
52115 2012-09-06  Petr Machata  <pmachata@redhat.com>
52117         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52118         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52119         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52120         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52122 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52124         [BZ #14545]
52125         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52126         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52127         freeing dtv[-1].
52129 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52131         [BZ #14544]
52132         * Makeconfig (link-static-before-libc): Replace $(+prector)
52133         with $(+prectorT).
52134         (link-static-after-libc): Replace $(+postctor) with
52135         $(+postctorT).
52136         (link-bounded): Replace $(+prector)/$(+postctor) with
52137         $(+prectorT)/$(+postctorT).
52138         (+prectorT): New macro.
52139         (+postctorT): Likewise.
52141 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52143         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52144         (round_str): Handle values above the maximum for IBM long double
52145         as inexact.
52146         * stdlib/tst-strtod-round.c (tests): Regenerated.
52148 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52150         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52151         assembler flag.
52152         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52153         zarch_nohighgprs around the zarch optimized routines.
52154         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52155         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52156         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52157         for zarch.
52159 2012-09-05  David S. Miller  <davem@davemloft.net>
52161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52163         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52164         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52165         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52166         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52167         entries.
52169 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52171         * malloc/arena.c: Fold copyright years.
52172         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52174 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52176         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52178 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52180         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52182 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52184         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52185         change internal state upon failure.
52187 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52189         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52190         * malloc/memusage.c (mmap): Likewise.
52191         (mmap64, mremap): Likewise.  Adjust name in comment.
52193 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52195         * libio/fileops.c: Fix typos in comments.
52196         * libio/oldfileops.c: Likewise.
52197         * libio/wfileops.c: Likewise.
52199 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52201         [BZ #1349]
52202         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52203         (tst-malloc-usable-ENV): Set environment for test case.
52204         * malloc/hooks.c (malloc_check_get_size): New function to get
52205         requested size.
52206         * malloc/malloc.c (musable): Use malloc_check_get_size.
52207         * malloc/tst-malloc-usable.c: New test case.
52209 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52211         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52213 2012-09-05  Allan McRae  <allan@archlinux.org>
52215         [BZ #13966]
52216         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52217         determine header location.
52218         * configure: Regenerated.
52220 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52222         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52223         float format.
52224         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52225         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52226         format.
52227         (test): Regenerate.
52229 2012-09-04  David S. Miller  <davem@davemloft.net>
52231         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52232         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52233         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52235 2012-09-04  Florian Weimer  <fweimer@redhat.com>
52237         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52238         failures.
52240         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52242 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
52244         [BZ #9914]
52245         * libio/iogetdelim.c: Include <limits.h>.
52246         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52247         + len + 1 would overflow.
52249 2012-09-03  Andreas Jaeger  <aj@suse.de>
52251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52252         * sysdeps/i386/fpu/libm-test-ulps: Update.
52254 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52256         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52257         Add s_sinf-sse2, s_conf-sse2.
52259         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52260         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52261         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52262         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52264         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52265         for using routine as __sinf_ia32.
52266         Use macro for function declaration and weak_alias.
52267         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52268         for using routine as __cosf_ia32.
52269         Use macro for function declaration and weak_alias.
52271         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52272         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52274         * sysdeps/x86_64/fpu/s_sinf.S: New file.
52275         * sysdeps/x86_64/fpu/s_cosf.S: New file.
52276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52278         * math/libm-test.inc (cos_test): Add more test cases.
52279         (sin_test): Likewise.
52280         (sincos_test): Likewise.
52282 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52284         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52285         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52286         hidden.
52287         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52289 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
52291         [BZ #14538]
52292         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52293         first element of the GOT.
52294         (elf_machine_load_address): Return the difference between
52295         the runtime address of _DYNAMIC and elf_machine_dynamic ().
52297 2012-09-01  Allan McRae  <allan@archlinux.org>
52299         [BZ #13412]
52300         * configure.in (AWK): Require gawk version 3.0 or later.
52301         * configure: Regenerated.
52303 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
52305         * sysdeps/unix/sysv/linux/kernel-features.h
52306         (__ASSUME_POSIX_CPU_TIMERS): Remove.
52307         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52308         [__NR_clock_getres]: Make code unconditional.
52309         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52310         (clock_getcpuclockid): Remove code left unreachable by removal of
52311         conditionals.
52312         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52313         code unconditional.
52314         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52315         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52316         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52317         Make code unconditional.
52318         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52319         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52320         * sysdeps/unix/sysv/linux/clock_settime.c
52321         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52322         conditional code.
52323         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52324         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52326 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
52328         [BZ #14476]
52329         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52330         scripts/test-installation.pl.
52332         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52333         and $ld_so_version if it is set.
52335 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52337         [BZ #14516]
52338         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52339         failure if reading from procfs failed.
52340         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52342 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52344         * sysdeps/unix/sysv/linux/kernel-features.h
52345         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52346         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52347         Remove conditional code.
52348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52349         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52350         Remove conditional code.
52351         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52352         * sysdeps/unix/sysv/linux/i386/fxstat.c
52353         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52355         * sysdeps/unix/sysv/linux/i386/fxstatat.c
52356         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52357         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52358         * sysdeps/unix/sysv/linux/i386/lxstat.c
52359         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52360         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52361         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52362         Remove conditional code.
52363         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52364         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52365         Remove conditional code.
52366         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52367         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52368         <kernel-features.h>.
52369         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52370         Remove.
52371         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52372         Remove conditional code.
52373         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52374         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52375         Remove conditional.
52377 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
52379         [BZ #5400]
52380         * NEWS: Add fixed bug number.
52382 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52384         [BZ #14519]
52385         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52386         underflowing exponent in case of negative sign.
52387         * stdlib/tst-strtod-round-data: Add more tests.
52388         * stdlib/tst-strtod-round.c (tests): Regenerated.
52390         [BZ #3479]
52391         * stdlib/strtod_l.c (NDIG): Remove.
52392         (HEXNDIG): Likewise.
52393         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52394         smallest representable value.
52395         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52396         lie within an exact representation of 1/2 ulp of the result.
52397         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52398         unconditionally.
52399         (TENS_P9_IDX): Define unconditionally.
52400         (TENS_P9_SIZE): Likewise.
52401         (TENS_P10_IDX): Likewise.
52402         (TENS_P10_SIZE): Likewise.
52403         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52404         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52405         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52406         entries for 10^2^13 and 10^2^14.
52407         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52408         (TENS_P13_IDX): Define.
52409         (TENS_P13_SIZE): Likewise.
52410         (TENS_P14_IDX): Likewise.
52411         (TENS_P14_SIZE): Likewise.
52412         (_fpioconst_pow10): Change array size to
52413         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
52414         unconditional.
52415         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52416         1024]: Add entries for 10^2^13 and 10^2^14.
52417         [LAST_POW10 > _LAST_POW10]: Remove #error.
52418         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52419         (_fpioconst_pow10): Change array size to
52420         FPIOCONST_POW10_ARRAY_SIZE.
52421         * stdlib/gen-fpioconst.c: New file.
52422         * stdlib/gen-tst-strtod-round.c: Likewise.
52423         * stdlib/tst-strtod-round-data: Likewise.
52424         * stdlib/tst-strtod-round.c: Likewise.
52425         * stdlib/Makefile (tests): Add tst-strtod-round.
52427         [BZ #14459]
52428         * stdlib/strtod_l.c: Include <stdint.h>.
52429         (NDEBUG): Do not define.
52430         (round_and_return): Change EXPONENT parameter to type intmax_t.
52431         Rearrange calculations to avoid internal overflow possibilities.
52432         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52433         Rearrange calculations to avoid internal overflow possibilities.
52434         Assert that number fits inside MPNSIZE limbs.
52435         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52436         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
52437         calculations and add assertions to avoid internal overflow
52438         possibilities.  Add casts to avoid signed/unsigned operations.
52439         * stdlib/tst-strtod-overflow.c: New file.
52440         * stdlib/Makefile (tests): Add tst-strtod-overflow.
52442 2012-08-25  Marek Polacek  <polacek@redhat.com>
52444         * time/time.h: Fix some typos in comments.
52446 2012-08-23  Roland McGrath  <roland@hack.frob.com>
52448         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52449         * posix/tst-rfc3484-2.c: Likewise.
52450         * posix/tst-rfc3484-3.c: Likewise.
52452 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
52454         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52455         (EF_ARM_ABI_FLOAT_HARD): Likewise.
52457 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
52459         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52460         #include of fxstatat64.c.
52462 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52464         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52465         * shadow/getspent_r.c: Likewise.
52466         * shadow/getspnam.c: Likewise.
52467         * shadow/getspnam_r.c: Likewise.
52468         * gshadow/getsgent.c: Likewise.
52469         * gshadow/getsgent_r.c: Likewise.
52470         * gshadow/getsgnam.c: Likewise.
52471         * gshadow/getsgnam_r.c: Likewise.
52472         * inet/getnetbyad.c: Likewise.
52473         * inet/getnetbyad_r.c: Likewise.
52474         * inet/getnetbynm.c: Likewise.
52475         * inet/getnetbynm_r.c: Likewise.
52476         * inet/getnetent.c: Likewise.
52477         * inet/getnetent_r.c: Likewise.
52478         * inet/getproto.c: Likewise.
52479         * inet/getproto_r.c: Likewise.
52480         * inet/getprtent.c: Likewise.
52481         * inet/getprtent_r.c: Likewise.
52482         * inet/getprtname.c: Likewise.
52483         * inet/getprtname_r.c: Likewise.
52484         * inet/getrpcbyname.c: Likewise.
52485         * inet/getrpcbyname_r.c: Likewise.
52486         * inet/getrpcbynumber.c: Likewise.
52487         * inet/getrpcbynumber_r.c: Likewise.
52488         * inet/getrpcent.c: Likewise.
52489         * inet/getrpcent_r.c: Likewise.
52490         * inet/getaliasent.c: Likewise.
52491         * inet/getaliasent_r.c: Likewise.
52492         * inet/getaliasname.c: Likewise.
52493         * inet/getaliasname_r.c: Likewise.
52494         * nscd/getgrgid_r.c: Likewise.
52495         * nscd/getgrnam_r.c: Likewise.
52496         * nscd/gethstbyad_r.c: Likewise.
52497         * nscd/gethstbynm3_r.c: Likewise.
52498         * nscd/getpwnam_r.c: Likewise.
52499         * nscd/getpwuid_r.c: Likewise.
52500         * nscd/getsrvbynm_r.c: Likewise.
52501         * nscd/getsrvbypt_r.c: Likewise.
52502         * nscd/gai.c: Likewise.
52504         * configure.in (build_nscd): New substituted variable, set
52505         by --disable-build-nscd and defaults to $use_nscd.
52506         * configure: Regenerated.
52507         * config.make.in (build-nscd): New substituted variable.
52508         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52509         Change conditional to require [$(build-nscd) = yes] as well.
52510         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52512         [BZ# 13696]
52513         * configure.in (use_nscd): New substituted variable, set by
52514         --disable-nscd.  If enabled, define USE_NSCD.
52515         * configure: Regenerated.
52516         * config.h.in: Add USE_NSCD.
52517         * config.make.in (use-nscd): New substituted variable.
52518         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
52519         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
52520         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
52521         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
52522         (CFLAGS-getgrnam_r.c): Likewise.
52523         (CFLAGS-initgroups.c): Likewise.
52524         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
52525         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
52526         Variables removed.
52527         * inet/getnetgrent_r.c
52528         (nscd_setnetgrent): New function, broken out of ...
52529         (setnetgrent): ... here.  Call it.
52530         (innetgr): Conditionalize nscd bits on [USE_NSCD].
52531         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
52532         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
52533         * nscd/Makefile (routines, aux): Move definitions after include of
52534         Makeconfig.  Conditionalize on [$(use-nscd) != no].
52535         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
52536         Conditionalize on [USE_NSCD].
52537         (is_nscd, nscd_init_cb): Likewise.
52538         (nss_load_library): Conditionalize init callback on [USE_NSCD].
52539         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
52540         * nss/nss_db/db-init.c: Likewise.
52541         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
52542         [USE_NSCD].
52543         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
52544         (make_request): Use it.
52545         (cache_valid_p): New function.
52546         (__check_pf): Use it.
52547         * NEWS: Add item for --disable-nscd.
52549 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
52551         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
52552         to support sed >= 4.2.1-20-ga9bf076.
52553         * configure: Regenerated.
52555 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52557         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
52558         Conditionalize whole body on [IREL].
52560 2012-08-22  Jeff Law <law@redhat.com>
52562         [BZ #14505]
52563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
52564         if the family is PF_UNSPEC.
52566 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
52568         * Makerules (lib-version): Rename from V.
52569         (install-lib-nosubdir): Change V to lib-version.
52571 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
52573         [BZ #14252]
52574         * powerpc32/power6/wcschr.c: New file.
52575         * powerpc32/power6/wcscpy.c: New file.
52576         * powerpc32/power6/wcsrchr.c: New file.
52577         * powerpc64/power6/wcschr.c: New file.
52578         * powerpc64/power6/wcscpy.c: New file.
52579         * powerpc64/power6/wcsrchr.c: New file.
52581 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52583         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
52584         (two_way_short_needle): Use it.
52585         * string/strstr.c (AVAILABLE1_USES_J): Define.
52586         * string/strcasestr.c: Likewise.
52588         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52589         array references.
52590         * string/strcasestr.c (TOLOWER): Make side-effect safe.
52592         [BZ #11607]
52593         * NEWS: Add an entry.
52594         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52595         define their defaults.
52596         (two_way_short_needle): Detect end-of-string on-the-fly.
52597         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52598         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52599         * string/bug-strcasestr1.c: New test.
52600         * string/Makefile: Run it.
52602 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52604         [BZ #11607]
52605         * string/str-two-way.h (two_way_short_needle): Optimize matching of
52606         the first character.
52608 2012-08-21  Roland McGrath  <roland@hack.frob.com>
52610         * csu/elf-init.c (__libc_csu_irel): Function removed.
52611         * csu/libc-start.c (apply_irel): New function.
52612         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52614 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
52616         * sysdeps/unix/sysv/linux/kernel-features.h
52617         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52618         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52619         <kernel-features.h>.
52620         [__NR_fadvise64_64]: Make code unconditional.
52621         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52622         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52623         !__NR_fadvise64_64)]: Likewise.
52624         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52625         !__NR_fadvise64_64))]: Likewise.
52626         [__NR_fadvise64]: Make code unconditional.
52627         [!__NR_fadvise64]: Remove conditional code.
52628         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52629         <kernel-features.h>.
52630         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52631         unconditional.
52632         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52633         conditional code.
52634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52635         not include <kernel-features.h>.
52636         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52637         unconditional.
52638         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52639         conditional code.
52640         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
52641         include <kernel-features.h>.
52642         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52643         unconditional.
52644         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52645         conditional code.
52647 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52649         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
52650         slight instruction rearrangements per scrollpipe analysis.
52651         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52653 2012-08-20  Roland McGrath  <roland@hack.frob.com>
52655         * manual/syslog.texi (syslog; vsyslog, closelog):
52656         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
52657         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
52659         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
52660         DSOCAPS to match condition on defining it.
52662 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
52664         * sysdeps/unix/sysv/linux/kernel-features.h
52665         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
52666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
52667         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52668         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
52670         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52671         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
52673         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52674         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52676         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
52677         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
52679         * sysdeps/unix/sysv/linux/kernel-features.h
52680         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
52681         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
52682         unconditional.
52683         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52684         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
52685         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52686         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52687         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
52688         Make code unconditional.
52689         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52690         (__mmap64) [!__NR_mmap2]: Likewise.
52691         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
52692         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52693         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52694         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
52695         [__NR_mmap2]: Make code unconditional.
52696         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52697         (__mmap64) [!__NR_mmap2]: Likewise.
52699 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52701         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52703 2012-08-18  Andreas Jaeger  <aj@suse.de>
52705         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52707 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52709         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52710         * include/unistd.h (__have_sock_cloexec): Likewise.
52711         (__have_pipe2): Likewise.
52712         (__have_dup3): Likewise.
52714 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52716         [BZ #9685]
52717         * include/unistd.h (__have_pipe2): Change define into an extern int.
52718         (__have_dup3): Likewise.
52719         * socket/have_sock_cloexec.c: Include fcntl.h.
52720         (__have_pipe2): New variable.
52721         (__have_dup3): Likewise.
52723 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52725         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52727 2012-08-17  Marek Polacek  <polacek@redhat.com>
52729         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52730         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52732 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52734         * configure.in: Add AC_SUBST for sysheaders.
52735         * configure: Regenerated.
52736         * config.make.in (sysheaders): New substituted variable.
52738         * sysdeps/unix/mkfifo.c: Moved ...
52739         * sysdeps/posix/mkfifo.c: ... here.
52740         * sysdeps/unix/mkfifoat.c: Moved ...
52741         * sysdeps/posix/mkfifoat.c: ... here.
52743         * sysdeps/unix/utime.c: Moved ...
52744         * sysdeps/posix/utime.c: ... here.
52746         * sysdeps/unix/time.c: Moved ...
52747         * sysdeps/posix/time.c: ... here.
52748         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52749         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52751         * sysdeps/unix/nice.c: Moved ...
52752         * sysdeps/posix/nice.c: ... here.
52754         * sysdeps/unix/alarm.c: Moved ...
52755         * sysdeps/posix/alarm.c: ... here.
52757         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52759 2012-08-17  Jeff Law <law@redhat.com>
52761         * intl/Makefile (codeset_mo): New variable.
52762         ($(codeset_mo)): New target.
52763         (tst-codeset.out): Depend on that.  Remove explicit rule.
52764         (tst-gettext3.out, tst-gettext5.out): Likewise.
52765         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52766         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52767         * intl/tst-codeset.sh: Remove.
52768         * intl/tst-gettext3.sh: Likewise.
52769         * intl/tst-gettext5.sh: Likewise.
52771 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52773         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52774         * sysdeps/unix/syscalls.list: ... here.
52776         * sysdeps/posix/getaddrinfo.c
52777         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52778         (gaiconf_init, gaiconf_reload): Use them.
52779         [!_STATBUF_ST_NSEC]
52780         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52781         Define using time_t rather than struct timespec.
52783         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52784         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52785         Macros removed.
52786         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52787         [!NO_THREADS].
52788         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52789         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52790         Likewise.
52792         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52793         __libc_cleanup_push argument.
52795         * bits/param.h: New file.
52796         * misc/sys/param.h: New file.
52797         * include/sys/param.h: New file.
52798         * misc/Makefile (headers): Add bits/param.h.
52799         * sysdeps/generic/sys/param.h: File removed.
52800         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52801         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52802         * sysdeps/mach/hurd/bits/param.h: New file.
52803         * sysdeps/mach/hurd/sys/param.h: File removed.
52805         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52806         last change.
52808         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52809         [_IO_MTSAFE_IO].
52810         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52811         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52812         New macros.
52814         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52815         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52816         rather than -D_IO_MTSAFE_IO conditionally.
52817         * stdio-common/Makefile (CPPFLAGS): Likewise.
52818         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52819         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52820         Use $(libio-mtsafe).
52821         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52822         of -D_IO_MTSAFE_IO.
52823         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52824         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52825         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52826         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52827         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52828         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52829         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52830         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52831         (CFLAGS-fread_u_chk.c): Likewise.
52832         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52833         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52834         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52835         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52836         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52837         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52838         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52839         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52840         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52842         * libio/Makefile: Test [$(libc-reentrant) = yes]
52843         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52845         * Makeconfig
52846         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52847         * sysdeps/pthread/configure: File removed.
52848         * sysdeps/pthread/Makeconfig: New file.
52849         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52850         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52852 2012-08-16  Gary Benson  <gbenson@redhat.com>
52854         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52855         unmapping the first object in a namespace.
52857 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52859         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52860         (__internal_setnetgrent): ... this.  Add internal_function to
52861         definition.  Add libc_hidden_def.
52862         (setnetgrent): Update caller.
52863         (internal_endnetgrent): Renamed to ...
52864         (__internal_endnetgrent): ... this.  Add internal_function to
52865         definition.  Add libc_hidden_def.
52866         (endnetgrent): Update caller.
52867         (internal_getnetgrent_r): Renamed to ...
52868         (__internal_getnetgrent_r): ... this.  Add internal_function to
52869         definition.  Add libc_hidden_def.
52870         (__getnetgrent_r): Update caller.
52871         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52873 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52875         * stdlib/longlong.h: Update from GCC.
52877 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52879         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52880         on _QL, which is set by umul_ppmm but never used.
52881         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52882         variables, which are set by GMP macros but never used.
52883         * stdio-common/_itowa.c (_itowa): Likewise.
52884         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52885         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52887 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52889         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52890         struct La_sh_regs is not constant.
52891         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52892         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52893         and struct La_sparc64_regs are not constant.
52895 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52897         * sysdeps/unix/sysv/linux/kernel-features.h
52898         (__ASSUME_POSIX_TIMERS): Remove.
52899         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52900         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52901         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52902         Make code unconditional.
52903         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52904         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52905         Make code unconditional.
52906         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52907         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52908         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52909         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52910         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52911         Make code unconditional.
52912         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52913         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52914         (__libc_missing_posix_timers): Remove.
52916 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52918         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52919         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52921         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52923         * elf/dl-sym.c: Include <stdlib.h>.
52925         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52926         constants, which avoids warnings in 32-bit builds.
52928         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52929         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52931         * misc/lseek.c: File moved to ...
52932         * io/lseek.c: ... here.
52934         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52936         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52937         shifting LEN more than 31 bits at once.
52939 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52941         [BZ #14195]
52942         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52943         segmentation fault for a case of two empty input strings.
52944         * string/test-strncasecmp.c (check1): Renamed to...
52945         (bz12205): ...this.
52946         (bz14195): Add new testcase for two empty input strings and N > 0.
52947         (test_main): Call new testcase, adapt for renamed function.
52949 2012-08-15  Andreas Jaeger  <aj@suse.de>
52951         [BZ #14090]
52952         * crypt/md5test2.c: New test, based on test supplied by Serge
52953         Belyshev <belyshev@depni.sinp.msu.ru>.
52954         * crypt/Makefile (xtests): Add md5test-giant..
52955         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52957 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52959         [BZ #14090]
52960         * crypt/md5.c (md5_process_block): Don't assume the buffer
52961         length is less than 2**32.
52962         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52963         length is less than 2**64.
52965 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52967         * string/str-two-way.h: Include <sys/param.h>.
52968         (MAX): Macro removed.
52970         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52971         Move #define and #undef of memmove to just before and after
52972         including <string.h>.
52974         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52975         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52976         and after including <string.h>.  Move declarations of
52977         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52978         to before #include "string/memmove.c".
52980         * include/dirent.h: Declare __getdirentries.
52982         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52983         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52985 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52987         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52988         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52989         * sysdeps/i386/configure: Regenerated.
52990         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52991         STABS_CURRENT_FILE, and STABS_FUN.
52992         (END): Remove call to STABS_FUN_END.
52993         (STABS_CURRENT_FILE1): Delete.
52994         (STABS_CURRENT_FILE): Likewise.
52995         (STABS_FUN): Likewise.
52996         (STABS_FUN_END): Likewise.
52997         (STABS_FUN2): Likewise.
52998         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52999         * sysdeps/x86_64/configure: Regenerated.
53001 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53003         * elf/dl-open.c: Include <atomic.h>.
53004         * elf/dl-lookup.c: Likewise.
53006 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53008         * sysdeps/unix/sysv/linux/kernel-features.h
53009         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53010         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53011         unconditionally.
53012         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53013         unconditionally.
53014         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53015         condition on __ASSUME_CLONE_THREAD_FLAGS.
53017 2012-08-14  Andreas Jaeger  <aj@suse.de>
53019         * sysdeps/i386/fpu/libm-test-ulps: Update.
53021 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53023         * include/atomic.h (atomic_exchange_and_add): Split into ...
53024         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53025         New atomic macros.
53027 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53031 2012-08-13  Jeff Law <law@redhat.com>
53033         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53034         null byte in the output string.
53036 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53038         * sysdeps/unix/sysv/linux/kernel-features.h
53039         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53040         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53041         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53042         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53043         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53044         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53045         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53047 2012-08-09  Jeff Law <law@redhat.com>
53049         [BZ #13939]
53050         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53051         When avoid_arena is set, don't retry in the that arena.  Pick the
53052         next one, whatever it might be.
53053         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53054         (arena_lock): Pass in new parameter to arena_get2.
53055         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53056         arena_get2.
53057         (__libc_malloc): Unify retrying after main arena failure with
53058         __libc_memalign version.
53059         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53061 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53063         [BZ #14166]
53064         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53065         to __redirect_strstr.
53066         (__strstr_sse42): Use typeof __redirect_strstr.
53067         (__strstr_ia32): Likewise.
53068         (__libc_strstr): New prototype.
53069         (strstr): Renamed to ...
53070         (__libc_strstr): This.
53071         (strstr): New strong alias of __libc_strstr.
53072         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53073         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53074         __redirect_time.
53075         Include <time.h>.
53076         (__libc_time): New prototype.
53077         (time_ifunc): Replace time with __libc_time.
53078         (time): New strong alias and hidden definition of __libc_time.
53079         (__GI_time): Remove strong alias.
53080         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53081         Include <stddef.h>.
53082         (memmove): Redefined to __redirect_memmove.
53083         (__memmove_sse2): Use typeof __redirect_memmove.
53084         (__memmove_ssse3): Likewise.
53085         (__memmove_ssse3_back): Likewise.
53086         (__libc_memmove): New prototype.
53087         (memmove): Renamed to ...
53088         (__libc_memmove): This.
53089         (memmove): New strong alias of __libc_memmove.
53091 2012-08-08  Mark Salter  <msalter@redhat.com>
53093         * elf/elf.h
53094         (R_MN10300_TLS_GD): Define.
53095         (R_MN10300_TLS_LD): Likewise.
53096         (R_MN10300_TLS_LDO): Likewise.
53097         (R_MN10300_TLS_GOTIE): Likewise.
53098         (R_MN10300_TLS_IE): Likewise.
53099         (R_MN10300_TLS_LE): Likewise.
53100         (R_MN10300_TLS_DTPMOD): Likewise.
53101         (R_MN10300_TLS_DTPOFF): Likewise.
53102         (R_MN10300_TLS_TPOFF): Likewise.
53103         (R_MN10300_SYM_DIFF): Likewise.
53104         (R_MN10300_ALIGN): Likewise.
53105         (R_MN10300_NUM): Update.
53107 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53109         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53110         Remove.
53112 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53114         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53116         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53117         sysdeps/unix -> sysdeps/posix move.
53118         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53120 2012-08-07      Allan McRae     <allan@archlinux.org>
53122         [BZ #14303]
53123         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53124         (SUNOS_CPP): Likewise.
53125         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53126         not found.
53127         (open_input): Call CPP using execvp.
53129 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53131         * sysdeps/unix/sysv/linux/kernel-features.h
53132         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53133         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53134         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53135         (__ASSUME_WAITID_SYSCALL): Likewise.
53136         * sysdeps/unix/sysv/linux/dl-execstack.c
53137         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53138         code unconditional.
53139         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53140         conditional code.
53141         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53142         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53143         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53144         code.
53145         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53146         unconditional.
53147         [__ASSUME_WAITID_SYSCALL]: Likewise.
53148         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53150 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53152         * sysdeps/unix/closedir.c: Renamed to ...
53153         * sysdeps/posix/closedir.c: ... here.
53154         * sysdeps/unix/dirfd.c: Renamed to ...
53155         * sysdeps/posix/dirfd.c: ... here.
53156         * sysdeps/unix/dirstream.h: Renamed to ...
53157         * sysdeps/posix/dirstream.h: ... here.
53158         * sysdeps/unix/fdopendir.c: Renamed to ...
53159         * sysdeps/posix/fdopendir.c: ... here.
53160         * sysdeps/unix/opendir.c: Renamed to ...
53161         * sysdeps/posix/opendir.c: ... here.
53162         * sysdeps/unix/readdir.c: Renamed to ...
53163         * sysdeps/posix/readdir.c: ... here.
53164         * sysdeps/unix/readdir_r.c: Renamed to ...
53165         * sysdeps/posix/readdir_r.c: ... here.
53166         * sysdeps/unix/rewinddir.c: Renamed to ...
53167         * sysdeps/posix/rewinddir.c: ... here.
53168         * sysdeps/unix/seekdir.c: Renamed to ...
53169         * sysdeps/posix/seekdir.c: ... here.
53170         * sysdeps/unix/telldir.c: Renamed to ...
53171         * sysdeps/posix/telldir.c: ... here.
53172         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53173         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53174         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53175         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53177         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53178         * bits/fcntl.h: ... here.
53180         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53181         not 0.
53182         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53183         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53184         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53185         (struct flock): Move l_start, l_len to the beginning.
53186         Use __pid_t for l_pid.
53187         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53188         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53189         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53190         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53191         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53192         [__USE_LARGEFILE64] (struct flock64): New type.
53193         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53195         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53196         * bits/dirent.h: ... here.
53198         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53199         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53201 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53203         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53204         Change from 2.6.0 to 2.6.16.
53205         * sysdeps/unix/sysv/linux/configure: Regenerated.
53206         * sysdeps/unix/sysv/linux/kernel-features.h
53207         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53208         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53209         version.
53210         (__ASSUME_UTIMES): Likewise.
53211         (__ASSUME_CLONE_STOPPED): Remove.
53212         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53213         architectures, not kernel version.
53214         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53215         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53216         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53217         (__ASSUME_WAITID_SYSCALL): Likewise.
53218         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53219         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53220         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53221         refer to older versions.
53223 2012-08-06  Roland McGrath  <roland@hack.frob.com>
53225         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53226         Define alphasort64 as an alias.
53227         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53228         Define versionsort64 as an alias.
53229         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53230         Define scandir64 as an alias.
53231         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53232         Define scandirat64 as an alias.
53233         * dirent/alphasort64.c (alphasort64):
53234         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53235         * dirent/versionsort64.c: Likewise.
53236         * dirent/scandir64.c: Likewise.
53237         * dirent/scandirat64.c: Likewise.
53238         * sysdeps/wordsize-64/alphasort.c: File removed.
53239         * sysdeps/wordsize-64/alphasort64.c: File removed.
53240         * sysdeps/wordsize-64/scandir.c: File removed.
53241         * sysdeps/wordsize-64/scandir64.c: File removed.
53242         * sysdeps/wordsize-64/scandirat.c: File removed.
53243         * sysdeps/wordsize-64/scandirat64.c: File removed.
53244         * sysdeps/wordsize-64/versionsort.c: File removed.
53245         * sysdeps/wordsize-64/versionsort64.c: File removed.
53246         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53247         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53248         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53249         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53250         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53251         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53252         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53253         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53255         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53256         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53257         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53258         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53259         [defined __arch64__ || defined __sparcv9]
53260         (__INO_T_MATCHES_INO64_T): New macro.
53261         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53262         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53263         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53264         * sysdeps/unix/sysv/linux/bits/dirent.h
53265         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53266         (_DIRENT_MATCHES_DIRENT64): New macro.
53268         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53269         Define lockf64 as an alias.
53270         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53271         Define fseeko64 as an alias.
53272         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53273         Define ftello64 as an alias.
53274         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53275         Define _IO_fgetpos64 and fgetpos64 as aliases.
53276         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53277         Define _IO_fsetpos64 and fsetpos64 as aliases.
53278         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53279         Conditionalize body on this.
53280         * libio/fseeko64.c: Likewise.
53281         * libio/ftello64.c: Likewise.
53282         * libio/iofgetpos64.c: Likewise.
53283         * libio/iofsetpos64.c: Likewise.
53284         * sysdeps/wordsize-64/lockf.c: File removed.
53285         * sysdeps/wordsize-64/lockf64.c: File removed.
53286         * sysdeps/wordsize-64/fseeko.c: File removed.
53287         * sysdeps/wordsize-64/fseeko64.c: File removed.
53288         * sysdeps/wordsize-64/ftello.c: File removed.
53289         * sysdeps/wordsize-64/ftello64.c: File removed.
53290         * sysdeps/wordsize-64/iofgetpos.c: File removed.
53291         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53292         * sysdeps/wordsize-64/iofsetpos.c: File removed.
53293         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53294         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53295         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53296         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53297         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53298         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53299         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53300         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53301         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53302         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53303         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53305         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53306         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53307         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53308         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53309         [defined __arch64__ || defined __sparcv9]
53310         (__OFF_T_MATCHES_OFF64_T): New macro.
53311         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53312         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53313         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53314         (__OFF_T_MATCHES_OFF64_T): New macro.
53316 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53318         * stdlib/secure-getenv.c (__secure_getenv): Replace
53319         GLIBC_2_16 with GLIBC_2_17.
53321 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53323         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53324         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53326 2012-08-03  David S. Miller  <davem@davemloft.net>
53328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53330 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53332         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53333         Remove.
53334         (__ASSUME_CORRECT_SI_PID): Likewise.
53335         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53336         (__ASSUME_TMPFS_NAME): Likewise.
53337         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53338         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53339         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53340         (HAVE_AUX_SECURE): Make definition unconditional.
53341         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53342         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53344 2012-08-03  Roland McGrath  <roland@hack.frob.com>
53346         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53347         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53348         * sysdeps/mach/hurd/eloop-threshold.h: New file.
53349         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53350         __eloop_threshold instead of SYMLOOP_MAX.
53352         * sysdeps/generic/eloop-threshold.h: New file.
53353         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53354         of MAXSYMLINKS.
53355         * elf/chroot_canon.c (chroot_canon): Likewise.
53357 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53359         [BZ #13717]
53360         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53361         Change to 2.6.0 everywhere.
53362         * sysdeps/unix/sysv/linux/configure: Regenerated.
53363         * sysdeps/unix/sysv/linux/kernel-features.h
53364         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53365         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53366         kernel versions.
53367         (__ASSUME_POSIX_TIMERS): Define unconditionally.
53368         (__ASSUME_FUTEX_REQUEUE): Remove.
53369         (__ASSUME_STATFS64): Define unconditionally.
53370         (__ASSUME_AT_SECURE): Likewise.
53371         (__ASSUME_CORRECT_SI_PID): Likewise.
53372         (__ASSUME_TGKILL): Define without depending on kernel version for
53373         i386.
53374         (__ASSUME_UTIMES): Likewise.
53375         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53376         kernel version.
53377         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53378         (__ASSUME_TMPFS_NAME): Likewise.
53379         * README: Update reference to Linux kernel versions.
53381 2012-08-02  Marek Polacek  <polacek@redhat.com>
53383         [BZ# 14150]
53384         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
53385         libc_cv_asm_type_prefix with %.
53386         * configure: Regenerated.
53387         * include/libc-symbols.h: Remove comment about
53388         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53389         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53390         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53391         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53392         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53393         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53394         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53395         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53396         * elf/tst-unique2mod1.c: Likewise.
53397         * elf/tst-unique1mod2.c: Likewise.
53398         * elf/tst-unique1mod1.c: Likewise.
53399         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53400         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53401         Replace ASM_TYPE_DIRECTIVE with .type.
53402         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53403         * sysdeps/i386/sysdep.h: Likewise.
53404         * sysdeps/x86_64/sysdep.h: Likewise.
53405         * sysdeps/sh/sysdep.h: Likewise.
53406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53407         Do not define ASM_TYPE_DIRECTIVE.
53408         * sysdeps/powerpc/sysdep.h: Likewise.
53409         * sysdeps/powerpc/powerpc32/sysdep.h:
53410         Replace ASM_TYPE_DIRECTIVE with .type.
53411         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53412         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53413         * sysdeps/i386/fpu/e_powf.S: Likewise.
53414         * sysdeps/i386/fpu/e_expl.S: Likewise.
53415         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53416         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53417         * sysdeps/i386/fpu/e_pow.S: Likewise.
53418         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53419         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53420         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53421         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53422         * sysdeps/i386/fpu/e_log2.S: Likewise.
53423         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53424         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53425         * sysdeps/i386/fpu/e_powl.S: Likewise.
53426         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53427         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53428         * sysdeps/i386/fpu/e_logl.S: Likewise.
53429         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53430         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53431         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53432         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53433         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53434         * sysdeps/i386/fpu/e_log.S: Likewise.
53435         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53436         * sysdeps/i386/fpu/e_logf.S: Likewise.
53437         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53438         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53439         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53440         * sysdeps/i386/fpu/e_log10.S: Likewise.
53441         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53442         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53443         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53444         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53445         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53446         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53447         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53448         * sysdeps/i386/i686/strtok.S: Likewise.
53449         * sysdeps/i386/i386-mcount.S: Likewise.
53450         * sysdeps/i386/strtok.S: Likewise.
53451         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53452         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53453         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53454         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53455         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53456         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53457         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53458         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53459         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53460         * sysdeps/x86_64/_mcount.S: Likewise.
53461         * sysdeps/x86_64/strtok.S: Likewise.
53462         * sysdeps/sh/_mcount.S: Likewise.
53464 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53466         * libio/iofopen.c: Include <fcntl.h>.
53467         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53468         (_IO_fopen64, fopen64): Define as aliases.
53469         * libio/iofopen64.c: Include <fcntl.h>.
53470         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53471         Conditionalize body on this.
53472         * sysdeps/wordsize-64/iofopen.c: File removed.
53473         * sysdeps/wordsize-64/iofopen64.c: File removed.
53475 2012-08-01  Marek Polacek  <polacek@redhat.com>
53477         * libc/Makeconfig: Use elf in place of binfmt-subdir.
53478         Use dlfcn directly instead of a variable.
53479         (binfmt-subdir): Do not define.
53480         (dlfcn): Likewise.
53482 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
53484         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53485         Remove all definitions.
53486         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53487         <kernel-features.h>.
53488         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53489         (miss_F_GETOWN_EX): Remove all definitions.
53490         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53491         macro definition.
53492         [!__ASSUME_FCNTL64]: Remove conditional code.
53493         [__ASSUME_FCNTL64]: Make code unconditional.
53494         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53495         <kernel-features.h>.
53496         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53497         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53498         (lockf64) [__NR_fcntl64]: Make code unconditional.
53499         (lockf64) [__ASSUME_FCNTL64]: Likewise.
53501         * sysdeps/unix/sysv/linux/kernel-features.h
53502         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53503         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53504         Make code unconditional.
53505         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53506         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53508         [__NR_vfork]: Make code unconditional.
53509         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53510         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53512         [__NR_vfork]: Make code unconditional.
53513         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53514         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53516 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53518         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
53519         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
53521         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53522         Define mkstemp64 as an alias.
53523         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53524         Define mkstemps64 as an alias.
53525         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53526         Define mkostemp64 as an alias.
53527         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53528         Define mkostemps64 as an alias.
53529         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
53530         Conditionalize body on this.
53531         * misc/mkostemp64.c: Likewise.
53532         * misc/mkostemps64.c: Likewise.
53533         * misc/mkstemps64.c: Likewise.
53534         * sysdeps/wordsize-64/mkstemp64.c: File removed.
53535         * sysdeps/wordsize-64/mkostemp64.c: File removed.
53536         * sysdeps/wordsize-64/mkostemp.c: File removed.
53537         * sysdeps/wordsize-64/mkstemp.c: File removed.
53538         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
53539         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
53540         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
53541         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
53543         [BZ #14138]
53544         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
53545         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
53546         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
53547         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
53549         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
53550         compat_symbol macros from <shlib-compat.h> rather than the underlying
53551         default_symbol_version and symbol_version macros, so that DEFAULT
53552         lines in shlib-versions are respected.
53553         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
53555 2012-08-01  Florian Weimer  <fweimer@redhat.com>
53557         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
53558         Declare with warn_unused_result.
53559         (setgid, setregid, setegid, setresgid): Likewise.
53560         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
53561         Likewise.
53562         * WUR-REPORT: Remove set*id functions.
53564 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
53566         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
53568 2012-07-31  Roland McGrath  <roland@hack.frob.com>
53570         [BZ #10191]
53571         * include/sys/socket.h (__libc_accept, __libc_accept4):
53572         Add attribute_hidden.
53573         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53575         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
53576         use of PTR_MANGLE.
53577         * inet/getnetgrent_r.c (setup): Likewise.
53579         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
53581 2012-07-31  David S. Miller  <davem@davemloft.net>
53583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53585 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
53587         [BZ #13629]
53588         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53589         value between 1.0 and 2.0 and smaller part has absolute value less
53590         than 1.0.
53591         * math/s_clog10.c (__clog10): Likewise.
53592         * math/s_clog10f.c (__clog10f): Likewise.
53593         * math/s_clog10l.c (__clog10l): Likewise.
53594         * math/s_clogf.c (__clogf): Likewise.
53595         * math/s_clogl.c (__clogl): Likewise.
53596         * math/libm-test.inc (clog_test): Add more tests.
53597         (clog10_test): Likewise.
53598         * sysdeps/i386/fpu/libm-test-ulps: Update.
53599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53601 2012-07-31  Florian Weimer  <fweimer@redhat.com>
53603         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53604         Exit with zero in case no suitable GID is found, and write a
53605         message to standard error.
53607 2012-07-30  Roland McGrath  <roland@hack.frob.com>
53609         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53610         rather than to 1.
53611         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53612         (MAXPATHLEN): Removed.
53613         (NOGROUP, NODEV): New macros.
53614         (setbit, clrbit, isset, isclr): New macros.
53615         (howmany, roundup, powerof2): New macros.
53616         (DEV_BSIZE): New macro.
53618         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53619         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53621         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53622         definition on [!__NO_LONG_DOUBLE_MATH].
53624         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53625         PTR_MANGLE and PTR_DEMANGLE.
53627         * socket/accept4.c (accept4): Rename to __libc_accept4.
53628         Define accept4 as a weak alias.
53630         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53631         on [_DIRENT_HAVE_D_TYPE].
53632         * io/ftw.c (ftw_dir): Likewise.
53634         * io/xmknod.c (__xmknod): Don't check PATH for being null.
53636         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53638         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53639         Use the BSD numbers rather than the arbitrary ones we had.
53640         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
53641         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
53642         (SIGXCPU, SIGXFSZ): New macros.
53643         (_NSIG): Now 32.
53645         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
53646         initializer on [_LIBC_REENTRANT].
53648         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
53649         definitions inside [_POSIX_MAPPED_FILES].
53651         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
53653         * dirent/opendir.c: Include <fcntl.h>.
53655         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
53656         (__libc_getspecific): Likewise.
53657         (__libc_key_create): Likewise.
53659         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
53660         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
53661         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
53662         (tmpfile64): Define as alias.
53663         * sysdeps/wordsize-64/tmpfile.c: File removed.
53664         * sysdeps/wordsize-64/tmpfile64.c: File removed.
53665         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
53666         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
53668         * stdio-common/vfscanf.c: Include <stdbool.h>.
53669         * nss/makedb.c: Likewise.
53670         * stdio-common/_i18n_number.h: Likewise.
53671         * argp/argp-help.c: Likewise.
53672         * posix/wordexp.c: Likewise.
53673         * sysdeps/posix/spawni.c: Likewise.
53674         * nss/nss_files/files-initgroups.c: Likewise.
53675         * stdio-common/reg-modifier.c: Include <stdlib.h>.
53676         * nss/nss_files/files-initgroups.c: Likewise.
53677         * nss/nss_db/db-netgrp.c: Likewise.
53678         * nss/nss_db/db-initgroups.c: Likewise.
53679         * io/fchmodat.c: Include <sys/stat.h>.
53681         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
53682         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
53684         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
53685         [HAVE_MMAP].
53687         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
53688         Add multiple inclusion protection.
53690 2012-07-27  David S. Miller  <davem@davemloft.net>
53692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53694 2012-07-27  Gary Benson  <gbenson@redhat.com>
53696         [BZ #14298]
53697         * elf/rtld.c: Include <stap-probe.h>.
53698         (dl_main): Added static probes "init_start" and "init_complete".
53699         * elf/dl-load.c: Include <stap-probe.h>.
53700         (lose): Take new parameter "nsid".
53701         Added static probe "map_failed".
53702         (_dl_map_object_from_fd): Pass namespace id to lose.
53703         Added static probe "map_start".
53704         (open_verify): Pass namespace id to lose.
53705         * elf/dl-open.c: Include <stap-probe.h>.
53706         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53707         and "reloc_complete".
53708         * elf/dl-close.c: Include <stap-probe.h>.
53709         (_dl_close_worker): Added static probes "unmap_start" and
53710         "unmap_complete".
53711         * elf/rtld-debugger-interface.txt: New file documenting the above.
53713 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53715         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53716         rather than a string variable.
53717         * sunrpc/rpc_main.c (h_output): Likewise.
53718         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53720 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53722         * inet/check_native.c: New file.
53724 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53726         [BZ #13629]
53727         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53728         if larger part has absolute value 1.0.
53729         * math/s_clog10.c (__clog10): Likewise.
53730         * math/s_clog10f.c (__clog10f): Likewise.
53731         * math/s_clog10l.c (__clog10l): Likewise.
53732         * math/s_clogf.c (__clogf): Likewise.
53733         * math/s_clogl.c (__clogl): Likewise.
53734         * math/libm-test.inc (clog_test): Add more tests.
53735         (clog10_test): Likewise.
53736         * sysdeps/i386/fpu/libm-test-ulps: Update.
53737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53739         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53740         (pltexit): Likewise.
53741         (La_regs): Likewise.
53742         (La_retval): Likewise.
53743         (int_retval): Likewise.
53744         Update #error for removed macros to refer only to definitions in
53745         tst-audit.h.
53746         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
53747         macro.
53748         (pltexit): Likewise.
53749         (La_regs): Likewise.
53750         (La_retval): Likewise.
53751         (int_retval): Likewise.
53752         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53753         macro.
53754         (pltexit): Likewise.
53755         (La_regs): Likewise.
53756         (La_retval): Likewise.
53757         (int_retval): Likewise.
53758         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53759         macro.
53760         (pltexit): Likewise.
53761         (La_regs): Likewise.
53762         (La_retval): Likewise.
53763         (int_retval): Likewise.
53764         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53765         macro.
53766         (pltexit): Likewise.
53767         (La_regs): Likewise.
53768         (La_retval): Likewise.
53769         (int_retval): Likewise.
53770         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53771         macro.
53772         (pltexit): Likewise.
53773         (La_regs): Likewise.
53774         (La_retval): Likewise.
53775         (int_retval): Likewise.
53776         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53777         macro.
53778         (pltexit): Likewise.
53779         (La_regs): Likewise.
53780         (La_retval): Likewise.
53781         (int_retval): Likewise.
53782         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53783         macro definitions in tst-audit.h.
53784         * sysdeps/i386/tst-audit.h: New file.
53785         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53786         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53787         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53788         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53789         * sysdeps/sh/tst-audit.h: Likewise.
53790         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53791         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53792         * sysdeps/x86_64/tst-audit.h: Likewise.
53794 2012-07-26  Andreas Jaeger  <aj@suse.de>
53796         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53797         ptrace.
53799         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53800         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53801         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53802         PTRACE_O_MASK.
53803         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53804         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53805         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53807         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53808         value.
53810         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53811         _sigsys.
53812         (si_call_addr, si_syscall, si_arch): Define new macro.
53813         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53814         _sigsys.
53815         (si_call_addr, si_syscall, si_arch): Define new marcro.
53816         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53817         _sigsys.
53818         (si_call_addr, si_syscall, si_arch): Define new macro.
53819         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53820         _sigsys.
53821         (si_call_addr, si_syscall, si_arch): Define new macro.
53823 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53825         [BZ #13717]
53826         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53827         Change to 2.4.21 where previously 2.4.1.
53828         * sysdeps/unix/sysv/linux/configure: Regenerated.
53829         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53830         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53831         Linux kernel version.
53832         (__ASSUME_STD_AUXV): Remove.
53833         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53834         kernel version.
53835         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53836         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53837         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53838         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53839         (__ASSUME_NETLINK_SUPPORT): Likewise.
53840         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53841         (__no_netlink_support): Remove conditional definition.
53842         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53843         Remove.
53844         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53845         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53846         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53847         (if_nameindex_ioctl): Remove.
53848         (if_nameindex_netlink): Do not handle __no_netlink_support.
53849         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53850         code.
53851         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53852         Remove conditional code.
53853         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53854         code.
53855         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53856         unconditional.
53857         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53858         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53859         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53860         Remove.
53861         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53862         [!__ASSUME_STD_AUXV]: Remove conditional code.
53863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53864         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53865         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53867         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53868         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53869         code.
53870         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53872         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53873         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53874         conditional code.
53875         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53877         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53878         code.
53879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53880         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53881         conditional code.
53882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53883         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53884         code unconditional.
53885         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53886         conditional code.
53887         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53888         unconditional.
53889         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53890         conditional code.
53891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53892         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53893         unconditional.
53894         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53895         conditional code.
53896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53897         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53898         code unconditional.
53899         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53900         conditional code.
53901         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53902         unconditional.
53903         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53904         conditional code.
53905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53906         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53907         code unconditional.
53908         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53909         conditional code.
53910         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53911         unconditional.
53912         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53913         conditional code.
53915 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53917         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53918         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53919         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53920         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53921         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53922         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53923         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53924         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53925         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53926         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53927         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53928         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53929         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53930         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53931         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53932         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53933         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53934         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53935         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53936         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53937         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53938         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53939         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53941 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53943         * Versions.def: Add GLIBC_2.17.
53944         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53945         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53946         Introduce __libc_secure_getenv.
53947         * stdlib/Versions (2.17): Add secure_getenv
53948         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53949         * stdlib/secure-getenv.c: Rename __secure_getenv to
53950         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53951         symbol __secure_getenv for GLIBC_2.0.
53952         * stdlib/tst-secure-getenv.c: New.
53953         * stdlib/Makefile (tests): Add testcase.
53954         * manual/startup.texi (Environment Access): Document
53955         secure_getenv.
53956         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53957         __libc_secure_getenv.
53958         * inet/ruserpass.c (ruserpass): Likewise.
53959         * malloc/mtrace.c (mtrace): Likewise.
53960         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53961         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53962         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53963         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53964         HAVE_SECURE_GETENV.
53965         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53966         __secure_getenv to __libc_secure_getenv.
53967         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53969         Likewise.
53970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53971         Likewise.
53972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53974         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53980 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53982         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53983         (struct La_i86_retval): Likewise.
53984         (struct La_x86_64_regs): Likewise.
53985         (struct La_x86_64_retval): Likewise.
53986         (struct La_x32_regs): Likewise.
53987         (struct La_x32_retval): Likewise.
53988         (struct La_ppc32_regs): Likewise.
53989         (struct La_ppc32_retval): Likewise.
53990         (struct La_ppc64_regs): Likewise.
53991         (struct La_ppc64_retval): Likewise.
53992         (struct La_sh_regs): Likewise.
53993         (struct La_sh_retval): Likewise.
53994         (struct La_s390_32_regs): Likewise.
53995         (struct La_s390_32_retval): Likewise.
53996         (struct La_s390_64_regs): Likewise.
53997         (struct La_s390_64_retval): Likewise.
53998         (struct La_sparc32_regs): Likewise.
53999         (struct La_sparc32_retval): Likewise.
54000         (struct La_sparc64_regs): Likewise.
54001         (struct La_sparc64_retval): Likewise.
54002         (struct audit_ifaces): Remove architecture-specific pltenter and
54003         pltexit members.
54004         * sysdeps/i386/ldsodefs.h: New file.
54005         * sysdeps/powerpc/ldsodefs.h: Likewise.
54006         * sysdeps/s390/ldsodefs.h: Likewise.
54007         * sysdeps/sh/ldsodefs.h: Likewise.
54008         * sysdeps/sparc/ldsodefs.h: Likewise.
54009         * sysdeps/x86_64/ldsodefs.h: Likewise.
54011 2012-07-25  Marek Polacek  <polacek@redhat.com>
54013         [BZ #6808]
54014         * math/libm-test.inc (yn_test): Add another test.
54015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54016         to ERANGE when the result is +-Inf.
54017         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54018         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54019         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54020         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54022 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54024         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54025         equal to 0.
54026         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54027         clock_t.
54028         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54030 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54032         * configure.in <sysdeps resolving>: Correct printing
54033         Implies_before.
54034         * configure: Regenerate.
54036 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54038         * math/w_ilogb.c: Include <limits.h>.
54039         * math/w_ilogbl.c: Likewise.
54041 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54043         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54044         va_copy.  Document allowing for unavailable va_copy only as
54045         pre-C99 compatibility.
54046         * manual/string.texi (Copying and Concatenation): Use va_copy
54047         instead of __va_copy in concat example.
54049 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54051         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54052         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54053         it if not null.
54055         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54056         with O_NOLINK passed to __file_name_lookup.
54058         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54059         with O_NOLINK passed to __file_name_lookup.
54061         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54062         negative N or less than NGIDS.
54064         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54065         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54066         enough.  Use memcpy instead of strncpy.
54068 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54070         * elf/Makefile (check-data): Remove.
54071         (localplt.data): New vpath directive.
54072         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54073         instead of $(check-data).
54074         * scripts/data/localplt-generic.data: Move to ...
54075         * sysdeps/generic/localplt.data: ... here.
54076         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54077         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54078         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54080         ... here.
54081         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54083         ... here.
54084         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54086         ... here.
54087         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54089         ... here.
54090         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54092         ... here.
54093         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54095         ... here.
54097 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54099         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54100         PPC32 and PPC64 files.
54101         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54102         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54104 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54106         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54107         __makecontext_ret to ...
54108         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54109         ... here and call exit if uc_link is NULL.  New file.
54110         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54111         __makecontext_ret.S.
54112         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54113         __makecontext_ret to ...
54114         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54115         ... here and call exit if uc_link is NULL.  New file.
54116         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54117         __makecontext_ret.S.
54119 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54121         * elf/elf.h (R_390_IRELATIVE): New definition.
54122         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54123         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54124         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54125         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54126         (elf_machine_lazy_rel): Likewise.
54127         * sysdeps/s390/dl-irel.h: New file.
54128         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54129         * sysdeps/s390/s390-64/memset.S: New asm code.
54130         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54131         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54132         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54133         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54134         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54135         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54136         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54137         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54138         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54139         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54140         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54141         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54142         * sysdeps/s390/s390-32/memset.S: New asm code.
54143         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54145 2012-07-17  Marek Polacek  <polacek@redhat.com>
54147         [BZ #14349]
54148         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54149         * sysdeps/s390/s390-64/configure.in: Likewise.
54150         * sysdeps/sparc/configure.in: Likewise.
54151         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54152         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54153         * sysdeps/i386/configure.in: Likewise.
54154         * sysdeps/x86_64/configure.in: Likewise.
54155         * sysdeps/sh/configure.in: Likewise.
54156         * sysdeps/s390/s390-32/configure: Regenerated.
54157         * sysdeps/s390/s390-64/configure: Likewise.
54158         * sysdeps/x86_64/configure: Likewise.
54159         * sysdeps/sh/configure: Likewise.
54160         * sysdeps/powerpc/powerpc64/configure: Likewise.
54161         * sysdeps/powerpc/powerpc32/configure: Likewise.
54162         * sysdeps/sparc/configure: Likwise.
54163         * sysdeps/i386/configure: Likewise.
54165         * elf/dl-open.c: Comment fixes.
54167 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54169         * Makefile [CXX] (check-data): Remove.
54170         [CXX] (c++-types.data): New vpath directive.
54171         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54172         vpath.  Do not allow for C++ type data being missing.
54173         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54174         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54175         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54176         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54177         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54178         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54179         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54181         ... here.
54182         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54184         ... here.
54185         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54187         ... here.
54188         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54190         ... here.
54191         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54193         ... here.
54194         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54196         ... here.
54197         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54199         ... here.
54200         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54203         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54204         definitions to architecture-specific files.
54205         (TLS_IE): Likewise.
54206         (TLS_LD): Likewise.
54207         (TLS_GD): Likewise.
54208         * sysdeps/i386/tls-macros.h: New file.
54209         * sysdeps/powerpc/tls-macros.h: Likewise.
54210         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54211         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54212         * sysdeps/sh/tls-macros.h: Likewise.
54213         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54214         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54215         * sysdeps/x86_64/tls-macros.h: Likewise.
54217 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54219         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54220         zero value for regular exit case.
54222         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54223         (__start_context): Preserve zero value for regular exit case.
54225 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54226             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54228         * manual/setjmp.texi (setcontext): Clarify normal process
54229         termination when uc_link is the null pointer.
54230         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54231         exit call.
54233 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
54235         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54236         preprocessor.  Test for each exception mask separately.
54238 2012-07-16  Andreas Jaeger  <aj@suse.de>
54240         * po/ru.po: Update from translation team.
54242 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
54244         * conform/data/string.h-data (NULL): Use macro-constant.  Require
54245         equal to 0.
54246         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54247         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54248         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54249         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54250         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54252 2012-07-13  Andreas Jaeger  <aj@suse.de>
54254         * po/fr.po: Update from translation team.
54256 2012-07-12  Marek Polacek  <polacek@redhat.com>
54258         [BZ #14173]
54259         * math/libm-test.inc (yn_test): Add test for BZ #14173.
54260         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54261         loop condition.
54263 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
54265         [BZ #13717]
54266         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54267         Change to 2.4.1 where previously 2.4.0.
54268         * sysdeps/unix/sysv/linux/configure: Regenerated.
54269         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54270         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54271         version.
54272         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54273         (__ASSUME_AT_CLKTCK): Remove.
54274         (__ASSUME_AT_PAGESIZE): Likewise.
54275         (__ASSUME_AT_XID): Likewise.
54276         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54277         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54278         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54279         unconditionally.
54280         (HAVE_AUX_PAGESIZE): Likewise.
54281         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54282         [__ASSUME_AT_CLKTCK]: Make code unconditional.
54283         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54285 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54287         [BZ #14307]
54288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54289         the temporary buffer used to invoke __gethostbyname2_r,
54290         __gethostbyaddr_r and gethostbyname4_r to make room for struct
54291         host_data / struct gaih_addrtuple.
54292         * resolv/nss_dns/dns-host.c (global scope): Move definition of
54293         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54294         header file nss/nsswitch.h.
54295         * nss/nsswitch.h (global scope): Add definition of implementation
54296         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54297         resolv/nss_dns/dns-host.c).
54299 2012-07-11  Andreas Jaeger  <aj@suse.de>
54301         * po/fr.po: Update from translation team.
54303         * po/sv.po: Update from translation team
54304         * po/fr.po: Another update from translation team.
54306 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54308         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54309         for subnormals or multiply small sinh result by itself.
54310         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54313 2012-07-11  David S. Miller  <davem@davemloft.net>
54315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54317 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
54319         [BZ #14347]
54320         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54321         (INTERNAL_MARK): Shift it here.
54323 2012-07-10  Marek Polacek  <polacek@redhat.com>
54325         [BZ #14151]
54326         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
54327         libc_cv_asm_global_directive with .globl.
54328         * configure: Regenerated.
54329         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54330         with .globl.
54331         * sysdeps/i386/configure: Regenerated.
54332         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54333         with .globl.
54334         * sysdeps/x86_64/configure: Regenerated.
54335         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54336         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54337         * elf/tst-unique2mod2.c: Likewise.
54338         * elf/tst-unique2mod1.c: Likewise.
54339         * elf/tst-unique1mod2.c: Likewise.
54340         * elf/tst-unique1mod1.c: Likewise.
54341         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54342         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54343         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54344         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54345         * sysdeps/mach/sysdep.h: Likewise.
54346         * sysdeps/i386/sysdep.h: Likewise.
54347         * sysdeps/i386/i386-mcount.S: Likewise.
54348         * sysdeps/x86_64/_mcount.S: Likewise.
54349         * sysdeps/x86_64/sysdep.h: Likewise.
54350         * sysdeps/sh/_mcount.S: Likewise.
54351         * sysdeps/sh/sysdep.h: Likewise.
54352         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54353         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54354         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54355         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54356         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54357         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54358         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54359         * locale/localeinfo.h: Likewise.
54360         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54361         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54363 2012-07-09  Roland McGrath  <roland@hack.frob.com>
54365         [BZ #14336]
54366         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54367         system".
54368         * manual/message.texi (The Uniforum approach): Likewise.
54369         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54370         (glibc iconv Implementation): Likewise.
54372 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
54374         [BZ #14337]
54375         * math/s_clog.c (__clog): Avoid scaling a value down where that
54376         could result in underflow.
54377         * math/s_clog10.c (__clog10): Likewise.
54378         * math/s_clog10f.c (__clog10f): Likewise.
54379         * math/s_clog10l.c (__clog10l): Likewise.
54380         * math/s_clogf.c (__clogf): Likewise.
54381         * math/s_clogl.c (__clogl): Likewise.
54382         * math/libm-test.inc (clog_test): Add more tests.
54383         (clog10_test): Likewise.
54384         * sysdeps/i386/fpu/libm-test-ulps: Update.
54385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54387 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
54389         [BZ #14283]
54390         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54391         by 7 not 8 to examine high bit of fractional part.
54393         [BZ #14042]
54394         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54395         for call to __mcount_internal.
54396         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54397         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54398         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54400 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
54402         [BZ #14154]
54403         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54404         approximation for values within 0x1p-13f of an odd multiple of
54405         pi/4.
54406         * math/libm-test.inc (tan_test): Do not allow spurious underflow
54407         exception.  Add more tests.
54408         * sysdeps/i386/fpu/libm-test-ulps: Update.
54410         [BZ #6778]
54411         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54412         inputs and return -1 for them.  Do not check for +Inf in case not
54413         reachable for +Inf.
54414         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54415         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54416         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54417         and return -1 for them.  Do not check for +Inf in case not
54418         reachable for +Inf.
54419         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54420         define.
54421         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54422         and return -1 for them.  Do not check for +Inf in case not
54423         reachable for +Inf.
54424         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
54425         spurious underflow.
54426         * sysdeps/i386/fpu/libm-test-ulps: Update.
54427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54429 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
54431         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54433 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
54435         [BZ #14157]
54436         [BZ #14331]
54437         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54438         could result in spurious underflow.  Scale down values above
54439         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54440         * math/s_csqrtf.c (__csqrtf): Likewise.
54441         * math/s_csqrtl.c (__csqrtl): Likewise.
54442         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
54443         spurious underflow.
54444         * sysdeps/i386/fpu/libm-test-ulps: Update.
54445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54447 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
54449         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54450         xopen-msg.sed.
54451         * catgets/xopen-msg.awk: New file.
54452         * catgets/xopen-msg.sed: Removed.
54454         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54455         po2text.sed.
54456         * intl/po2test.awk: New file.
54457         * intl/po2test.sed: Removed.
54459 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
54461         [BZ #14328]
54462         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54463         or multiply small sinh result by itself.
54464         * math/s_ctanf.c (__ctanf): Likewise.
54465         * math/s_ctanh.c (__ctanh): Likewise.
54466         * math/s_ctanhf.c (__ctanhf): Likewise.
54467         * math/s_ctanhl.c (__ctanhl): Likewise.
54468         * math/s_ctanl.c (__ctanl): Likewise.
54469         * math/libm-test.inc (ctan_test_tonearest): New function.
54470         (ctan_test_towardzero): Likewise.
54471         (ctan_test_downward): Likewise.
54472         (ctan_test_upward): Likewise.
54473         (ctanh_test_tonearest): Likewise.
54474         (ctanh_test_towardzero): Likewise.
54475         (ctanh_test_downward): Likewise.
54476         (ctanh_test_upward): Likewise.
54477         (main): Call these new functions.
54478         * sysdeps/i386/fpu/libm-test-ulps: Update.
54479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54481 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
54483         * .gitignore: Delete /ports entry.
54485 2012-07-03  Andreas Jaeger  <aj@suse.de>
54487         * po/bg.po: Update from translation team.
54488         * po/cs.po: Likewise.
54489         * po/de.po: Likewise.
54490         * po/hr.po: Likewise.
54491         * po/nl.pl: Likewise.
54492         * po/pl.po: Likewise.
54493         * po/vi.po: Likewise.
54495 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
54497         * Makeconfig [!+link] (+link-before-libc): New variable.
54498         [!+link] (+link-after-libc): Likewise.
54499         [!+link] (+link-tests): Likewise.
54500         [!+link] (+link): Define in terms of $(+link-before-libc) and
54501         $(+link-after-libc).
54502         [!+link-static] (+link-static-before-libc): New variable.
54503         [!+link-static] (+link-static-after-libc): Likewise.
54504         [!+link-static] (+link-static-tests): Likewise.
54505         [!+link-static] (+link-static): Define in terms of
54506         $(+link-static-before-libc) and $(+link-static-after-libc).
54507         [build-shared] (link-libc-before-gnulib): New variable.
54508         [build-shared] (link-libc-tests): Likewise.
54509         [build-shared] (link-libc): Define in terms of
54510         $(link-libc-before-gnulib).
54511         [!build-shared] (link-libc-tests): New variable.
54512         (link-libc-static-tests): New variable.
54513         [!gnulib] (gnulib-arch): New variable.
54514         [!gnulib] (gnulib-tests): Likewise.
54515         [!gnulib] (static-gnulib-arch): Likewise.
54516         [!gnulib] (static-gnulib-tests): Likewise.
54517         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
54518         Define with "=" instead of ":=".
54519         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
54520         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
54521         * Rules (binaries-all-notests): New variable.
54522         (binaries-all-tests): Likewise.
54523         (binaries-static-notests): Likewise.
54524         (binaries-static-tests): Likewise.
54525         (binaries-all): Define using $(binaries-all-notests) and
54526         $(binaries-all-tests).
54527         (binaries-static): Define using $(binaries-static-notests) and
54528         $(binaries-static-tests).
54529         (binaries-shared-tests): New variable.
54530         (binaries-shared-notests): Likewise.
54531         (binaries-shared): Remove variable.
54532         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
54533         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54534         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
54535         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
54536         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
54537         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54538         * elf/Makefile (sln-modules): New variable.
54539         (extra-objs): Add $(sln-modules:=.o).
54540         (ldconfig-modules): Add static-stubs.
54541         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
54542         * elf/static-stubs.c: New file.
54544         [BZ #14283]
54545         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
54546         by 7 not 8 to examine high bit of fractional part.  Use volatile
54547         variables when splitting into final array of floats if
54548         __FLT_EVAL_METHOD__ != 0.
54549         * math/libm-test.inc (cos_test): Add another test.
54550         (sin_test): Likewise.
54551         * sysdeps/i386/fpu/libm-test-ulps: Update.
54553         [BZ #14273]
54554         * math/libm-test.inc (cosh_test): Add more tests.
54556         * version.h (RELEASE): Set to "development".
54557         (VERSION): Set to "2.16.90".
54559 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
54561         * NEWS: Update copyright. Remove last-updated date.
54562         Mention math library bug fixes and timezone data changes.
54563         * README: Mention GNU/Hurd, x32, and HPPA support status.
54565 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
54567         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
54569 2012-06-27  Andreas Jaeger  <aj@suse.de>
54571         * manual/contrib.texi (Contributors): Add Samuel Thibault.
54573 2012-06-25  Andreas Jaeger  <aj@suse.de>
54575         * sysdeps/s390/fpu/libm-test-ulps: Update.
54577 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
54578             Thomas Schwinge  <thomas@codesourcery.com>
54580         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
54581         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
54582         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
54583         fanotify_mark.
54585 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
54587         * sysdeps/mach/start.c: Remove file.
54588         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54589         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54590         * sysdeps/sh/init-first.c: Likewise.
54592         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54593         registers for frame unwinding purposes, add CFI directives.
54594         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54595         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54596         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54597         Likewise.
54599         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54600         __fortify_fail returning.
54601         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54603         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54604         sysdeps/sh/____longjmp_chk.S.
54605         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54606         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54607         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54608         (gen-as-const-headers): Append sigaltstack-offsets.sym.
54610         * sysdeps/sh/abort-instr.h: New file.
54611         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54612         process in case exit returns.
54614         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54615         initialize the GOT register before use.
54617         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54618         calculation of ARGC > 4.
54620         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54621         meaningful names to some local labels.
54623 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54624             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54626         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54627         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54628         (__arch_compare_and_exchange_val_16_acq): Likewise.
54629         (__arch_compare_and_exchange_val_32_acq): Likewise.
54630         (atomic_exchange_and_add): Fix gUSA sequence.
54631         (atomic_add): Likewise.
54632         (atomic_add_negative): Likewise.
54633         (atomic_add_zero): Likewise.
54634         (atomic_bit_test_set): Likewise.
54636 2012-06-22  Andreas Schwab  <schwab@redhat.com>
54638         [BZ #13579]
54639         * include/link.h (struct link_map): Add l_free_initfini.
54640         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
54641         l_initfini.
54642         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
54643         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
54644         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
54645         set.
54647 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
54649         * configure.in: Use AC_LANG_SOURCE.
54650         * configure: Regenerate.
54652 2012-06-22  Roland McGrath  <roland@hack.frob.com>
54654         * configure.in (libc_cv_localstatedir): New substituted variable.
54655         * configure: Regenerated.
54656         * config.make.in (localstatedir): New variable, substituted from
54657         libc_cv_localstatedir.
54658         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
54659         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
54660         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
54661         * sysdeps/gnu/configure: Regenerated.
54663 2012-06-21  Jeff Law  <law@redhat.com>
54665         [BZ #14277]
54666         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
54667         free.  Simplify list management for _LIBC case.
54669 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
54671         [BZ #14273]
54672         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
54673         Clear sign bit of 64-bit integer value before comparing against
54674         overflow value.
54676         * sysdeps/mach/configure: Regenerated.
54678 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
54680         [BZ #14278]
54681         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
54683 2012-06-21  Jeff Law  <law@redhat.com>
54685         [BZ #13882]
54686         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
54687         uint16_t for elements in the "seen" array to avoid char overflows.
54688         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54689         * elf/dl-open.c (dl_open_worker): Likewise.
54691 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
54693         * scripts/list-sources.sh: Scan PORTS for translations.
54694         * po/libc.pot: Regenerated.
54696 2012-06-21  Andreas Jaeger  <aj@suse.de>
54698         [BZ #12194]
54699         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54700         warning.
54701         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54702         * bits/byteswap-16.h (__bswap_16): Likewise.
54703         * bits/byteswap.h (__bswap_constant_16): Likewise.
54705 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54707         [BZ #14117]
54708         * sysdeps/i386/fpu_control.h: Removed.
54709         * sysdeps/x86_64/fpu_control.h: Moved to ...
54710         * sysdeps/x86/fpu_control.h: Here.
54712         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54713         (_FPU_SETCW): Likewise.
54715 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54717         [BZ #14117]
54718         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54719         * sysdeps/x86/fpu/bits/mathinline.h: This.
54720         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54722         [BZ #14050]
54723         [BZ #14117]
54724         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54725         functions if __x86_64__ is defined.
54727 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54729         * string/endian.h: Add !__ASSEMBLER__ condition for including
54730         conversion interfaces.
54732 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54734         [BZ #14241]
54735         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54736         of ABS(x) in calculating zero to negative powers other than odd
54737         integers.
54738         * math/libm-test.inc (pow_test): Add more tests.
54740 2012-06-15  Andreas Jaeger  <aj@suse.de>
54742         * manual/contrib.texi (Contributors): Update entry of Liubov
54743         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54744         Machado Filho.
54746 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54748         * string/string.h: Add __wur to GNU version of strerror_r.
54750 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54752         [BZ #14229]
54753         * string/Makefile (tests): Add tst-strtok_r.
54754         * string/tst-strtok_r.c: New file.
54755         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54756         RAX_LP/RDX_LP on SAVE_PTR.
54758 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54760         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54762 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54764         * libm_test.inc (csqrt_test): Allow more spurious underflow
54765         exceptions.
54766         (j0_test): Likewise.
54767         (j1_test): Likewise.
54768         (y0_test): Likewise.
54769         (y1_test): Likewise.
54771 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54773         * po/Makefile (libc.pot): Use UTF-8 charset.
54775 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54777         [BZ #14210]
54778         Suppress sign-conversion warning from FD_SET.
54779         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54780         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54781         not unsigned long int.
54782         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54784 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54786         [BZ #14050]
54787         [BZ #14117]
54788         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54789         __extern_always_inline instead of __extern_inline.
54790         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54791         (__signbit): Likewise.
54792         (__signbitl): Support C++ namespace.
54793         (lrintf): New inline function.
54794         (lrint): Likewise.
54795         (llrintf): Likewise.
54796         (llrint): Likewise.
54797         (fmaxf): Likewise.
54798         (fmax): Likewise.
54799         (fminf): Likewise.
54800         (fmin): Likewise.
54801         (rint): Likewise.
54802         (rintf): Likewise.
54803         (ceil): Likewise.
54804         (ceilf): Likewise.
54805         (floor): Likewise.
54806         (floorf): Likewise.
54807         (nearbyint): Likewise.
54808         (nearbyintf): Likewise.
54810 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54812         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54813         non-default versions.
54815 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54817         [BZ #14218]
54818         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54820 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54822         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54823         (FE_UPWARD, FE_DOWNWARD): Don't define.
54824         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54825         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54827         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54828         reading it.
54829         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54830         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54832 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54834         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54836         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54837         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54839 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54841         [BZ #14117]
54842         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54843         * sysdeps/i386/fpu/Implies: New file.
54844         * sysdeps/x86_64/fpu/Implies: Likewise.
54845         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54846         * sysdeps/x86/fpu/bits/fenv.h: This.
54848         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54849         __SSE_MATH__.
54851 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54853         [BZ #14134]
54854         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54855         character 0xffff that matches the last element of the
54856         conversion table.
54858 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54860         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54861         fmodl commit.
54863 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54865         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54866         values higher than 25.6283.
54868 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54870         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54871         subnormal exponent extraction and add some __builtin_expect.
54872         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54873         Fix for subnormal mantissa calculation.
54875 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54877         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54878         cpu2 is -1 and errno is not ENOSYS.
54880 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54882         [BZ #14117]
54883         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54884         * sysdeps/x86/bits/string.h: This.
54885         * sysdeps/x86_64/bits/string.h: Removed.
54887         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54888         if not compiling for x86-64, but compiling for >= i486.
54890         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54891         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54893         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54894         New macro from Linux kernel 3.4.0.
54895         (FP_XSTATE_MAGIC2): Likewise.
54896         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54897         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54898         (struct _fpx_sw_bytes): New struct.
54899         (struct _xsave_hdr): Likewise.
54900         (struct _ymmh_state): Likewise.
54901         (struct _xstate): Likewise.
54903         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54904         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54905         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54906         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54907         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54908         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54910         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54911         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54912         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54913         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54914         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54915         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54917 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54919         [BZ #13743]
54920         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54921         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54922         (sysdep_headers): Include sys/platform/ppc.h.
54923         * sysdeps/powerpc/test-gettimebase.c: Test for
54924         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54925         * manual/Makefile (appendices): Include platform.texi.
54926         * manual/contrib.texi (Contributors): Update @node pointers.
54927         * manual/maint.texi (Maintenance): Likewise.
54928         (Platform): New node.
54929         * manual/platform.texi: New file.  Document the new features.
54931 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54932             Jakub Jelinek  <jakub@redhat.com>
54934         [BZ #14188]
54935         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54936         where __builtin_expect is unavailable.
54938 2012-06-03  David S. Miller  <davem@davemloft.net>
54940         * stdlib/longlong.h: Updated from GCC.
54942 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54944         [BZ #14042]
54945         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54946         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54947         __mcount_internal.
54948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54949         (GLIBC_2.16): Likewise.
54951 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54953         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54955 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54958         (default-abi): New variable.
54959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54960         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54961         variable.
54962         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54963         Likewise.
54964         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54965         Likewise.
54966         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54967         Likewise.
54969         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54970         definition.  Document in comment.
54972 2012-06-01  David S. Miller  <davem@davemloft.net>
54974         * stdlib/longlong.h: Updated from GCC.
54976 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54978         [BZ #14117]
54979         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54980         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54981         sys/debugreg.h sys/io.h here.
54982         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54983         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54984         sys/io.h.
54985         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54986         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54987         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54988         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54989         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54990         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54992         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54993         Define only if __x86_64__ is defined.
54995 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54997         [BZ #14048]
54998         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54999         Use int64_t for variable i.
55000         * math/libm-test.inc (fmod_test): Add more tests.
55002         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55003         z computation is not scheduled after fetestexcept.
55004         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55005         Use math_force_eval instead of asm to ensure calculation scheduled
55006         before exception test.
55007         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55008         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55010 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55013         computation is not scheduled after fetestexcept.
55015 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55017         [BZ #14117]
55018         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55019         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55021 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55023         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55024         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55026 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55028         [BZ #14117]
55029         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55030         <bits/wordsize.h>.
55031         (__WCHAR_MIN): Support __WORDSIZE == 64.
55032         (__WCHAR_MAX): Likewise.
55034         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55035         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55037         [BZ #14183]
55038         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55039         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55041         [BZ #14117]
55042         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55043         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55045         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55046         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55048         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55049         Defined to 1 if __x86_64__ isn't defined.
55050         (_STAT_VER_LINUX_OLD): New.
55051         (st_atime): Remove duplicate.
55052         (st_mtime): Likewise.
55053         (st_ctime): Likewise.
55055 2012-05-31  David S. Miller  <davem@davemloft.net>
55057         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55058         entries.
55060 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55062         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55063         gen-libm-test.pl.
55065         [BZ #14132]
55066         * elf/dl-reloc.c: Include <_itoa.h>.
55067         (_dl_reloc_bad_type): Remove use of INTUSE.
55068         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55069         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55070         * stdio-common/psiginfo.c (psiginfo): Likewise.
55071         * stdio-common/psignal.c (psignal): Likewise.
55072         * string/strsignal.c (strsignal): Likewise.
55073         * include/signal.h (_sys_siglist): Declare hidden proto.
55074         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55075         INTVARDEF with libc_hidden_data_def.
55076         * stdio-common/itoa-udigits.c: Likewise.
55077         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55078         (_itoa_lower_digits_internal): Remove declaration.
55079         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55080         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55081         (_sys_sigabbrev_internal): Remove aliases.
55082         (_sys_siglist): Define hidden alias.
55084 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55086         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55087         bits/sysctl.h.
55089 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55091         [BZ #14117]
55092         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55093         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55095         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55096         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55097         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55098         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55099         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55100         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55102         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55103         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55104         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55106         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55107         with __addr.
55108         (insw): Likewise.
55109         (insl): Likewise.
55110         (outsb): Likewise.
55111         (outsw): Likewise.
55112         (outsl): Likewise.
55114         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55115         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55116         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55118         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55119         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55120         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55121         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55122         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55123         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55125         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55126         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55128         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55129         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55131         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55132         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55133         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55135         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55136         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55137         to ...
55138         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55140         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55141         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55142         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55144         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55145         for x86-64.
55146         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55148 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55150         * math/math.h (M_El): Use two more decimal places.
55151         (M_LOG2El): Likewise.
55152         (M_LOG10El): Likewise.
55153         (M_LN2l): Likewise.
55154         (M_LN10l): Likewise.
55155         (M_PIl): Likewise.
55156         (M_PI_2l): Likewise.
55157         (M_PI_4l): Likewise.
55158         (M_1_PIl): Likewise.
55159         (M_2_PIl): Likewise.
55160         (M_2_SQRTPIl): Likewise.
55161         (M_SQRT2l): Likewise.
55162         (M_SQRT1_2l): Likewise.
55164 2012-05-31  David S. Miller  <davem@davemloft.net>
55166         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55167         values between float registers.
55168         * sysdeps/sparc/sparc64/memset.S: Likewise.
55169         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55171 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55173         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55174         -D_FORTIFY_SOURCE=1.
55175         (CPPFLAGS-tst-longjmp_chk.c): Define.
55176         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55177         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55178         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55179         CFLAGS-tst-wchar-h.c.
55181 2012-05-31  Marek Polacek  <polacek@redhat.com>
55183         [BZ #14132]
55184         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55185         __endmntent_internal): Remove declaration.
55186         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55187         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55188         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55190 2012-05-30  David S. Miller  <davem@davemloft.net>
55192         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55193         (___Q_simulate_exceptions): Use real FP ops rather than writing
55194         into the %fsr.
55195         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55196         Likewise.
55198 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55200         [BZ #14117]
55201         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55202         * sysdeps/x86/bits/xtitypes.h: This.
55204         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55205         * sysdeps/x86/bits/wordsize.h: This.
55207         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55208         * sysdeps/x86/bits/huge_vall.h: This.
55210         * sysdeps/i386/bits/select.h: Removed.
55211         * sysdeps/x86_64/bits/select.h: Renamed to ...
55212         * sysdeps/x86/bits/select.h: This.
55214         * sysdeps/i386/bits/setjmp.h: Removed.
55215         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55216         * sysdeps/x86/bits/setjmp.h: This.
55218         * sysdeps/i386/bits/mathdef.h: Removed.
55219         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55220         * sysdeps/x86/bits/mathdef.h: This.
55222 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
55224         [BZ #14132]
55225         * include/sys/socket.h (__connect_internal)
55226         (__libc_sa_len_internal): Remove declaration.
55227         (__connect, __libc_sa_len): Declare hidden_proto.
55228         (SA_LEN): Remove use of INTUSE.
55229         * socket/connect.c: Add libc_hidden_def.
55230         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55231         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55232         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55233         alias.
55234         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55235         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55236         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55237         of adding _internal alias.
55239 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55241         [BZ #14117]
55242         * sysdeps/i386/bits/link.h: Removed.
55243         * sysdeps/i386/bits/linkmap.h: Likewise.
55244         * sysdeps/x86_64/bits/link.h: Renamed to ...
55245         * sysdeps/x86/bits/link.h: This.
55246         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55247         * sysdeps/x86/bits/linkmap.h: This.
55249         * sysdeps/i386/bits/endian.h: Removed.
55250         * sysdeps/x86_64/bits/endian.h: Renamed to ...
55251         * sysdeps/x86/bits/endian.h: This.
55253         * sysdeps/i386/bits/byteswap.h: Removed.
55254         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55255         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55256         * sysdeps/x86/bits/byteswap.h: This.
55257         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55258         * sysdeps/x86/bits/byteswap-16.h: This.
55259         * sysdeps/i386/Implies: Add x86.
55260         * sysdeps/x86_64/Implies: Likewise.
55262 2012-05-30  David S. Miller  <davem@davemloft.net>
55264         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55265         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55266         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55267         (FP_TRAPPING_EXCEPTIONS): Define.
55268         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55269         (FP_TRAPPING_EXCEPTIONS): Define.
55270         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55271         subnormals only when inexact has been signalled or underflow
55272         exceptions are enabled.
55273         (_FP_PACK_CANONICAL): Likewise.
55275 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55277         [BZ #14183]
55278         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55279         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55281 2012-05-30  Richard Henderson  <rth@twiddle.net>
55283         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55284         with #ifndef NOT_IN_libc.
55286         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55287         marked to avoid plt entry.
55289 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55291         [BZ #14112]
55292         * Makeconfig (default-abi): New macro.
55293         (abi-includes): Likewise.
55294         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
55295         $(abi-$(default-abi)-lib-soname) for soname if defined.
55296         ($(common-objpfx)gnu/lib-names.stmp): Generate from
55297         abi-variants.
55298         * Makefile (installed-stubs): Likewise.
55299         * include/stubs-biarch.h: Removed.
55300         * scripts/lib-names.awk: Only handle one library at a time.
55301         * scripts/soversions.awk: Remove WORDSIZE support.
55302         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55303         entries.
55304         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55305         Removed.
55306         (syscall-list-default-condition): Likewise.
55307         (syscall-list-default-condition): Likewise.
55308         (syscall-list-includes): Likewise.
55309         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55310         syscall-list-* with abi-*.  Handle undefined abi-variants.
55311         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55312         * sysdeps/unix/sysv/linux/i386/Implies: New file.
55313         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55314         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55315         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55316         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55317         Removed.
55318         (syscall-list-32-options): Likewise.
55319         (syscall-list-32-condition): Likewise.
55320         (syscall-list-64-options): Likewise.
55321         (syscall-list-64-condition): Likewise.
55322         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55323         macro.
55324         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55325         Renamed to ...
55326         (abi-*): This.
55327         (abi-64-ld-soname): New macro.
55328         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55329         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55330         Renamed to ...
55331         (abi-*): This.
55332         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55333         * sysdeps/x86_64/x32/shlib-versions: Likewise.
55335 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
55337         * sysdeps/unix/sysv/linux/kernel-features.h
55338         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55339         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55340         include <kernel-features.h>.
55341         [!__NR_ftruncate64]: Remove conditional code.
55342         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55343         [__NR_ftruncate64]: Make code unconditional.
55344         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55345         * sysdeps/unix/sysv/linux/truncate64.c: Do not
55346         include <kernel-features.h>.
55347         [!__NR_ftruncate64]: Remove conditional code.
55348         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55349         [__NR_ftruncate64]: Make code unconditional.
55350         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55352         include <kernel-features.h>.
55353         [!__NR_ftruncate64]: Remove conditional code.
55354         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55355         [__NR_ftruncate64]: Make code unconditional.
55356         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55358         include <kernel-features.h>.
55359         [!__NR_ftruncate64]: Remove conditional code.
55360         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55361         [__NR_ftruncate64]: Make code unconditional.
55362         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55364         * configure.in (libc_cv_fpie): Weaken to a compile test using
55365         LIBC_TRY_CC_OPTION.
55366         * configure: Regenerated.
55368 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55374         Refreshed.
55375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55381         Refreshed.
55383 2012-05-27  David S. Miller  <davem@davemloft.net>
55385         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55386         (___Q_zero): New.
55387         (__Q_simulate_exceptions): Return void.  Change to simulate
55388         exceptions by writing into the %fsr.
55389         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55390         (__Qp_handle_exceptions): Likewise.
55391         (numbers): Delete.
55392         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55393         __Qp_handle_exceptions.
55394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55395         __Qp_handle_exceptions.
55396         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55397         as unused and give dummy FP_RND_NEAREST initializer.
55398         (FP_INHIBIT_RESULTS): Define.
55399         (___Q_simulate_exceptions): Update declaration.
55400         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55401         formatting.
55402         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55403         as unused and give dummy FP_RND_NEAREST initializer.
55404         (__Qp_handle_exceptions): Update declaration.
55405         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55406         formatting.
55408 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
55410         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55411         the temporary FPU control word.
55412         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55413         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55414         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55415         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55416         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55417         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55418         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55419         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55420         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55421         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55422         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55424 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55426         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55427         fields.
55429 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
55431         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55432         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55433         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55434         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55435         Likewise.
55436         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55437         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55438         Likewise.
55440 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
55442         * po/h.po: Update from translation team.
55444 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
55446         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55448         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55449         handling of denormals.
55450         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55451         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55452         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55453         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55454         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55455         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55456         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55457         Likewise.
55459 2012-05-26  Marek Polacek  <polacek@redhat.com>
55461         [BZ #14152]
55462         * math/libm-test.inc (fma_test): Don't always expect underflow
55463         exception.
55465 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55467         [BZ #12416]
55468         * elf/tst-execstack.c: Include stackinfo.h.
55469         (do_test): Adjust test case to ensure that pthread_getattr_np
55470         behaviour remains the same after marking stack executable.
55472 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55474         * sysdeps/unix/sysv/linux/kernel-features.h
55475         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55476         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55477         kernel-features.h.
55478         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55479         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55480         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55481         kernel-features.h.
55482         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55483         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55485 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
55487         * configure.in: Define the default includes to being none.
55488         * configure: Regenerated.
55490 2012-05-25  Roland McGrath  <roland@hack.frob.com>
55492         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55493         * sysdeps/x86_64/setjmp.S: Likewise.
55494         * sysdeps/i386/bsd-setjmp.S: Likewise.
55495         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55496         * sysdeps/i386/setjmp.S: Likewise.
55497         * sysdeps/i386/__longjmp.S: Likewise.
55498         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55499         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55501         * include/stap-probe.h: New file.
55502         * configure.in: Handle --enable-systemtap.
55503         * configure: Regenerated.
55504         * config.h.in (USE_STAP_PROBE): New #undef.
55505         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55506         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55507         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55509 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55511         [BZ #13717]
55512         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55513         to 2.4.0 where earlier.
55514         * sysdeps/unix/sysv/linux/configure: Regenerated.
55515         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55516         <kernel-features.h>.
55517         [__ASSUME_32BITUIDS]: Make code unconditional.
55518         [!__ASSUME_32BITUIDS]: Remove conditional code.
55519         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
55520         <kernel-features.h>.
55521         [__ASSUME_32BITUIDS]: Make code unconditional.
55522         [!__ASSUME_32BITUIDS]: Remove conditional code.
55523         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
55524         [__ASSUME_32BITUIDS]: Make code unconditional.
55525         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55526         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
55527         <kernel-features.h>.
55528         [__ASSUME_32BITUIDS]: Make code unconditional.
55529         [!__ASSUME_32BITUIDS]: Remove conditional code.
55530         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
55531         <kernel-features.h>.
55532         [__ASSUME_32BITUIDS]: Make code unconditional.
55533         [!__ASSUME_32BITUIDS]: Remove conditional code.
55534         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
55535         <kernel-features.h>.
55536         [__ASSUME_32BITUIDS]: Make code unconditional.
55537         [!__ASSUME_32BITUIDS]: Remove conditional code.
55538         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
55539         <kernel-features.h>.
55540         [__ASSUME_32BITUIDS]: Make code unconditional.
55541         [!__ASSUME_32BITUIDS]: Remove conditional code.
55542         * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
55567         <kernel-features.h>.
55568         [__NR_setresgid] (__setresgid): Do not declare.
55569         [__ASSUME_32BITUIDS]: Make code unconditional.
55570         [!__ASSUME_32BITUIDS]: Remove conditional code.
55571         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
55572         <kernel-features.h>.
55573         [__NR_setresuid] (__setresuid): Do not declare.
55574         [__ASSUME_32BITUIDS]: Make code unconditional.
55575         [!__ASSUME_32BITUIDS]: Remove conditional code.
55576         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
55577         <kernel-features.h>.
55578         [__ASSUME_32BITUIDS]: Make code unconditional.
55579         [!__ASSUME_32BITUIDS]: Remove conditional code.
55580         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
55581         <kernel-features.h>.
55582         [__ASSUME_32BITUIDS]: Make code unconditional.
55583         [!__ASSUME_32BITUIDS]: Remove conditional code.
55584         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
55585         <kernel-features.h>.
55586         [__ASSUME_32BITUIDS]: Make code unconditional.
55587         [!__ASSUME_32BITUIDS]: Remove conditional code.
55588         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
55589         <kernel-features.h>.
55590         [__ASSUME_32BITUIDS]: Make code unconditional.
55591         [!__ASSUME_32BITUIDS]: Remove conditional code.
55592         * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
55617         (__ASSUME_SETRESUID_SYSCALL): Remove.
55618         (__ASSUME_SETRESGID_SYSCALL): Likewise.
55619         (__ASSUME_32BITUIDS): Likewise.
55620         (__ASSUME_LDT_WORKS): Likewise.
55621         (__ASSUME_O_DIRECTORY): Likewise.
55622         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55623         architecture but not kernel version.
55624         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55625         (__ASSUME_MMAP2_SYSCALL): Likewise.
55626         (__ASSUME_STAT64_SYSCALL): Likewise.
55627         (__ASSUME_IPC64): Likewise.
55628         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55629         <kernel-features.h>.
55630         [__ASSUME_32BITUIDS]: Make code unconditional.
55631         [!__ASSUME_32BITUIDS]: Remove conditional code.
55632         * sysdeps/unix/sysv/linux/opendir.c: Do not include
55633         <kernel-features.h>.
55634         [__ASSUME_O_DIRECTORY]: Make code unconditional.
55635         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55636         132096]: Remove conditional code.
55637         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55638         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55639         <kernel-features.h>.
55640         [__ASSUME_32BITUIDS]: Make code unconditional.
55641         [!__ASSUME_32BITUIDS]: Remove conditional code.
55642         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55643         <kernel-features.h>.
55644         [__ASSUME_32BITUIDS]: Make code unconditional.
55645         [!__ASSUME_32BITUIDS]: Remove conditional code.
55646         * sysdeps/unix/sysv/linux/setegid.c: Do not include
55647         <kernel-features.h>.
55648         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
55649         unconditional.
55650         (__setresgid): Do not declare.
55651         [__ASSUME_32BITUIDS]: Make code unconditional.
55652         [!__ASSUME_32BITUIDS]: Remove conditional code.
55653         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
55654         <kernel-features.h>.
55655         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
55656         unconditional.
55657         (__setresuid): Do not declare.
55658         [__ASSUME_32BITUIDS]: Make code unconditional.
55659         [!__ASSUME_32BITUIDS]: Remove conditional code.
55660         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55661         <kernel-features.h>.
55662         [__ASSUME_32BITUIDS]: Make code unconditional.
55663         [!__ASSUME_32BITUIDS]: Remove conditional code.
55664         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
55665         <kernel-features.h>.
55666         [__ASSUME_32BITUIDS]: Make code unconditional.
55667         [!__ASSUME_32BITUIDS]: Remove conditional code.
55669 2012-05-25  Richard Henderson  <rth@twiddle.net>
55671         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
55672         dl_hwcap to ifunc resolver.
55673         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
55674         elf_ifunc_invoke.
55675         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
55676         dl_hwcap to ifunc resolver.
55677         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
55679 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55681         [BZ #14153]
55682         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
55683         for |x| <= 2**-26, not 2**-57.
55684         * math/libm-test.inc (acos_test): Do not allow spurious underflow
55685         exception.
55687 2012-05-24  Jeff Law  <law@redhat.com>
55689         * stdio-common/Makefile (tests): Add bug25.
55690         * stdio-common/bug25.c: New test.
55692 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55694         [BZ #13576]
55695         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
55696         multiple of MALLOC_ALIGNMENT in size.
55697         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
55699 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55701         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55702         Require >= 256.
55703         (FILENAME_MAX): Use macro-int-constant.
55704         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55705         (_IOFBF): Use macro-int-constant.
55706         (_IOLBF): Likewise.
55707         (_IONBF): Likewise.
55708         (SEEK_CUR): Likewise.
55709         (SEEK_END): Likewise.
55710         (SEEK_SET): Likewise.
55711         (TMP_MAX): Likewise.
55712         (EOF): Use macro-int-constant.  Require < 0.
55713         (NULL): Use macro-constant.  Require == 0.
55714         (stdin): Require type to be FILE *.
55715         (stdout): Likewise.
55716         (stderr): Likewise.
55717         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55718         macro-int-constant.
55719         (EXIT_SUCCESS): Likewise.
55720         (NULL): Use macro-constant.  Require == 0.
55721         (RAND_MAX): Use macro-int-constant.
55722         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55723         [C99-based standards] (strtof): Require function.
55724         [C99-based standards] (strtold): Likewise.
55725         [C99-based standards] (strtoll): Likewise.
55726         [C99-based standards] (strtoull): Likewise.
55727         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55728         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55729         [ISO || ISO99 || ISO11] (math.h): Likewise.
55730         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55731         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55732         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55734 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55736         [BZ #14132]
55737         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55738         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55739         * intl/dgettext.c (DCGETTEXT): Likewise.
55740         * intl/gettext.c (DCGETTEXT): Likewise.
55741         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55742         * posix/regex_internal.h (gettext): Likewise.
55743         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55744         Remove declaration.
55745         * include/argz.h (__argz_count_internal)
55746         (__argz_stringify_internal): Remove declaration.
55747         (__argz_count, __argz_stringify): Declare hidden proto.
55748         * intl/dcgettext.c: Remove use of INTDEF.
55749         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55750         * string/argz-stringify.c: Likewise.
55751         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55752         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55753         Declare hidden proto.
55754         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55755         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55756         Declare hidden proto.
55757         * include/stdio.h (__asprintf_internal): Don't declare.
55758         (__asprintf): Don't define as macro.  Declare hidden proto.
55759         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55760         (__fsetlocking): Declare hidden proto.
55761         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55762         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55763         hidden proto.
55764         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55765         (_IO_setlinebuf): Remove use of INTUSE.
55766         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55767         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55768         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55769         Remove declaration.
55770         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55771         (_IO_do_flush): Remove use of INTUSE.
55772         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55773         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55774         (_IO_adjust_column, _IO_least_wmarker)
55775         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55776         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55777         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55778         (_IO_default_doallocate, _IO_wdefault_doallocate)
55779         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55780         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55781         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55782         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55783         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55784         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55785         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55786         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55787         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55788         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55789         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55790         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55791         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55792         proto.
55793         (_IO_flush_all_internal, _IO_adjust_column_internal)
55794         (_IO_default_uflow_internal, _IO_default_finish_internal)
55795         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55796         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55797         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55798         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55799         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55800         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55801         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55802         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55803         (_IO_file_close_internal, _IO_file_close_it_internal)
55804         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55805         (_IO_file_init_internal, _IO_file_attach_internal)
55806         (_IO_file_fopen_internal, _IO_file_read_internal)
55807         (_IO_file_sync_internal, _IO_file_seek_internal)
55808         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55809         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55810         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55811         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55812         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55813         (_IO_list_all_internal, _IO_link_in_internal)
55814         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55815         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55816         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55817         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55818         (_IO_do_write_internal, _IO_padn_internal)
55819         (_IO_getline_info_internal, _IO_getline_internal)
55820         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55821         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55822         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55823         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55824         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55825         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55826         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55827         with libc_hidden_ver, remove use of INTUSE.
55828         * libio/genops.c: Likewise.
55829         * libio/freopen.c: Likewise.
55830         * libio/freopen64.c: Likewise.
55831         * libio/iofclose.c: Likewise.
55832         * libio/iofdopen.c: Likewise.
55833         * libio/iofflush.c: Likewise.
55834         * libio/iofflush_u.c: Likewise.
55835         * libio/iofgets.c: Likewise.
55836         * libio/iofgets_u.c: Likewise.
55837         * libio/iofopen.c: Likewise.
55838         * libio/iofopncook.c: Likewise.
55839         * libio/iofread.c: Likewise.
55840         * libio/iofread_u.c: Likewise.
55841         * libio/ioftell.c: Likewise.
55842         * libio/iofwrite.c: Likewise.
55843         * libio/iogetline.c: Likewise.
55844         * libio/iogets.c: Likewise.
55845         * libio/iogetwline.c: Likewise.
55846         * libio/iopadn.c: Likewise.
55847         * libio/iopopen.c: Likewise.
55848         * libio/ioseekoff.c: Likewise.
55849         * libio/ioseekpos.c: Likewise.
55850         * libio/iosetbuffer.c: Likewise.
55851         * libio/iosetvbuf.c: Likewise.
55852         * libio/ioungetc.c: Likewise.
55853         * libio/ioungetwc.c: Likewise.
55854         * libio/iovdprintf.c: Likewise.
55855         * libio/iovsprintf.c: Likewise.
55856         * libio/iovsscanf.c: Likewise.
55857         * libio/memstream.c: Likewise.
55858         * libio/obprintf.c: Likewise.
55859         * libio/oldfileops.c: Likewise.
55860         * libio/oldiofclose.c: Likewise.
55861         * libio/oldiofdopen.c: Likewise.
55862         * libio/oldiofopen.c: Likewise.
55863         * libio/oldiopopen.c: Likewise.
55864         * libio/oldstdfiles.c: Likewise.
55865         * libio/putc.c: Likewise.
55866         * libio/setbuf.c: Likewise.
55867         * libio/setlinebuf.c: Likewise.
55868         * libio/stdfiles.c: Likewise.
55869         * libio/strops.c: Likewise.
55870         * libio/vasprintf.c: Likewise.
55871         * libio/vscanf.c: Likewise.
55872         * libio/vsnprintf.c: Likewise.
55873         * libio/vswprintf.c: Likewise.
55874         * libio/wfiledoalloc.c: Likewise.
55875         * libio/wfileops.c: Likewise.
55876         * libio/wgenops.c: Likewise.
55877         * libio/wmemstream.c: Likewise.
55878         * libio/wstrops.c: Likewise.
55879         * libio/__fpurge.c: Likewise.
55880         * libio/__fsetlocking.c: Likewise.
55881         * assert/assert.c: Likewise.
55882         * debug/fgets_chk.c: Likewise.
55883         * debug/fgets_u_chk.c: Likewise.
55884         * debug/fread_chk.c: Likewise.
55885         * debug/fread_u_chk.c: Likewise.
55886         * debug/gets_chk.c: Likewise.
55887         * debug/obprintf_chk.c: Likewise.
55888         * debug/vasprintf_chk.c: Likewise.
55889         * debug/vdprintf_chk.c: Likewise.
55890         * debug/vsnprintf_chk.c: Likewise.
55891         * debug/vsprintf_chk.c: Likewise.
55892         * malloc/mtrace.c: Likewise.
55893         * misc/error.c: Likewise.
55894         * misc/syslog.c: Likewise.
55895         * stdio-common/asprintf.c: Likewise.
55896         * stdio-common/fxprintf.c: Likewise.
55897         * stdio-common/getw.c: Likewise.
55898         * stdio-common/isoc99_fscanf.c: Likewise.
55899         * stdio-common/isoc99_scanf.c: Likewise.
55900         * stdio-common/isoc99_vfscanf.c: Likewise.
55901         * stdio-common/isoc99_vscanf.c: Likewise.
55902         * stdio-common/isoc99_vsscanf.c: Likewise.
55903         * stdio-common/printf-prs.c: Likewise.
55904         * stdio-common/printf_fp.c: Likewise.
55905         * stdio-common/printf_fphex.c: Likewise.
55906         * stdio-common/printf_size.c: Likewise.
55907         * stdio-common/putw.c: Likewise.
55908         * stdio-common/scanf.c: Likewise.
55909         * stdio-common/sprintf.c: Likewise.
55910         * stdio-common/tmpfile.c: Likewise.
55911         * stdio-common/vfprintf.c: Likewise.
55912         * stdio-common/vfscanf.c: Likewise.
55913         * stdlib/strfmon_l.c: Likewise.
55914         * sunrpc/openchild.c: Likewise.
55915         * sunrpc/xdr_stdio.c: Likewise.
55916         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55917         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55919 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55921         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55923         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55924         in the third column, to generate for the shared library an IFUNC
55925         that uses _dl_vdso_vsym.
55926         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55927         * Makeconfig (object-suffixes-noshared): New variable.
55929         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55930         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55931         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55932         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55934         [BZ #14132]
55935         * include/sys/time.h (__gettimeofday): Remove macro.
55936         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55937         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55938         Remove INTDEF.
55939         (__gettimeofday): Add libc_hidden_def.
55940         (gettimeofday): Add libc_hidden_weak.
55941         * sysdeps/mach/gettimeofday.c: Likewise.
55942         * sysdeps/posix/gettimeofday.c: Likewise.
55943         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55944         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55946         (__gettimeofday_internal): Remove strong_alias.
55947         (__gettimeofday): Add libc_hidden_def.
55948         (gettimeofday): Add libc_hidden_weak.
55949         * sysdeps/unix/syscalls.list (gettimeofday):
55950         Remove __gettimeofday_internal alias.
55952 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55953             H.J. Lu  <hongjiu.lu@intel.com>
55955         [BZ #12495]
55956         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55957         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55958         (largebin_index_32_big): New.
55959         (largebin_index): Use it for 16-byte alignment.
55960         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55961         correction with front_misalign.
55963 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55967         Likewise.
55968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55969         Likewise.
55970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55971         Likewise.
55972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55973         Likewise.
55974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55975         Likewise.
55976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55977         Likewise.
55978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55979         Likewise.
55980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55981         Likewise.
55982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55983         Likewise.
55984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55985         Likewise.
55986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55987         Likewise.
55988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55989         Likewise.
55991         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55992         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55994 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55996         [BZ #10846]
55997         [BZ #14036]
55998         * math/libm-test.inc (exp_test): Add test from bug 14036.
55999         (pow_test): Add test from bug 10846.
56001         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56002         and other flags.
56003         (special_function): Do not include flags in test name.
56004         (parse_args): Likewise.
56005         * sysdeps/i386/fpu/libm-test-ulps: Update.
56006         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56007         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56008         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56011         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56012         exceptions.
56013         * math/libm-test.inc ("Philosophy"): Update comment about
56014         exception testing.
56015         (UNDERFLOW_EXCEPTION): New macro.
56016         (UNDERFLOW_EXCEPTION_OK): Likewise.
56017         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56018         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56019         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56020         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56021         (INVALID_EXCEPTION_OK): Update value.
56022         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56023         (OVERFLOW_EXCEPTION_OK): Likewise.
56024         (IGNORE_ZERO_INF_SIGN): Likewise.
56025         (test_exceptions): Handle underflow exceptions.
56026         (acos_test): Update for underflow exception expectations.
56027         (cexp_test): Likewise.
56028         (clog_test): Likewise.
56029         (clog10_test): Likewise.
56030         (csqrt_test): Likewise.
56031         (ctan_test): Likewise.
56032         (ctanh_test): Likewise.
56033         (exp_test): Likewise.
56034         (exp10_test): Likewise.
56035         (exp2_test): Likewise.
56036         (expm1_test): Likewise.
56037         (fma_test): Likewise.
56038         (j0_test): Likewise.
56039         (jn_test): Likewise.
56040         (nexttoward_test): Likewise.
56041         (pow_test): Likewise.
56042         (scalbn_test): Likewise.
56043         (scalbln_test): Likewise.
56044         (tan_test): Likewise.
56045         (y1_test): Likewise.
56046         * sysdeps/i386/fpu/libm-test-ulps: Update.
56047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56049 2012-05-23  David S. Miller  <davem@davemloft.net>
56051         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56052         (__libc_sigaction): Remove unused local variables.
56054 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56056         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56058 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56060         mktime: avoid signed integer overflow
56061         * time/mktime.c (__mktime_internal): Do not mishandle the case
56062         where diff == INT_MIN.
56064         mktime: simplify computation of average
56065         * time/mktime.c (ranged_convert): Use new time_t_avg function
56066         instead of rolling our own (probably-slower) code.
56068         mktime: do not assume signed right shift propagates sign bit
56069         * time/mktime.c (isdst_differ): New static function.
56070         (__mktime_internal): No need to normalize tm_isdst now.
56071         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56072         tm_isdst values.
56074         mktime: merge another wrapv change from gnulib
56075         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56076         from some compilers.
56078         mktime: remove incorrect attempt at unusual arithmetics
56079         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56080         The code didn't really work on such machines anyway.
56081         (TYPE_MINIMUM): Assume two's complement.
56082         (twos_complement_arithmetic): Verify that long_int and time_t
56083         are two's complement (or unsigned, in the latter case).
56085         mktime: check signed shifts on long_int and time_t, too
56086         * time/mktime.c (SHR): Check that shifts work as desired
56087         on the types long_int and time_t too, as SHR is used on
56088         such types.
56090         mktime: do not assume 'long' is wide enough
56091         * time/mktime.c (verify): Move decl up.
56092         (long_int): New type.
56093         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56094         to remove assumption in the code that 'long' is wide enough to
56095         store year values.  This assumption is not true on x32 and on
56096         some non-glibc platforms.
56098         mktime: merge wrapv change from gnulib
56099         * time/mktime.c (WRAPV): New macro.
56100         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56101         (guess_time_tm, __mktime_internal): Do not assume that signed
56102         integer overflow wraps around; modern compilers generate code
56103         where this assumption is no longer valid.
56105 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56107         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56108         Replace "jmp L(pseudo_end)" with "ret".
56109         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56110         Likewise.
56112 2012-05-23  Andreas Jaeger  <aj@suse.de>
56114         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56115         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56117 2012-05-23  Andreas Jaeger  <aj@suse.de>
56118             Maximilian Attems  <max@stro.at>
56120         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56121         New macros.
56123 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56125         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56126         code so that pseudo_end is just ret and the stack pointer is
56127         correct also for static library in error case.
56129 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56131         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56132         move to syscalls.list.
56133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56138         * manual/install.texi (Running make install): Do not mention Linux
56139         kernel version for which pt_chown is not needed.
56140         (Linux): Do not mention problems with nscd with 2.0 kernels.
56141         * INSTALL: Regenerated.
56143 2012-05-23  Andreas Jaeger  <aj@suse.de>
56145         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56146         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56147         macro.
56148         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56149         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56150         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56151         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56152         * sysdeps/unix/sysv/linux/i386/bits/mman.h
56153         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56154         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56155         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56156         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56157         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56158         * sysdeps/unix/sysv/linux/bits/in.h
56159         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56161 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56163         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56164         (PREPARE_VERSION): Just use assert instead, it will be elided
56165         under [NDEBUG] anyway.
56167 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56169         * sysdeps/unix/sysv/linux/Makefile: Include
56170         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56171         (sysdep_routines): Remove sysctl.
56172         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56173         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56174         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56175         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56176         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56178 2012-05-22  Andreas Jaeger  <aj@suse.de>
56180         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56181         that pseudo_end is just ret and the stack pointer is correct also
56182         for static library in error case.
56184 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56186         [BZ #14122]
56187         * nss/nsswitch.c (defconfig_entries): New variable.
56188         (__nss_database_lookup): Don't leak defconfig entries.
56189         (nss_parse_service_list): Don't leak on error paths.
56190         (free_database_entries): New function.
56191         (free_defconfig): New function.
56192         (free_mem): Move common code to free_database_entries.
56194 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56196         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56197         Add arch_prctl.
56198         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56200         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56201         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56203         New macro.
56204         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56205         (INTERNAL_SYSCALL_TYPES): Likewise.
56206         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56207         (LOAD_REGS_TYPES_[1-6]): Likewise.
56208         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56209         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56211 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56213         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56214         copysignl for GLIBC_2_0.
56215         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56216         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56217         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56218         logbl for GLIBC_2_0.
56219         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56220         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56222 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56224         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56225         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56227         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56228         Use "neg %eax".
56230         * time/mktime.c: Update copyright years.
56232 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
56234         mktime: merge comment-quoting-style change from gnulib
56235         * time/mktime.c: Quote 'like this' in comments.
56236         The GNU coding standards suggest that we no longer quote `like this',
56237         as "`" and "'" are typically rendered asymmetrically nowadays.
56238         The typical gnulib style is to quote 'like this' when quoting
56239         code, and "like this" when quoting English.
56241         * time/mktime.c (compile-command): Add "-I.".
56243         mktime: merge mktime-internal.h change from gnulib
56244         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56246         mktime: merge time_r change from gnulib
56247         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56249         mktime: merge DEBUG change from gnulib
56250         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56251         case system <time.h> has a #define.
56253         mktime: merge <sys/types.h> change from gnulib
56254         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56255         since <time.t> is now guaranteed to define time_t.
56257         mktime: merge HAVE_CONFIG_H change from gnulib
56258         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56260 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56263         Use "neg %eax".
56265         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56266         __rlim_t cast.
56267         (struct rusage): Use anonymous union to pad each field to
56268         __syscall_slong_t.
56270 2012-05-21  David S. Miller  <davem@davemloft.net>
56272         * Makefules (o-iterator): Remove .s cases.
56273         (compile-command.s): Delete.
56274         (COMPILE.s): Delete.
56275         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56277 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
56279         * configure.in (libc_cv_predef_stack_protector): Only consider
56280         "foobar" and "__stack_chk_fail" lines in libc_undefs.
56281         * configure: Regenerated.
56283 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56285         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56286         New macro.  Use R*LP on int and pointer.
56287         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56288         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56289         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56290         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56292         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56293         [__WORDSIZE_TIME64_COMPAT32] instead of
56294         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56295         (struct utmp): Likewise.
56296         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56297         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56298         Renamed to ...
56299         (__WORDSIZE_TIME64_COMPAT32): This.
56300         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56301         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56302         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56303         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56304         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56305         (__WORDSIZE_TIME64_COMPAT32): New macro.
56307 2012-05-21  Andreas Jaeger  <aj@suse.de>
56309         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56310         only if [SHARED]. Add prototype for __wcschr_ia32.
56312 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56314         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56315         of %rbp unmolested in the jmp_buf while mangling the low bits.
56316         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56317         unmolested high bits of %rbp while demangling the low bits.
56318         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56320 2012-05-21  Andreas Jaeger  <aj@suse.de>
56322         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56323         * sunrpc/svc_simple.c: Use it for registerrpc.
56324         * sunrpc/xcrypt.c: Use it for passwd2des.
56326         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56328 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56330         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56331         Don't define if [__SYSCALL_WORDSIZE != 32].
56332         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56333         New macro.
56335 2012-05-21  Bruno Haible  <bruno@clisp.org>
56336             Andreas Jaeger  <aj@suse.de>
56338         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56339         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56340         inptr and inend for must_buffer_ch.
56341         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56342         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56343         * stdio-common/Makefile (tests): Remove bug15.
56344         (bug15-ENV): Remove macro.
56345         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56346         anymore.
56348 2012-05-19  Andreas Jaeger  <aj@suse.de>
56349             Roland McGrath  <roland@hack.frob.com>
56351         * manual/contrib.texi: Completely rewritten. It contains now an
56352         alphabetical list of contributors and their contributions.
56354 2012-05-21  Richard Henderson  <rth@twiddle.net>
56356         * misc/getauxval.c (__getauxval): Use unsigned long int.
56357         * misc/sys/auxv.h: Include <sys/cdefs.h>.
56358         (getauxval): Use unsigned long int.
56360 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56362         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56364 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56366         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56367         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56368         __alignof__ (long double).
56370 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56374 2012-05-20  Richard Henderson  <rth@twiddle.net>
56376         * misc/getauxval.c: New file.
56377         * misc/sys/auxv.h: New file.
56378         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56379         (routines): Add getauxval.
56380         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56381         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56382         * elf/dl-sysdep.c (_dl_auxv): Remove.
56383         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56384         * elf/dl-support.c (_dl_auxv): New variable.
56385         (_dl_aux_init): Initialize it.
56386         * manual/startup.texi (Auxiliary Vector): New node.
56387         * sysdeps/generic/bits/hwcap.h: New file.
56388         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56389         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
56390         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56391         * sysdeps/sparc/sysdep.h: ... here.  Include it.
56392         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56393         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56395         Update.
56396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56399         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56405 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56409 2012-05-19  David S. Miller  <davem@davemloft.net>
56411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56413 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56415         [BZ #14123]
56416         * math/s_ccosh.c: Include <float.h>
56417         (__ccosh): Avoid internal overflow calculating sinh and cosh
56418         values before multiplying by sin and cos values.
56419         * math/s_ccoshf.c: Likewise.
56420         * math/s_ccoshl.c: Likewise.
56421         * math/s_csin.c: Likewise.
56422         * math/s_csinf.c: Likewise.
56423         * math/s_csinl.c: Likewise.
56424         * math/s_csinh.c: Likewise.
56425         * math/s_csinhf.c: Likewise.
56426         * math/s_csinhl.c: Likewise.
56427         * math/libm-test.inc (ccos_test): Add more tests.
56428         (ccosh_test): Likewise.
56429         (csin_test): Likewise.
56430         (csinh_test): Likewise.
56431         * sysdeps/i386/fpu/libm-test-ulps: Update.
56432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56434 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
56436         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56437         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56439         * sysdeps/x86_64/x32/_itoa.h: Add comment.
56441 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56443         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56444         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56445         * sysdeps/powerpc/soft-fp/Versions: Likewise.
56446         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56447         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56448         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56449         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56450         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56451         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56452         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56453         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56454         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56455         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56456         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56457         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56458         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56459         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56460         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56461         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56462         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56463         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56464         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56465         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56466         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56467         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56468         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56469         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56470         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56471         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56472         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56473         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56475 2012-05-18  Andreas Jaeger  <aj@suse.de>
56477         * csu/.gitignore: Delete.
56479 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56481         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56482         (timex): Use __syscall_slong_t.
56484 2012-05-18  Andreas Jaeger  <aj@suse.de>
56485             Carlos O'Donell  <carlos_odonell@mentor.com>
56487         * manual/install.texi (Configuring and compiling): Update
56488         description about files modified in the source directory.
56489         * INSTALL: Regenerated.
56491 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56493         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56494         value.  Use "or" to set return value to -1.
56495         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56496         negate return value.
56498 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56500         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56501         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56502         failure if the compiler has Graphite support disabled.
56503         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56504         Likewise.
56505         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56506         (CFLAGS-memmove.c): Likewise.
56507         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56508         Likewise.
56510 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56512         * sysdeps/x86_64/x32/_itoa.h: New file.
56514         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
56515         getdents system call only if kernel and user dirents have the
56516         same d_ino and d_off.
56518         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56519         LLONG_MAX != LONG_MAX.
56520         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56521         (_fitoa_word): Likewise.
56523         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
56524         years.
56525         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
56526         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
56527         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
56529         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
56530         include <bits/wordsize.h>.  Check __x86_64__ instead of
56531         __WORDSIZE.
56532         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
56533         if __x86_64__ is defined.  Use anonymous union on fpstate.
56535         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
56536         anonymous union.
56538 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
56540         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
56541         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
56542         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
56543         Refer to _rtld_local_ro instead of _rtld_global_ro.
56544         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
56545         Likewise.
56546         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
56547         Likewise.
56548         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
56549         Likewise.
56550         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
56551         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
56552         of _rtld_global, and rtld_progname instead of _dl_argv[0].
56554         [BZ #10882]
56555         * sysdeps/powerpc/powerpc32/dl-machine.c
56556         (__elf_machine_runtime_setup) [PROF]: Don't reference
56557         _dl_prof_resolve.
56559 2012-05-18  Andreas Jaeger  <aj@suse.de>
56561         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
56562         function only available for GCCs before 3.4 since GCC 3.4
56563         introduced a builtin.
56564         (lrint): Likewise.
56565         (llrintf): Likewise.
56566         (llrint): Likewise.
56567         (fmaxf): Likewise.
56568         (fmax): Likewise.
56569         (fminf): Likewise.
56570         (fmin): Likewise.
56571         (rint): Likewise.
56572         (rintf): Likewise.
56573         (nearbyint): Likewise.
56574         (nearbyintf): Likewise.
56575         (ceil): Likewise.
56576         (ceilf): Likewise.
56577         (floor): Likewise.
56578         (floorf): Likewise.
56580 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56582         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
56583         on both fields and cast pointer to __syscall_ulong_t.
56585         * bits/types.h (__fsword_t): New type.
56586         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56587         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56588         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56589         (__FSWORD_T_TYPE): Likewise.
56590         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56591         (__FSWORD_T_TYPE): Likewise.
56592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56593         (__FSWORD_T_TYPE): Likewise.
56594         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56595         (__FSWORD_T_TYPE): Likewise.
56596         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56597         __SWORD_TYPE with __fsword_t.
56598         (statfs64): Likewise.
56600 2012-05-17  David S. Miller  <davem@davemloft.net>
56602         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56604 2012-05-17  Andreas Jaeger  <aj@suse.de>
56606         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56607         warning.
56609 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56611         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56613 2012-05-17  Andreas Jaeger  <aj@suse.de>
56615         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56616         when it is used.
56618 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56620         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56622 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56624         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56625         * sysdeps/x86_64/tst-mallocalign1.c: New file.
56627 2012-05-17  Andreas Jaeger  <aj@suse.de>
56628             Carlos O'Donell  <carlos_odonell@mentor.com>
56630         [BZ #14059]
56631         * sysdeps/x86_64/multiarch/init-arch.h
56632         (bit_YMM_Usable): Rename to...
56633         (bit_AVX_Usable): ... this.
56634         (bit_FMA4_Usable): New macro.
56635         (bit_XMM_state): New macro.
56636         (bit_YMM_state): New macro.
56637         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56638         [__ASSEMBLER__] (index_AVX_Usable): ... this.
56639         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56640         (CPUID_OSXSAVE): New macro.
56641         (CPUID_AVX): New macro.
56642         (CPUID_FMA4): New macro.
56643         (index_YMM_Usable): Rename to...
56644         (index_AVX_Usable): ... this.
56645         (HAS_AVX): Use HAS_ARCH_FEATURE.
56646         (HAS_FMA4): Likewise.
56647         (HAS_YMM_USABLE): Remove.
56648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56649         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
56650         are present.
56651         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
56652         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
56653         * sysdeps/x86_64/multiarch/Makefile: Likewise.
56654         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
56655         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
56657 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56659         * math/libm-test.c: Support platforms without multiple rounding modes.
56660         * math/bug-nextafter.c: Support platforms without FP exceptions.
56661         * math/bug-nexttoward.c: Likewise.
56662         * math/test-fenv.c: Likewise.
56663         * math/test-misc.c: Likewise.
56664         * stdlib/bug-getcontext.c: Likewise.
56666 2012-05-17  Andreas Jaeger  <aj@suse.de>
56668         * manual/examples/search.c (critter_cmp): Change signature to
56669         avoid warnings.
56670         * manual/string.texi (Collation Functions): Likewise.
56672 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56674         * bits/types.h: Fold copyright years.
56675         * bits/typesizes.h: Likewise.
56676         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
56677         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
56679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
56680         * time/time.h: Likewise.
56682 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
56684         [BZ #208]
56685         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
56686         in instead of returning them.  Return void.
56687         (__libc_mallinfo): Accumulate over all arenas.
56688         (__malloc_stats): Adjust for change in int_mallinfo interface.
56690 2012-05-16  Roland McGrath  <roland@hack.frob.com>
56692         [BZ #10375]
56693         * configure.in (NM): Add AC_CHECK_TOOL for it.
56694         (libc_extra_cflags): New substituted variable.
56695         Check for -fstack-protector being used implicitly.
56696         * configure: Regenerated.
56697         * config.make.in (config-extra-cflags): New variable,
56698         gets @libc_extra_cflags@.
56699         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56701         [BZ #10375]
56702         * configure.in: Check for _FORTIFY_SOURCE being predefined.
56703         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56704         * configure: Regenerated.
56705         * config.make.in (CPPUNDEFS): New substituted variable.
56706         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56707         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56708         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56710 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56712         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56713         (mq_attr): Use __syscall_slong_t.
56715 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56717         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56718         Check __x86_64__ instead of __WORDSIZE.
56719         (_STAT_VER_LINUX): Likewise.
56720         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56721         __syscall_ulong_t and __syscall_slong_t.
56722         (stat64): Likewise.
56724 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56726         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56728 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56730         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56732 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56734         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56735         __syscall_ulong_t.
56737         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56738         include <bits/wordsize.h>.  Check __x86_64__ instead of
56739         __WORDSIZE.
56740         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56741         defined.
56742         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56744         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56745         include <bits/wordsize.h>.  Check __x86_64__ instead of
56746         __WORDSIZE.
56747         (user_regs_struct): Use "__extension__ unsigned long long"
56748         instead of "unsigned long" if __x86_64__ is defined.
56749         (user): Likewise.  Pad after pointer field if __ILP32__ is
56750         defined.
56752 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56754         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56755         versions 5 to 9.
56756         * configure: Regenerated.
56757         * manual/install.texi (texinfo): Increase version requirement to
56758         4.5 or later.
56759         * INSTALL: Regenerated.
56761         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56763 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56765         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56767         * sysdeps/x86_64/x32/ffs.c: New file.
56769         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56770         __syscall_ulong_t.
56771         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56772         defined.  Use __syscall_ulong_t.
56773         (shminfo): Use __syscall_ulong_t.
56774         (shm_info): Likewise.
56776         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56777         __syscall_ulong_t.
56779         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56780         <bits/wordsize.h>.
56781         (msgqnum_t): Use __syscall_ulong_t.
56782         (msglen_t): Likewise.
56783         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56784         __syscall_ulong_t.
56786         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56787         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56789         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56791         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56792         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56794         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56795         __syscall_slong_t.
56797         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56798         include <bits/wordsize.h>.  Check __x86_64__ instead of
56799         __WORDSIZE.
56801         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56802         "unsigned long long int" if __x86_64__ is defined.
56803         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56805         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56806         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56807         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56809         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56810         <stdint.h>.
56811         (GET_PC): Cast to uintptr_t first.
56812         (GET_FRAME): Likewise.
56813         (GET_STACK): Likewise.
56815         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56816         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56817         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56818         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56819         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56820         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56821         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56822         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56823         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56824         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56825         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56826         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56827         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56828         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56829         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56830         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56831         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56832         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56833         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56834         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56835         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56836         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56837         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56838         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56839         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56840         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56841         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56842         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56843         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56845 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56847         * Makerules (+depfiles): Also collect depfiles from .oS in
56848         $(extra-objs).
56849         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56850         .oS, $(libnldbl-routines)).
56852         * Makerules (native-compile-mkdep-flags): Define.
56853         * sunrpc/Makefile (extra-objs): Add $(addprefix
56854         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56855         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56856         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56857         calling $(make-target-directory).
56859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56861         * bits/types.h (__snseconds_t): Removed.
56862         * time/time.h (struct timespec): Replace __snseconds_t with
56863         __syscall_slong_t.
56864         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56865         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56866         Likewise.
56867         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56868         (__SNSECONDS_T_TYPE): Likewise.
56869         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56870         (__SNSECONDS_T_TYPE): Likewise.
56871         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56872         (__SNSECONDS_T_TYPE): Likewise.
56874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56876         * sysdeps/mach/hurd/bits/typesizes.h
56877         (__SYSCALL_SLONG_TYPE): New macro.
56878         (__SYSCALL_ULONG_TYPE): Likewise.
56880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56882         * bits/types.h (__syscall_slong_t): New type.
56883         (__syscall_ulong_t): Likewise.
56885         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56886         (__SYSCALL_ULONG_TYPE): Likewise.
56887         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56888         (__SYSCALL_SLONG_TYPE): Likewise.
56889         (__SYSCALL_ULONG_TYPE): Likewise.
56890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56891         (__SYSCALL_SLONG_TYPE): Likewise.
56892         (__SYSCALL_ULONG_TYPE): Likewise.
56893         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56894         (__SYSCALL_SLONG_TYPE): Likewise.
56895         (__SYSCALL_ULONG_TYPE): Likewise.
56897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56899         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56900         Add sigaltstack-offsets.sym.
56901         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56902         <sigaltstack-offsets.h>.
56903         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56904         longjmp_msg pointer.
56905         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56906         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56907         signal stack.
56908         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56910 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56912         * elf/stackguard-macros.h: Remove file.
56913         * sysdeps/generic/stackguard-macros.h: New file.
56914         * sysdeps/i386/stackguard-macros.h: Likewise.
56915         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56916         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56917         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56918         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56919         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56920         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56921         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56922         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56923         <elf/stackguard-macros.h>.
56925         [BZ #14109]
56926         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56927         __aligned__ in attribute.
56928         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56929         (gregset_t): Likewise.
56931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56933         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56934         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56935         * sysdeps/x86_64/x32/Implies-after: New file.
56937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56939         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56940         and access return value for _dl_profile_fixup.  Use R10_LP to
56941         load frame size.
56943 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56945         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56949         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56950         * sysdeps/x86_64/x32/sysdep.h: New file.
56952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56954         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56955         * sysdeps/x86_64/setjmp.S: Likewise.
56957 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56959         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56960         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56961         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56962         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56963         remove unused global constant.
56965 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56967         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56968         include of <not-cancel.h>.
56970 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56972         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56974 2012-05-15  Jeff Law  <law@redhat.com>
56975             Andreas Jaeger  <aj@suse.de>
56977         [BZ #13594]
56978         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56979         out from...
56980         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56981         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56982         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56983         code changing __hst_map_handle.map.
56985 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56987         * configure.in (sysnames): Look for Implies-before and Implies-after
56988         files.
56989         * configure: Regenerated.
56991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56993         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56994         8-byte data alignment with LP_SIZE alignment.
56996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56998         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56999         into R10_LP.
57001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57003         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57007         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57008         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57009         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57010         Likewise.
57011         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57015         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57016         (stackinfo_sub_sp): Likewise.
57018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57020         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57021         RAX_LP.
57023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57025         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57026         into R*_LP.
57028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57030         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57031         sizes into R*_LP.
57033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57035         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57039         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57040         into R11_LP and load __x86_64_shared_cache_size_half into
57041         R8_LP.
57043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57045         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57046         R8_LP.
57048 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57050         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57051         logb for POWER7.
57052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57053         logbf for POWER7.
57054         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57055         logbl for POWER7.
57056         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57057         powerpc32/power7/fpu/s_logb.c via #include.
57058         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57059         powerpc32/power7/fpu/s_logbf.c via #include.
57060         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57061         powerpc32/power7/fpu/s_logbl.c via #include.
57063 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57065         * README.libm: Remove file.
57067 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57069         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57070         count for x32.  Use R*_LP and omit operand-size suffix.
57072 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57074         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57075         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57076         * sysdeps/x86_64/x32/shlib-versions: New file.
57078 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57080         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57081         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57082         Use _dl_fatal_printf instead.
57084 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57086         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57087         set if not set by the user.  Do not allow for being unset.
57088         * sysdeps/unix/sysv/linux/configure: Regenerated.
57090 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57092         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57093         the `q' suffix from lea and replace .quad with ASM_ADDR.
57095 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57098         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57099         instead of $17.
57100         (PTR_DEMANGLE): Likewise.
57102 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57104         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57105         (LP_OP): Likewise.
57106         (ASM_ADDR): Likewise.
57107         (RAX_LP): Likewise.
57108         (RBP_LP): Likewise.
57109         (RBX_LP): Likewise.
57110         (RCX_LP): Likewise.
57111         (RDI_LP): Likewise.
57112         (RSI_LP): Likewise.
57113         (RSP_LP): Likewise.
57114         (R8_LP): Likewise.
57115         (R9_LP): Likewise.
57116         (R10_LP): Likewise.
57117         (R10_LP): Likewise.
57118         (R11_LP): Likewise.
57119         (R12_LP): Likewise.
57120         (R13_LP): Likewise.
57121         (R14_LP): Likewise.
57122         (R15_LP): Likewise.
57124 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57126         * sysdeps/x86_64/x32/dl-machine.h: New file.
57128 2012-05-14  Andreas Jaeger  <aj@suse.de>
57130         * manual/Makefile (subdir): Remove export of subdir.
57131         (all): Remove target.
57132         (.PHONY): Remove all from list.
57133         (mkinstalldirs): Remove.
57134         (.PHONY): Remove installdirs from list.
57135         ($(inst_infodir)/libc.info): Use make-target-directory.
57136         (installdirs): Remove.
57137         (subdir_%): Remove.
57138         (glibc-targets): Remove.
57139         (lib): Remove.
57140         (stubs): Remove.
57141         ($(objpfx)stubs ../po/manual.pot): Remove.
57142         ($(objpfx)stamp%): Remove.
57143         (make-target-directory): Remove.
57144         (subdir_install): Remove.
57145         (routines): Remove.
57146         (aux): Remove.
57147         (sources): Remove.
57148         (objects): Remove.
57149         (headers): Remove.
57151         [BZ #13750]
57152         * manual/.gitignore: Remove, it's not needed anymore.
57153         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57154         all files in it.
57155         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57156         directory.
57157         (texis): Renamed to $(objpfx)texis.
57158         (texis-path): New, contains path to generated files.
57159         (chapters.%): Use texis-path for complete path, add extra argument
57160         libc-texinfo.sh.
57161         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57162         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57163         (summary,texi, stamp-summary): Use complete path of
57164         files. Generate files in build dir.
57165         (dir-add.texi): Build in build dir.
57166         (libm-err.texi,stamp-libm-err): Likewise.
57167         (version.texi, stamp-version): Likewise.
57168         (.%c.texi): Likewise.
57169         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57170         (mostlyclean): Remove target.
57171         (realclean): Remove target.
57172         (generated): Add new variable with contents from mostlyclean and
57173         realclean, remove entries duplicated in common-mostlyclean, add
57174         stamp-libm-err and stamp-version.
57175         (generated-dirs): Add libc directory.
57176         ($(inst_infodir)/libc.info): Install files from build dir.
57178         * manual/install.texi (Configuring and compiling): Adjust since
57179         the info files are not part of the tar ball anymore.
57181 2012-05-14  Andreas Jaeger  <aj@suse.de>
57183         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57184         variable.
57186 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57188         [BZ #13717]
57189         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57190         to 2.2.0 where earlier.
57191         * sysdeps/unix/sysv/linux/configure: Regenerated.
57192         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57193         Remove conditional code.
57194         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57195         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57196         Remove conditional code.
57197         [!__NR_lchown]: Likewise.
57198         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57199         [__NR_lchown]: Likewise.
57200         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57201         comment referencing __ASSUME_LCHOWN_SYSCALL.
57202         * sysdeps/unix/sysv/linux/i386/sigaction.c
57203         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57204         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57205         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57206         Remove conditional code.
57207         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57208         (__protocol_available): Remove #if 0 code.
57209         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57210         conditional code.
57211         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57212         * sysdeps/unix/sysv/linux/kernel-features.h
57213         (__ASSUME_GETCWD_SYSCALL): Don't define.
57214         (__ASSUME_REALTIME_SIGNALS): Likewise.
57215         (__ASSUME_PREAD_SYSCALL): Likewise.
57216         (__ASSUME_PWRITE_SYSCALL): Likewise.
57217         (__ASSUME_POLL_SYSCALL): Likewise.
57218         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57219         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57220         non-SPARC.
57221         (__ASSUME_SIOCGIFNAME): Don't define.
57222         (__ASSUME_MSG_NOSIGNAL): Likewise.
57223         (__ASSUME_SENDFILE): Define unconditionally.
57224         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57225         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57226         conditional code.
57227         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57228         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57229         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57230         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57231         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57232         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57233         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57235         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57236         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57238         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57239         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57241         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57242         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57244         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57245         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57247         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57248         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57250         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57251         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57253         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57254         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57256         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57257         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57258         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57259         Remove conditional code.
57260         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57261         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57262         Remove conditional code.
57263         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57264         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57265         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57266         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57267         Remove conditional code.
57268         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57269         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57270         Remove conditional code.
57271         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57272         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57273         Remove conditional code.
57274         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57275         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57276         Remove conditional code.
57277         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57278         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57279         Remove conditional code.
57280         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57281         * sysdeps/unix/sysv/linux/sh/pwrite64.c
57282         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57283         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57284         * sysdeps/unix/sysv/linux/sigaction.c
57285         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57286         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57287         * sysdeps/unix/sysv/linux/sigpending.c
57288         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57289         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57290         * sysdeps/unix/sysv/linux/sigprocmask.c
57291         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57292         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57293         * sysdeps/unix/sysv/linux/sigsuspend.c
57294         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57295         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57296         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57297         (__libc_missing_rt_sigs): Remove.
57298         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57299         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57300         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57301         Remove conditional code.
57302         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57303         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57304         return 1.
57305         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57306         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57307         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57308         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57310 2012-05-14  Andreas Jaeger  <aj@suse.de>
57312         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57313         it's not used in glibc.
57314         (__coshm1): Likewise.
57315         (__acosh1p): Likewise.
57316         (__sgn): Likewise.
57318         * manual/string.texi (Copying and Concatenation): Add missing
57319         variable in concat example.
57320         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57322 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57324         [BZ #14103]
57325         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57326         __builtin_clzl with __builtin_clzll.
57328 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57330         [BZ #14104]
57331         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57332         libc_freeres_ptr.
57334 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57336         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57337         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57338         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57339         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57341 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
57343         * NEWS: Update ia64 info.
57345 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
57347         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57348         used as bcopy.
57350 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
57352         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57353         * sysdeps/unix/syscalls.list (dup3): Likewise.
57354         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57355         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57357 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57359         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57360         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57362 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57364         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57365         thread pointer.
57366         (TLS_IE): Use mov/add instead of movq/addq to load thread
57367         pointer.
57368         (TLS_GD_PREFIX): New.
57369         (TLS_GD): Use it.
57371 2012-05-11  David S. Miller  <davem@davemloft.net>
57373         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57374         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57375         (_FPU_SETCW): Likewise.
57377 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57379         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57380         is 32-byte aligned.
57382 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
57384         [BZ #11837]
57385         * iconvdata/gb18030.c: Update tables.
57386         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
57387         characters specially.
57388         (BODY for TO_LOOP): Add encoding of missing ranges.
57390 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
57392         [BZ #13673]
57393         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57394         * sysdeps/mach/hurd/dup3.c: Likewise.
57395         * sysdeps/mach/hurd/readlinkat.c: Likewise.
57396         * sysdeps/powerpc/memmove.c:: Likewise.
57398 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57400         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57401         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57403 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57405         * elf/elf.h (R_X86_64_RELATIVE64): New.
57406         (R_X86_64_NUM): Updated.
57407         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57408         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
57409         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57410         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57411         tst-quad1pie tst-quad2pie
57412         (modules-names): Add tst-quadmod1 tst-quadmod2.
57413         ($(objpfx)tst-quad1): New dependency.
57414         ($(objpfx)tst-quad2): Likewise.
57415         ($(objpfx)tst-quad1pie): Likewise.
57416         ($(objpfx)tst-quad2pie): Likewise.
57417         * sysdeps/x86_64/tst-quad1.c: New file.
57418         * sysdeps/x86_64/tst-quad1pie.c: New file.
57419         * sysdeps/x86_64/tst-quad2.c: Likewise.
57420         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57421         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57422         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57423         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57424         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57426 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57428         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57429         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57430         * streams/stropts.h (t_scalar_t): Define type.
57432         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57433         (_PATH_PRESERVE): Set to "/var/lib".
57434         (_PATH_RWHODIR): Set to "/var/spool/rwho".
57436         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57437         instead of int.
57439         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57440         if __dir_mkfile succeeded.
57442         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57443         checking for _hurd_dtablesize.  Unlock it right after having
57444         finished _hurd_dtable allocation.
57446 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57448         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57449         * sysdeps/mach/hurd/configure: Regenerated.
57450         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57451         special-casing to...
57452         * sysdeps/gnu/configure.in: ... this new file.
57453         * sysdeps/unix/sysv/linux/configure: Regenerated.
57454         * sysdeps/gnu/configure: New generated file.
57456         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57457         for Linux: use nsec instead of usec, as well as:
57458         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57459         members of type struct timespec.
57460         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57461         New macros.
57462         (struct stat64): Likewise.
57463         (_STATBUF_ST_NSEC): New macro.
57464         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57466         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57467         __strtoul_internal rather than strtoul.
57469 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57471         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57472         and reject them.
57474 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57476         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57477         which preserves existing values.
57478         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57480 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57482         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57483         TIMEOUT values.  Return EINVAL for NFDS values either negative or
57484         greater than FD_SETSIZE.
57486 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57488         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57489         allocated, call __vm_protect to finish enabling the existing space, and
57490         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57491         allocate the remainder.
57493 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57495         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57496         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
57498 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57500         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57501         sysdeps/mach/hurd/readlink.c.
57503         * posix/tst-sysconf.c (posix_options): Only use
57504         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57505         _POSIX_SYNCHRONIZED_IO when they are defined
57506         * sysdeps/mach/hurd/bits/posix_opt.h:
57507         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57508         (_XOPEN_REALTIME): Undefine macro.
57509         (_XOPEN_REALTIME_THREADS): Undefine macro.
57510         (_XOPEN_SHM): Undefine macro.
57511         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57512         macro to -1.
57513         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
57514         macro to -1.
57515         (_POSIX_ASYNC_IO): Undefine macro.
57516         (_POSIX_PRIORITIZED_IO): Undefine macro.
57517         (_POSIX_SPIN_LOCKS): Define macro to -1.
57519         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57520         SA_NODEFER, SA_RESETHAND.
57521         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
57522         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
57523         F_DUPFD_CLOEXEC.
57525 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57527         * elf/Makefile (pldd-modules): Define unconditionally.
57529 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57531         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
57533 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57535         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57536         Return ENOENT when name is empty.
57537         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
57539 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57541         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
57543         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
57545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57547         Fix mlock in all cases except non-readable pages.
57548         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
57549         instead of VM_PROT_ALL as parameter to __vm_wire function.
57551         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
57552         (__mkdir): When path is `/', just fail with EEXIST.
57553         * sysdeps/mach/hurd/mkdirat.c: Likewise.
57555 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57557         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
57558         <sys/uio.h> (for writev).
57559         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
57560         and <sys/param.h> (for MIN).
57562 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57564         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
57565         REQUESTED_TIME.  Properly set the remaining time and return EINTR
57566         if interrupted.
57568 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57570         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
57571         Depend on against $(link-rpcuserlibs).
57573 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57575         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
57576         (__libc_stack_end): Do not use attribute_relro.
57577         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
57578         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
57579         to libthread-provided value.
57580         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
57581         attribute_relro.
57583 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57585         [BZ #3748]
57586         * bits/libc-lock.h (__libc_once_get): New macro.
57587         * sysdeps/mach/bits/libc-lock.h: Likewise.
57588         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57589         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57590         instead of using implementation details.
57592         * libio/fileops.c: Unconditionally include <kernel-features.h>.
57593         * libio/freopen.c: Likewise.
57594         * libio/freopen64.c: Likewise.
57595         * misc/syslog.c: Likewise.
57596         * nscd/connections.c: Likewise.
57597         * nscd/netgroupcache.c: Likewise.
57598         * sysdeps/posix/getcwd.c: Likewise.
57600 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57602         * math/w_ilogbf.c: Add #include <limits.h>.
57604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57606         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57607         path instead of returning without unlocking.
57609         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57610         immediate-write ioctls.
57611         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57613 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57615         * sysdeps/mach/hurd/i386/init-first.c (init): Use
57616         __builtin_frame_address instead of making assumptions about the
57617         location of the return address relative to DATA.  Force early load of
57618         the return address.
57619         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57620         __builtin_frame_address.
57622         dup3 for GNU Hurd.
57623         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57624         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
57625         implement dup3 and do some further code clean-ups.
57626         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57627         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57631         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57633         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57634         HURD_CRITICAL_END around holding _hurd_dtable_lock.
57635         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57636         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57637         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57638         d->port.lock.
57640         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
57641         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
57642         when handler == SIG_ERR, not when handler != SIG_ERR.
57644 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57646         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
57647         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
57648         definitions.
57650         accept4 for GNU Hurd.
57651         * include/sys/socket.h (__libc_accept4): New prototype.
57652         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
57653         to implement __libc_accept4.
57654         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
57655         __libc_accept4.
57656         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
57658         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
57659         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
57660         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
57661         signal-defines.sym.
57663 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57665         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
57667 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57669         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
57670         assertion on O_CLOEXEC flag.
57671         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
57672         * hurd/intern-fd.c: Likewise.
57673         * hurd/port2fd.c: Likewise.
57675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57677         [BZ #3906]
57678         * bits/in.h (IPV6_PKTINFO): Define new macro.
57679         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
57681 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57683         [BZ #13954]
57684         [BZ #13955]
57685         [BZ #13956]
57686         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
57687         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57688         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
57689         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57691         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57692         * math/libm-test.inc (logb_test) : Additional logb tests.
57694 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
57695             Andreas Jaeger  <aj@suse.de>
57697         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
57698         * configure: Regenerated.
57699         * config.h.in (LINK_OBSOLETE_RPC): New macro.
57700         * config.make.in (link-obsolete-rpc): New substituted variable.
57701         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57702         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57703         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57704         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57705         so that libc.a contains the symbols.
57706         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57707         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57708         * sunrpc/auth_none.c: Likewise.
57709         * sunrpc/auth_unix.c: Likewise.
57710         * sunrpc/authdes_prot.c: Likewise.
57711         * sunrpc/authuxprot.c: Likewise.
57712         * sunrpc/clnt_gen.c: Likewise.
57713         * sunrpc/clnt_perr.c: Likewise.
57714         * sunrpc/clnt_raw.c: Likewise.
57715         * sunrpc/clnt_simp.c: Likewise.
57716         * sunrpc/clnt_tcp.c: Likewise.
57717         * sunrpc/clnt_udp.c: Likewise.
57718         * sunrpc/clnt_unix.c: Likewise.
57719         * sunrpc/des_crypt.c: Likewise.
57720         * sunrpc/des_soft.c: Likewise.
57721         * sunrpc/get_myaddr.c: Likewise.
57722         * sunrpc/key_call.c: Likewise.
57723         * sunrpc/key_prot.c: Likewise.
57724         * sunrpc/netname.c: Likewise.
57725         * sunrpc/pm_getmaps.c: Likewise.
57726         * sunrpc/pm_getport.c: Likewise.
57727         * sunrpc/pmap_clnt.c: Likewise.
57728         * sunrpc/pmap_prot.c: Likewise.
57729         * sunrpc/pmap_prot2.c: Likewise.
57730         * sunrpc/pmap_rmt.c: Likewise.
57731         * sunrpc/publickey.c: Likewise.
57732         * sunrpc/rpc_cmsg.c: Likewise.
57733         * sunrpc/rpc_common.c: Likewise.
57734         * sunrpc/rpc_dtable.c: Likewise.
57735         * sunrpc/rpc_prot.c: Likewise.
57736         * sunrpc/rpc_thread.c: Likewise.
57737         * sunrpc/rtime.c: Likewise.
57738         * sunrpc/svc.c: Likewise.
57739         * sunrpc/svc_auth.c: Likewise.
57740         * sunrpc/svc_raw.c: Likewise.
57741         * sunrpc/svc_run.c: Likewise.
57742         * sunrpc/svc_tcp.c: Likewise.
57743         * sunrpc/svc_udp.c: Likewise.
57744         * sunrpc/svc_unix.c: Likewise.
57745         * sunrpc/svcauth_des.c: Likewise.
57746         * sunrpc/xcrypt.c: Likewise.
57747         * sunrpc/xdr.c: Likewise.
57748         * sunrpc/xdr_array.c: Likewise.
57749         * sunrpc/xdr_float.c: Likewise.
57750         * sunrpc/xdr_intXX_t.c: Likewise.
57751         * sunrpc/xdr_mem.c: Likewise.
57752         * sunrpc/xdr_rec.c: Likewise.
57753         * sunrpc/xdr_ref.c: Likewise.
57754         * sunrpc/xdr_sizeof.c: Likewise.
57755         * sunrpc/xdr_stdio.c: Likewise.
57757 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57759         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57760         change.  Update copyright years.
57762 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57764         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57766 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57767             Joseph Myers  <joseph@codesourcery.com>
57768             Paul Pluzhnikov  <ppluzhnikov@google.com>
57770         [BZ #14012]
57771         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57772         requiring rpcgen.
57773         [cross-compiling] (extra-libs): Likewise.
57774         [cross-compiling] (extra-libs-others): Likewise.
57775         [cross-compiling] (librpcsvc-routines): Likewise.
57776         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57777         [cross-compiling] (omit-deps): Likewise.
57778         (sunrpc-CPPFLAGS): New variable.
57779         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57780         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57781         (cross-rpcgen-objs): New variable.
57782         (extra-objs): Append $(cross-rpcgen-objs).
57783         ($(cross-rpcgen-objs)): New rule.
57784         ($(objpfx)cross-rpcgen): Likewise.
57785         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57786         comment.
57787         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57788         ($(objpfx)x%.stmp): Likewise.
57789         * sunrpc/proto.h [IS_IN_build] (_): Define.
57790         [IS_IN_build] (_libc_intl_domainname): Likewise.
57792 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57794         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57795         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57796         and R_X86_64_TPOFF64.
57798 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57800         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57801         sysdeps/unix/sysv/syscalls.list.
57802         (stime): Likewise.
57803         (utime): Likewise.
57804         * sysdeps/unix/sysv/syscalls.list: Remove file.
57806 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57808         [BZ #3440]
57809         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57810         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57811         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57812         (__LC_IDENTIFICATION): Make these macros useful in #if
57813         expressions, as required by C99.
57815 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57817         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57818         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57819         after this.
57821 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57823         * stdlib/longlong.h: Updated from GCC.
57825 2012-05-09  Andreas Jaeger  <aj@suse.de>
57827         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57828         default is first entry.
57829         (run_mode): Set type.
57830         (main): Remove informal message about syslog.
57831         (options): Fix typo.
57833         [BZ #14053]
57834         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57835         to asm.
57836         (lrint): Likewise.
57837         (llrintf): Likewise.
57838         (llrint): Likewise.
57839         (rint): Likewise.
57840         (rintf): Likewise.
57841         (nearbyint): Likewise.
57842         (nearbyintf): Likewise.
57844 2012-05-09  Andreas Jaeger  <aj@suse.de>
57845             Pedro Alves  <palves@redhat.com>
57847         * nscd/nscd.c (run_mode): Use enum.
57848         (main): Cleanup coding style issue.
57850 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57851             Andreas Jaeger  <aj@suse.de>
57853         * nscd/nscd.c (go_background): Replaced with...
57854         (run_mode): ... this.
57855         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57856         (options): Add -F --foreground.
57857         (main): Implement it.
57858         (parse_opt): Parse it.
57860 2012-05-09  Andreas Jaeger  <aj@suse.de>
57862         [BZ #14083]
57863         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57864         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57865         -Wconversion warning.
57866         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57867         Likewise.
57869 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57871         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57872         == 0.
57873         (LC_ALL): Use macro-int-constant.
57874         (LC_COLLATE): Likewise.
57875         (LC_CTYPE): Likewise.
57876         (LC_MESSAGES): Likewise.
57877         (LC_MONETARY): Likewise.
57878         (LC_NUMERIC): Likewise.
57879         (LC_TIME): Likewise.
57880         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57881         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57882         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57883         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57884         Specify type.
57885         [C99-based standards] (float_t): Expect type.
57886         [C99-based standards] (double_t): Expect type.
57887         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57888         type.
57889         [C99-based standards] (HUGE_VALL): Likewise.
57890         [C99-based standards] (INFINITY): Likewise.
57891         [C99-based standards] (NAN): Likewise.
57892         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57893         [C99-based standards] (FP_NAN): Likewise.
57894         [C99-based standards] (FP_NORMAL): Likewise.
57895         [C99-based standards] (FP_SUBNORMAL): Likewise.
57896         [C99-based standards] (FP_ZERO): Likewise.
57897         [C99-based standards] (FP_FAST_FMA): Use
57898         optional-macro-int-constant.  Specify type.  Require == 1.
57899         [C99-based standards] (FP_FAST_FMAF): Likewise.
57900         [C99-based standards] (FP_FAST_FMAL): Likewise.
57901         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57902         [C99-based standards] (FP_ILOGBNAN): Likewise.
57903         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57904         Specify type.
57905         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57906         [C99-based standards] (math_errhandling): Specify type.
57907         [ISO99 || ISO11] (signgam): Do not allow.
57908         [non-C99-based standards] (copysignf): Do not allow.
57909         [non-C99-based standards] (exp2f): Likewise.
57910         [non-C99-based standards] (log2f): Likewise.
57911         [non-C99-based standards] (modff): Allow.
57912         [non-C99-based standards] (erff): Do not allow.
57913         [non-C99-based standards] (erfcf): Likewise.
57914         [non-C99-based standards] (gammaf): Likewise.
57915         [non-C99-based standards] (hypotf): Likewise.
57916         [non-C99-based standards] (j0f): Likewise.
57917         [non-C99-based standards] (j1f): Likewise.
57918         [non-C99-based standards] (jnf): Likewise.
57919         [non-C99-based standards] (lgammaf): Likewise.
57920         [non-C99-based standards] (tgammaf): Likewise.
57921         [non-C99-based standards] (y0f): Likewise.
57922         [non-C99-based standards] (y1f): Likewise.
57923         [non-C99-based standards] (ynf): Likewise.
57924         [non-C99-based standards] (isnanf): Likewise.
57925         [non-C99-based standards] (acoshf): Likewise.
57926         [non-C99-based standards] (asinhf): Likewise.
57927         [non-C99-based standards] (atanhf): Likewise.
57928         [non-C99-based standards] (cbrtf): Likewise.
57929         [non-C99-based standards] (expm1f): Likewise.
57930         [non-C99-based standards] (ilogbf): Likewise.
57931         [non-C99-based standards] (log1pf): Likewise.
57932         [non-C99-based standards] (logbf): Likewise.
57933         [non-C99-based standards] (nextafterf): Likewise.
57934         [non-C99-based standards] (remainderf): Likewise.
57935         [non-C99-based standards] (rintf): Likewise.
57936         [non-C99-based standards] (scalbf): Likewise.
57937         [non-C99-based standards] (copysignl): Likewise.
57938         [non-C99-based standards] (exp2l): Likewise.
57939         [non-C99-based standards] (log2l): Likewise.
57940         [non-C99-based standards] (modfl): Allow.
57941         [non-C99-based standards] (erfl): Do not allow.
57942         [non-C99-based standards] (erfcl): Likewise.
57943         [non-C99-based standards] (gammal): Likewise.
57944         [non-C99-based standards] (hypotl): Likewise.
57945         [non-C99-based standards] (j0l): Likewise.
57946         [non-C99-based standards] (j1l): Likewise.
57947         [non-C99-based standards] (jnl): Likewise.
57948         [non-C99-based standards] (lgammal): Likewise.
57949         [non-C99-based standards] (tgammal): Likewise.
57950         [non-C99-based standards] (y0l): Likewise.
57951         [non-C99-based standards] (y1l): Likewise.
57952         [non-C99-based standards] (ynl): Likewise.
57953         [non-C99-based standards] (isnanl): Likewise.
57954         [non-C99-based standards] (acoshl): Likewise.
57955         [non-C99-based standards] (asinhl): Likewise.
57956         [non-C99-based standards] (atanhl): Likewise.
57957         [non-C99-based standards] (cbrtl): Likewise.
57958         [non-C99-based standards] (expm1l): Likewise.
57959         [non-C99-based standards] (ilogbl): Likewise.
57960         [non-C99-based standards] (log1pl): Likewise.
57961         [non-C99-based standards] (logbl): Likewise.
57962         [non-C99-based standards] (nextafterl): Likewise.
57963         [non-C99-based standards] (remainderl): Likewise.
57964         [non-C99-based standards] (rintl): Likewise.
57965         [non-C99-based standards] (scalbl): Likewise.
57966         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57967         [non-C99-based standards] (FP_*): Do not allow.
57968         [C99-based standards] (FP_*): Change to
57969         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57970         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57971         allow.
57972         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57973         (SIG_ERR): Likewise.
57974         [X/Open-based standards] (SIG_HOLD): Likewise.
57975         (SIG_IGN): Likewise.
57976         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57977         positive value.
57978         (SIGFPE): Likewise.
57979         (SIGILL): Likewise.
57980         (SIGINT): Likewise.
57981         (SIGSEGV): Likewise.
57982         (SIGTER): Likewise.
57983         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57984         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57985         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57986         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57987         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57988         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57989         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57990         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57991         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57992         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57993         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57994         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57995         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57996         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57997         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57998         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57999         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58000         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58001         [X/Open-based standards] (SIGTRAP): Likewise.
58002         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58003         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58004         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58005         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58006         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58007         allow.
58009 2012-05-08  Ian Wienand  <ianw@vmware.com>
58011         [BZ #14080]
58012         * time/tzset.c (__tzset_parse_tz): Update default rules for
58013         daylight time changes in the Energy Policy Act of 2005.
58015 2012-05-09  Andreas Jaeger  <aj@suse.de>
58017         [BZ #13983]
58018         * elf/ldconfig.c (parse_conf): Change string to make clear that
58019         ldconfig only issued a warning if ld.so.conf does not exist.
58021 2012-05-08  David S. Miller  <davem@davemloft.net>
58023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58024         movxtod instead of popping the value on the stack.
58026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58028 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58030         * config.h.in: Add HAVE_ARM_PCS_VFP.
58032 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58034         [BZ #13979]
58035         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58036         checking but the checks are disabled for any reason.
58038 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58040         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58041         and ELF64_R_TYPE with ELFW(R_TYPE).
58043 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58045         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58046         (ulimit): Likewise.
58048         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58049         (settimeofday): Likewise.
58051 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58053         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58054         a struct th_u2 inside the union, and move tu_block/tu_code into
58055         a new th_u3 union of tu_block/tu_code inside of that.  Move
58056         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58057         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58058         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58059         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58060         (th_stuff): Change to th_u1.tu_stuff.
58061         (th_data): Define.
58062         (th_msg): Change to th_u1.th_u2.tu_data.
58064 2012-05-07  David S. Miller  <davem@davemloft.net>
58066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58068         [BZ #14074]
58069         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58070         (SETUP_PIC_REG): Use it.
58071         (SETUP_PIC_REG_LEAF): Use it.
58073 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58075         [BZ #13885]
58076         [BZ #13923]
58077         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58078         USE_AS_EXPM1L.
58079         (EXPL_FINITE): Likewise.
58080         (FLDLOG): Likewise.
58081         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58082         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58083         e_expl.S.
58084         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58085         USE_AS_EXPM1L.
58086         (EXPL_FINITE): Likewise.
58087         (FLDLOG): Likewise.
58088         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58089         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58090         e_expl.S.
58091         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58092         test of -max_value argument for long double.
58093         * sysdeps/i386/fpu/libm-test-ulps: Update.
58094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58096 2012-05-06  David S. Miller  <davem@davemloft.net>
58098         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58099         quad soft-float symbols whose references which are compiler
58100         generated.
58101         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58103 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58105         [BZ #13884]
58106         [BZ #13914]
58107         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58108         USE_AS_EXP10L.
58109         (EXPL_FINITE): Likewise.
58110         (FLDLOG): Likewise.
58111         (c0): Likewise.
58112         (c1): Likewise.
58113         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58114         Adjust comments for base varying.
58115         (__expl_finite): Change alias to EXPL_FINITE.
58116         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58117         e_expl.S.
58118         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58119         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58120         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58121         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58122         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58123         USE_AS_EXP10L.
58124         (EXPL_FINITE): Likewise.
58125         (FLDLOG): Likewise.
58126         (c0): Likewise.
58127         (c1): Likewise.
58128         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58129         Adjust comments for base varying.
58130         (__expl_finite): Change alias to EXPL_FINITE.
58131         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58132         tests for bugs.
58133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58135         [BZ #14064]
58136         * math/libm-test.inc (check_float_internal): Correct ulp
58137         calculation for subnormal expected results.
58139 2012-05-06  Andreas Jaeger  <aj@suse.de>
58141         * Makeconfig (+math-flags): New, set to -frounding-math.
58142         (+cflags): Add +math-flags so that all of glibc gets compiled with
58143         it.
58145         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58147 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58149         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58150         Disable one test.
58152         [BZ #13787]
58153         [BZ #13922]
58154         [BZ #14036]
58155         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58156         (__ieee754_expl): Allow for and saturate large arguments.
58157         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58158         (u_threshold): Likewise.
58159         (__exp): Call __ieee754_exp before checking for overflow and
58160         underflow.
58161         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58162         (u_threshold): Likewise.
58163         (__expf): Call __ieee754_expf before checking for overflow and
58164         underflow.
58165         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58166         (u_threshold): Likewise.
58167         (__expl): Call __ieee754_expl before checking for overflow and
58168         underflow.
58169         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58170         (__ieee754_expl): Allow for and saturate large arguments.
58171         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58172         missing overflow exception on overflow.
58173         (expm1_test): Do not allow missing overflow exception on overflow.
58175         * sysdeps/i386/fpu/e_expl.c: Move to ...
58176         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58177         rather than using inline asm.
58178         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58179         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58180         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58182         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58183         (nice): Likewise.
58184         (poll): Likewise.
58185         (signal): Likewise.
58186         (time): Likewise.
58187         (times): Likewise.
58189 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58191         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58192         sysdeps/unix/common/syscalls.list.
58193         (fchmod): Likewise.
58194         (fchown): Likewise.
58195         (ftruncate): Likewise.
58196         (getrusage): Likewise.
58197         (gettimeofday): Likewise.
58198         (setpgid): Likewise.
58199         (setregid): Likewise.
58200         (setreuid): Likewise.
58201         (sigaction): Likewise.
58202         (truncate): Likewise.
58203         (vhangup): Likewise.
58204         * sysdeps/unix/common/syscalls.list: Remove file.
58205         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58206         * sysdeps/unix/sysv/linux/Implies: Likewise.
58208 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58210         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58212         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58213         Moved to ...
58214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58215         Here.
58216         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58217         to ...
58218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58219         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58220         to ...
58221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58222         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58223         to ...
58224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58225         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58226         to ...
58227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58228         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58229         to ...
58230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58231         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58232         to ...
58233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58234         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58235         to ...
58236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58237         Here.
58238         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58239         to ...
58240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58241         Here.
58242         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58243         to ...
58244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58245         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58246         Moved to ...
58247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58248         Here.
58249         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58250         to ...
58251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58253 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58255         * sysdeps/unix/common/bits/dirent.h: Remove file.
58256         * sysdeps/unix/common/bits/fcntl.h: Likewise.
58258         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58259         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58260         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58261         * sysdeps/unix/bsd/isatty.c: Likewise.
58262         * sysdeps/unix/bsd/tcdrain.c: Likewise.
58263         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58264         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58266 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58268         [BZ #13563]
58269         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58270         long double comparison inaccuracies.
58271         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58274 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
58276         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58277         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58279 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58281         [BZ #14049]
58282         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58283         nonzero digits before rounding a hex value.
58284         * stdlib/tst-strtod.c (tests): Add another test.
58286 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58288         * sysdeps/s390/fpu/libm-test-ulps: Update.
58290 2012-05-03  Andreas Jaeger  <aj@suse.de>
58292         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58293         does not get optimized out.
58294         (malloc_opt_barrier): New.
58296 2012-05-03  Andreas Jaeger  <aj@suse.de>
58297             Roland McGrath  <roland@hack.frob.com>
58299         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58300         intermediate file deletion.
58301         (generated): Add .symlist files.
58303 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
58305         [BZ #13775]
58306         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58307         Redirect under this condition.
58308         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58309         [__USE_GNU] (__dprintf_chk): Not under this condition.
58310         [__USE_GNU] (__vdprintf_chk): Likewise.
58311         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58312         under this condition.
58313         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58314         [__USE_XOPEN2K8] (dprintf): Define under this condition.
58315         [__USE_XOPEN2K8] (vdprintf): Likewise.
58316         [__USE_GNU] (__dprintf_chk): Not under this condition.
58317         [__USE_GNU] (__vdprintf_chk): Likewise.
58318         [__USE_GNU] (dprintf): Likewise.
58319         [__USE_GNU] (vdprintf): Likewise.
58321 2012-05-03  Roland McGrath  <roland@hack.frob.com>
58323         * elf/Makefile (common-generated): Set this instead of generated for
58324         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
58325         $(all-built-dso)-derived lists.
58327 2012-05-03  Andreas Jaeger  <aj@suse.de>
58329         * sysdeps/i386/fpu/libm-test-ulps: Update.
58331         * FAQ: Removed.
58332         * FAQ.in: Likewise.
58333         * scripts/gen-FAQ.pl: Likewise.
58334         * manual/install.texi (Installation): Point to online location of
58335         FAQ.
58336         * Makefile (files-for-dist): Remove FAQ.
58337         (FAQ): Remove.
58339 2012-05-02  Allan McRae  <allan@archlinux.org>
58341         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58342         (LDFLAGS-reldepmod5.so): Likewise.
58343         (LDFLAGS-reldep6mod1.so): Likewise.
58344         (LDFLAGS-reldep6mod4.so): Likewise.
58345         (LDFLAGS-reldep8mod3.so): Likewise.
58346         (LDFLAGS-unload4mod1.so): Likewise.
58347         (LDFLAGS-unload4mod2.so): Likewise.
58348         (LDFLAGS-tst-initorder): Likewise.
58349         (LDFLAGS-tst-initordera2.so): Likewise.
58350         (LDFLAGS-tst-initordera3.so): Likewise.
58351         (LDFLAGS-tst-initordera4.so): Likewise.
58352         (LDFLAGS-tst-initorderb2.so): Likewise.
58353         (LDFLAGS-noload): Likewise.
58354         (LDFLAGS-next): Likewise.
58355         (LDFLAGS-order2mod1.so): Likewise.
58356         (LDFLAGS-order2mod2.so): Likewise.
58357         (LDFLAGS-tst-initorder2): Likewise.
58358         (LDFLAGS-tst-initorder2a.so): Likewise.
58359         (LDFLAGS-tst-initorder2b.so): Likewise.
58360         (LDFLAGS-tst-initorder2c.so): Likewise.
58361         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58363 2012-05-02  David S. Miller  <davem@davemloft.net>
58365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58367 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
58369         [BZ #14055]
58370         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58372 2012-05-02  Andreas Jaeger  <aj@suse.de>
58374         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58375         since we manipulate rounding mode.
58376         (CPPFLAGS-test-idouble.c): Likewise.
58377         (CPPFLAGS-test-ifloat.c): Likewise.
58378         (CFLAGS-test-ldouble.c): Likewise.
58379         (CFLAGS-test-double.c): Likewise.
58380         (CFLAGS-test-float.c): Likewise.
58381         (CFLAGS-test-misc.c): Likewise.
58382         (CFLAGS-test-test-fenv.c): Likewise.
58384 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58386         [BZ #2550]
58387         [BZ #2570]
58388         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58389         comparisons to determine direction to adjust input.
58391 2012-05-01  Roland McGrath  <roland@hack.frob.com>
58393         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58394         output to the target.
58396         * scripts/localplt.awk: New file.
58397         * elf/Makefile ($(objpfx)check-localplt): Target removed.
58398         (check-localplt-CFLAGS): Variable removed.
58399         ($(all-built-dso:=.jmprel)): New static pattern rule.
58400         (generated): Add those targets.
58401         (localplt-built-dso): New variable.
58402         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58404         * elf/check-localplt.c: File removed.
58406         * scripts/check-execstack.awk: New file.
58407         * elf/Makefile ($(objpfx)check-execstack): Target removed.
58408         (check-execstack-CFLAGS): Variable removed.
58409         ($(objpfx)check-execstack.h): Target removed.
58410         ($(objpfx)execstack-default): New target.
58411         (generated): Add that instead of check-execstack.h.
58412         ($(all-built-dso:=.phdr)): New static pattern rule.
58413         (generated): Add those targets.
58414         * elf/check-execstack.c: File removed.
58416         * scripts/check-textrel.awk: New file.
58417         * elf/Makefile ($(objpfx)check-textrel): Target removed.
58418         (check-textrel-CFLAGS): Variable removed.
58419         (all-built-dso): Use := to define.o
58420         ($(all-built-dso:=.dyn)): New static pattern rule.
58421         (generated): Add those targets.
58422         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58423         * config.make.in (READELF): New substituted variable.
58424         * elf/check-textrel.c: File removed.
58426 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58428         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58429         allow.
58430         * conform/data/ctype.h-data [C99-based standards] (isblank):
58431         Expect function.
58432         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58433         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58434         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58435         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58436         Specify type.  Require positive value.
58437         (EILSEQ): Likewise.
58438         (ERANGE): Likewise.
58439         [ISO || POSIX] (EILSEQ): Do not expect.
58440         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58441         Specify type.  Require positive value.
58442         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58443         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58444         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58445         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58446         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58447         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58448         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58449         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58450         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58451         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58452         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58453         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58454         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58455         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58456         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58457         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58458         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58459         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58460         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58461         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58462         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58463         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58464         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58465         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58466         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58467         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58468         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58469         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58470         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58471         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58472         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58473         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58474         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58475         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58476         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58477         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58478         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58479         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58480         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58481         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58482         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58483         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58484         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58485         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58486         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58487         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58488         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58489         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58490         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58491         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58492         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58493         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58494         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58495         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58496         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58497         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58498         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58499         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58500         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58501         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58502         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58503         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58504         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58505         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58506         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58507         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58508         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58509         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58510         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58511         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58512         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58513         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
58514         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
58515         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
58516         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
58517         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
58518         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
58519         Require >= 2.
58520         (FLT_ROUNDS): Expect as macro, not constant.
58521         (FLT_MANT_DIG): Use macro-int-constant.
58522         (DBL_MANT_DIG): Likewise.
58523         (LDBL_MANT_DIG): Likewise.
58524         (FLT_DIG): Likewise.
58525         (DBL_DIG): Likewise.
58526         (LDBL_DIG): Likewise.
58527         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
58528         (DBL_MIN_EXP): Likewise.
58529         (LDBL_MIN_EXP): Likewise.
58530         (FLT_MAX_EXP): Use macro-int-constant.
58531         (DBL_MAX_EXP): Likewise.
58532         (LDBL_MAX_EXP): Likewise.
58533         (FLT_MAX_10_EXP): Likewise.
58534         (DBL_MAX_10_EXP): Likewise.
58535         (LDBL_MAX_10_EXP): Likewise.
58536         (FLT_MAX): Use macro-constant.
58537         (DBL_MAX): Likewise.
58538         (LDBL_MAX): Likewise.
58539         (FLT_EPSILON): Use macro-constant.  Give upper bound.
58540         (DBL_EPSILON): Likewise.
58541         (LDBL_EPSILON): Likewise.
58542         (FLT_MIN): Likewise.
58543         (DBL_MIN): Likewise.
58544         (LDBL_MIN): Likewise.
58545         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
58546         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
58547         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
58548         [ISO11] (FLT_HAS_SUBNORM): Likewise.
58549         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
58550         [ISO11] (DBL_DECIMAL_DIG): Likewise.
58551         [ISO11] (FLT_DECIMAL_DIG): Likewise.
58552         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
58553         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
58554         [ISO11] (FLT_TRUE_MIN): Likewise.
58555         [ISO11] (LDBL_TRUE_MIN): Likewise.
58556         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58557         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
58558         (SCHAR_MIN): Use macro-int-constant.  Specify type.
58559         (SCHAR_MAX): Likewise.
58560         (UCHAR_MAX): Likewise.
58561         (CHAR_MIN): Likewise.
58562         (CHAR_MAX): Likewise.
58563         (MB_LEN_MAX): Use macro-int-constant.
58564         (SHRT_MIN): Use macro-int-constant.  Specify type.
58565         (SHRT_MAX): Likewise.
58566         (USHRT_MAX): Likewise.
58567         (INT_MAX): Likewise.
58568         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
58569         bound negative.
58570         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58571         bound with "U".
58572         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58573         bound with "L".
58574         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
58575         bound negative.  Suffix upper bound with "L".
58576         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58577         bound with "UL".
58578         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
58579         Specify type.
58580         [C99-based standards] (LLONG_MAX): Likewise.
58581         [C99-based standards] (ULLONG_MAX): Likewise.
58582         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
58583         == 0.
58584         [ISO11] (max_align_t): Require type.
58585         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58587         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58588         from $CFLAGS, without defining away __attribute__ calls.
58589         (checknamespace): Use $CFLAGS_namespace.
58591         * conform/conformtest.pl (@keywords): Only include C99 keywords
58592         for standards based on C99 or C11.
58594         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58595         Disable tests.
58596         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58597         UNIX98]: Likewise.
58599         * conform/conformtest.pl: Handle "macro-int-constant" and test for
58600         usability of symbols in #if.
58602         * conform/conformtest.pl: If macro or constant types start
58603         "promoted:", expect the symbol to be of the following type
58604         promoted by the integer promotions.
58606         * conform/conformtest.pl: Parse all "constant" and "macro" lines
58607         in one place.  Also handle "macro-constant".
58609         * conform/conformtest.pl: Only accept expected macro values with
58610         "==".  Parse all "macro" lines in one place.
58611         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58613         * conform/conformtest.pl: Handle braced types on "constant" lines
58614         instead of handling "typed-constant".
58615         * conform/data/signal.h-data: Use "constant" instead of
58616         "typed-constant".
58618         * conform/conformtest.pl: Handle "optional-" at start of lines in
58619         one place rather than duplicating several cases.  Handle each
58620         format of "macro" line with initial "optional-".
58622         * conform/conformtest.pl: Only accept expected constant or
58623         optional-constant values with "==".  Parse all "constant" lines in
58624         one place.  Parse all "optional-constant" lines in one place.
58625         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58626         * conform/data/fmtmsg.h-data: Likewise.
58627         * conform/data/netinet/in.h-data: Likewise.
58628         * conform/data/tar.h-data: Likewise.
58629         * conform/data/limits.h-data: Use "==" form on "constant" and
58630         "optional-constant" lines.
58632         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58633         Use -std=c99 for XOPEN2K.
58634         (@knownproblems): Remove.
58635         (newtoken): Don't check %isknown.
58637         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58638         Do not expect macro.
58639         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58640         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
58641         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
58642         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
58643         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
58644         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
58645         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58646         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
58647         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
58648         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58649         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
58650         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
58651         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
58652         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
58653         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58654         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
58655         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
58656         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58657         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
58658         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
58659         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
58660         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
58661         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
58662         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
58663         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58664         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
58665         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
58666         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
58667         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58668         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
58669         [XPG3] (acosh): Likewise.
58670         [XPG3] (asinh): Likewise.
58671         [XPG3] (atanh): Likewise.
58672         [XPG3] (cbrt): Likewise.
58673         [XPG3] (expm1): Likewise.
58674         [XPG3] (ilogb): Likewise.
58675         [XPG3] (log1p): Likewise.
58676         [XPG3] (logb): Likewise.
58677         [XPG3] (nextafter): Likewise.
58678         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
58679         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
58680         [XPG3] (remainder): Likewise.
58681         [XPG3] (rint): Likewise.
58682         [XPG3 || XPG4 || UNIX98] (round): Likewise.
58683         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
58684         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
58685         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
58686         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
58687         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
58688         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
58689         [UNIX98 || XOPEN2K] (scalb): Expect.
58690         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
58691         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
58692         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
58693         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
58694         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
58695         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
58696         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
58697         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
58698         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
58699         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58700         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58701         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58702         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58703         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58704         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58705         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58706         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58707         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58708         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58709         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58710         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58711         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58712         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58713         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58714         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58715         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58716         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58717         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58718         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58719         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58720         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58721         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58722         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58723         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58724         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58725         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58726         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58727         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58728         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58729         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58730         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58731         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58732         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58733         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58734         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58735         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58736         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58737         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58738         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58739         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58740         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58741         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58742         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58743         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58744         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58745         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58746         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58747         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58748         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58749         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58750         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58751         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58752         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58753         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58754         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58755         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58756         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58757         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58758         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58759         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58760         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58761         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58762         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58763         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58764         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58765         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58766         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58767         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58768         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58769         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58770         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58771         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58772         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58773         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58774         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58775         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58776         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58777         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58778         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58779         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58780         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58781         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58782         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58783         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58784         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58785         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58786         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58787         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58788         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58789         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58790         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58791         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58792         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58793         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58794         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58795         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58796         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58797         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58798         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58799         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58800         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58801         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58802         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58803         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58804         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58805         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58806         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58807         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58808         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58809         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58810         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58811         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58812         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58813         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58814         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58815         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58816         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58817         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58818         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58819         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58820         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58821         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58822         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58823         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58824         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58825         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58826         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58828         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58829         _XOPEN_SOURCE_EXTENDED for XPG4.
58831         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58833         * Makeconfig (localtime): Remove variable.
58834         (inst_localtime-file): Likewise.
58836 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58839         Update.
58840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58841         Update.
58842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58843         Update.
58844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58845         Update.
58846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58847         Update.
58848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58849         Update.
58850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58851         Update.
58852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58853         Update.
58854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58855         Update.
58857 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58859         [BZ #2550]
58860         [BZ #2570]
58861         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58862         comparisons to determine direction to adjust input.
58863         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58864         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58865         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58866         Likewise.
58867         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58868         Likewise.
58869         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58870         Likewise.
58871         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58872         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58873         Likewise.
58874         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58875         Likewise.
58876         * math/libm-test.inc (nexttoward_test): Add more tests.
58878 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58880         [BZ #14040]
58881         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58882         in version GLIBC_2.1, not GLIBC_2.0.
58883         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58884         Likewise.
58886 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58888         [BZ #13942]
58889         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58890         (1 - x) * (1 + x).
58891         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58892         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58893         * math/libm-test.inc (acos_test): Add more tests.
58894         (asin_test): Likewise.
58895         * sysdeps/i386/fpu/libm-test-ulps: Update.
58896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58898         [BZ #14034]
58899         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58900         of square root.
58901         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58902         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58903         * math/libm-test.inc (acos_test_tonearest): New function.
58904         (acos_test_towardzero): Likewise.
58905         (acos_test_downward): Likewise.
58906         (acos_test_upward): Likewise.
58907         (asin_test_tonearest): Likewise.
58908         (asin_test_towardzero): Likewise.
58909         (asin_test_downward): Likewise.
58910         (asin_test_upward): Likewise.
58911         (main): Call the new functions.
58912         * sysdeps/i386/fpu/libm-test-ulps: Update.
58913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58915         [BZ #13884]
58916         [BZ #13924]
58917         * math/e_exp10.c: Include <float.h>.
58918         (__ieee754_exp10): Handle underflow here rather than multiplying
58919         large negative argument by M_LN10.
58920         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58921         of __ieee754_expf.
58922         * math/e_exp10l.c: Include <float.h>.
58923         (__ieee754_exp10l): Handle underflow here rather than multiplying
58924         large negative argument by M_LN10l.
58925         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58926         spurious overflow exception on underflow.
58928 2012-04-29  Marek Polacek  <polacek@redhat.com>
58930         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58931         (__fortify_function): New macro.
58932         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58933         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58934         __extern_always_inline.
58935         * libio/bits/stdio2.h: Likewise.
58936         * libio/bits/stdio.h: Likewise.
58937         * string/string.h: Likewise.
58938         * string/bits/string3.h: Likewise.
58939         * include/stdio.h: Likewise.
58940         * stdlib/bits/stdlib.h: Likewise.
58941         * stdlib/stdlib.h: Likewise.
58942         * rt/bits/mqueue2.h: Likewise.
58943         * rt/mqueue.h: Likewise.
58944         * posix/bits/unistd.h: Likewise.
58945         * posix/unistd.h: Likewise.
58946         * io/bits/poll2.h: Likewise.
58947         * io/bits/fcntl2.h: Likewise.
58948         * io/fcntl.h: Likewise.
58949         * io/sys/poll.h: Likewise.
58950         * misc/bits/syslog.h: Likewise.
58951         * misc/bits/syslog-ldbl.h: Likewise.
58952         * misc/sys/syslog.h: Likewise.
58953         * socket/bits/socket2.h: Likewise.
58954         * socket/sys/socket.h: Likewise.
58955         * debug/tst-chk1.c: Likewise.
58956         * wcsmbs/bits/wchar2.h: Likewise.
58957         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58958         * wcsmbs/wchar.h: Likewise.
58960 2012-04-29  Andreas Jaeger  <aj@suse.de>
58962         * Makerules (tests): Remove enable-check-abi protection.
58963         (check-abi-warn): Remove.
58964         (check-abi-%): Remove check-abi-warn usage.
58966         * configure.in: Remove check-abi configure option.
58967         * configure: Regenerated.
58968         * config.make.in (enable-check-abi): Remove.
58970 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58972         [BZ #14033]
58973         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58974         double functions to double *_finite functions.
58976         [BZ #13941]
58977         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58978         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58979         LDBL_MIN_EXP.
58980         * stdio-common/Makefile (tests): Add tst-sprintf3.
58981         * stdio-common/tst-sprintf3.c: New file.
58983         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58984         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58986 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58988         * conform/conformtest.pl: Remove duplicate typed-constant
58989         handling.
58991 2012-04-28  David S. Miller  <davem@davemloft.net>
58993         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58994         (check-abi-%): Remove AWK script prerequisite and explicit
58995         abilist directory.
58996         (check-abi): Rewrite to just diff the symlist with the abilist.
58997         (config-tls, config-abi-config): Delete, no longer used.
58998         (update-abi-%): Remove AWK script and explicit abilist directory.
58999         (update-abi): Rewrite to simply compare and conditionally copy the
59000         symlist and the sysdep abilist file.  Remove update-abi-config
59001         checks.
59002         * abilist/ld.abilist: Remove.
59003         * abilist/libBrokenLocale.abilist: Remove.
59004         * abilist/libanl.abilist: Remove.
59005         * abilist/libcrypt.abilist: Remove.
59006         * abilist/libdl.abilist: Remove.
59007         * abilist/librt.abilist: Remove.
59008         * abilist/libthread_db.abilist: Remove.
59009         * abilist/libutil.abilist: Remove.
59010         * scripts/extract-abilist.awk: Remove.
59011         * scripts/merge-abilist.awk: Remove.
59012         * sysdeps/generic/libcidn.abilist: New file.
59013         * sysdeps/generic/libnss_compat.abilist: New file.
59014         * sysdeps/generic/libnss_db.abilist: New file.
59015         * sysdeps/generic/libnss_dns.abilist: New file.
59016         * sysdeps/generic/libnss_files.abilist: New file.
59017         * sysdeps/generic/libnss_hesiod.abilist: New file.
59018         * sysdeps/generic/libnss_nis.abilist: New file.
59019         * sysdeps/generic/libnss_nisplus.abilist: New file.
59020         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59021         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59022         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59023         file.
59024         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59025         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59026         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59027         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59028         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59029         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59030         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59031         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59032         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59033         file.
59034         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59035         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59036         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59037         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59038         file.
59039         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59040         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59041         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59042         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59043         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59044         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59045         file.
59046         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59047         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59048         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59049         file.
59050         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59052         New file.
59053         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59054         New file.
59055         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59056         New file.
59057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59058         New file.
59059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59060         New file.
59061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59062         New file.
59063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59064         New file.
59065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59066         New file.
59067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59068         New file.
59069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59070         New file.
59071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59072         New file.
59073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59074         New file.
59075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59076         New file.
59077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59078         file.
59079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59080         New file.
59081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59082         New file.
59083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59084         file.
59085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59086         New file.
59087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59088         New file.
59089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59090         file.
59091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59092         New file.
59093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59094         New file.
59095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59096         New file.
59097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59098         New file.
59099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59100         New file.
59101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59102         New file.
59103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59105         file.
59106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59107         New file.
59108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59109         file.
59110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59111         file.
59112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59113         file.
59114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59115         file.
59116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59117         file.
59118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59119         New file.
59120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59121         file.
59122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59123         file.
59124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59125         New file.
59126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59127         file.
59128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59130         file.
59131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59132         New file.
59133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59134         file.
59135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59136         file.
59137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59138         file.
59139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59140         file.
59141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59142         file.
59143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59144         New file.
59145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59146         file.
59147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59148         file.
59149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59150         New file.
59151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59152         file.
59153         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59154         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59155         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59156         file.
59157         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59158         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59159         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59160         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59161         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59162         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59163         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59164         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59165         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59166         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59169         file.
59170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59171         New file.
59172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59173         file.
59174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59175         file.
59176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59177         file.
59178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59179         file.
59180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59181         file.
59182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59183         New file.
59184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59185         New file.
59186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59187         file.
59188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59189         New file.
59190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59191         file.
59192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59194         file.
59195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59196         New file.
59197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59198         file.
59199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59200         file.
59201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59202         file.
59203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59204         file.
59205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59206         file.
59207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59208         New file.
59209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59210         New file.
59211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59212         file.
59213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59214         New file.
59215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59216         file.
59218 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59220         * conform/conformtest.pl: Fix typo in handling typed-constant from
59221         allow-header.
59223 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59225         * README: Cut down references to pre-2.6 Linux kernels and
59226         Linuxthreads.  Update lists of configurations in libc and ports
59227         and sort alphabetically.  Say "or newer" with Linux kernel version
59228         requirements.
59230         * config.h.in [IS_IN_build]: Allow compiling without optimization.
59232 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59234         [BZ #887]
59235         * math/libm-test.inc (logb_test_downward): New test to expose
59236         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59237         rounding mode.
59239 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59241         [BZ #14027]
59242         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59243         to be done.
59244         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59245         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59247 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
59249         * sysdeps/unix/i386/brk.S: Remove file.
59250         * sysdeps/unix/i386/dl-brk.S: Likewise.
59251         * sysdeps/unix/i386/pipe.S: Likewise.
59252         * sysdeps/unix/i386/sigreturn.S: Likewise.
59253         * sysdeps/unix/i386/syscall.S: Likewise.
59254         * sysdeps/unix/i386/vfork.S: Likewise.
59255         * sysdeps/unix/i386/wait.S: Likewise.
59257         * sysdeps/unix/common/tcsendbrk.c: Move to ...
59258         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59260         * configure.in (arm*-none*): Do not allow without
59261         --enable-hacker-mode.
59262         (netbsd*): Remove case setting base_os.
59263         (386bsd*): Likewise.
59264         (freebsd*): Likewise.
59265         (bsdi*): Likewise.
59266         (osf*): Likewise.
59267         (sunos*): Likewise.
59268         (ultrix*): Likewise.
59269         (newsos*): Likewise.
59270         (dynix*): Likewise.
59271         (*bsd*): Likewise.
59272         (sysv*): Likewise.
59273         (isc*): Likewise.
59274         (esix*): Likewise.
59275         (sco*): Likewise.
59276         (minix*): Likewise.
59277         (irix4*): Likewise.
59278         (irix6*): Likewise.
59279         (solaris[2-9]*): Likewise.
59280         (none): Likewise.
59281         * configure: Regenerated.
59283 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59285         [BZ #11521]
59286         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59287         overflow or cancellation in calculating denominator.
59288         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59289         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59290         down expression to avoid unexpected rounding in newer GCCs.
59291         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59293 2012-04-26  David S. Miller  <davem@davemloft.net>
59295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59296         long-double compat symbols.
59297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59311 2012-04-25  David S. Miller  <davem@davemloft.net>
59313         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59314         HWCAP_* values only after the memory barriers have been defined.
59315         (atomic_full_barrier): Define.
59316         (atomic_read_barrier): Define.
59317         (atomic_write_barrier): Define.
59319 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59321         * shlib-versions: Add libgcc_s version information.
59322         * sysdeps/generic/libgcc_s.h: Remove.
59323         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59324         libgcc_s.h.
59325         * sysdeps/gnu/unwind-resume.c: Likewise.
59326         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59328 2012-04-25  David S. Miller  <davem@davemloft.net>
59330         * sysdeps/unix/sparc/brk.S: Delete.
59331         * sysdeps/unix/sparc/dl-brk.S: Delete.
59332         * sysdeps/unix/sparc/pipe.S: Delete.
59333         * sysdeps/unix/sparc/sysdep.S: Delete.
59334         * sysdeps/unix/sparc/sysdep.h: Delete.
59335         * sysdeps/unix/sparc/vfork.S: Delete.
59336         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59337         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59338         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59339         (ret_ERRVAL, r0, r1, MOVE): Define.
59340         (JUMPTARGET): Remove.
59341         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59342         sysdeps/unix/sparc/sysdep.h
59343         (ENTRY, END): Remove.
59344         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59346 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
59348         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59349         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59350         -DIS_IN_build.
59352         * timezone/README: Update upstream location and email address for
59353         tzcode and tzdata.
59354         * timezone/zdump.c: Update from tzcode 2012b.
59355         * timezone/zic.c: Likewise.
59357         * configure.in (libc_cv_as_needed): Remove test.
59358         * configure: Regenerated.
59359         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59360         conditional definition.
59361         [$(have-as-needed) != yes] (no-as-needed): Likewise.
59362         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59363         * config.make.in (have-as-needed): Remove variable.
59365 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59366             Paul Pluzhnikov  <ppluzhnikov@google.com>
59368         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59369         strings correctly.
59371 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
59373         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59374         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59375         * sysdeps/sh/strlen.S: Likewise.
59377 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59379         * sysdeps/unix/fork.S: Remove file.
59380         * sysdeps/unix/i386/fork.S: Likewise.
59381         * sysdeps/unix/sparc/fork.S: Likewise.
59383         * sysdeps/unix/system.c: Remove file.
59384         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59386         * sysdeps/unix/getegid.S: Remove file.
59387         * sysdeps/unix/geteuid.S: Likewise.
59389 2012-04-24  Roland McGrath  <roland@hack.frob.com>
59391         * scripts/check-localplt.awk: New file.
59392         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59393         of diff.
59394         * scripts/data/localplt-generic.data: Add a comment.
59396         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59397         NODE when __dir_mkfile failed.
59398         * sysdeps/mach/hurd/symlinkat.c: Likewise.
59399         Reported by Ludovic Courtès <ludo@gnu.org>.
59401 2012-04-24  Andreas Jaeger  <aj@suse.de>
59403         * Makerules (common-clean): Also remove gen-as-const-headers
59404         files.
59406 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59408         * Makerules (native-compile): Do not change working directory for
59409         build.  Use $(OUTPUT_OPTION) in command.
59410         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59412 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59414         [BZ #13886]
59415         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59416         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59417         * math/libm-test.inc (floor_test): Add more tests.
59418         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59420 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59422         * sysdeps/unix/getdents.c: Remove file.
59423         * sysdeps/unix/sysv/getdents.c: Likewise.
59424         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59426         * sysdeps/unix/syscalls.list (madvise): Add syscall from
59427         sysdeps/unix/mman/syscalls.list.
59428         (mmap): Likewise.
59429         (mprotect): Likewise.
59430         (msync): Likewise.
59431         (munmap): Likewise.
59432         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59433         * sysdeps/unix/mman/syscalls.list: Remove.
59434         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59436         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59437         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59438         * configure: Regenerated.
59439         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59440         $(libgcc_s_suffix).
59441         * config.make.in (libgcc_s_suffix): Remove variable.
59443 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
59445         * sysdeps/unix/sysv/gethostname.c: Move to ...
59446         * sysdeps/posix/gethostname.c: ... here.
59448         * sysdeps/unix/execve.S: Remove file.
59450         * sysdeps/unix/_exit.S: Remove file.
59452 2012-04-23  Andreas Jaeger  <aj@suse.de>
59454         [BZ #13739]
59455         * manual/Makefile: Remove make dist support, there's no
59456         need for a stand-alone documentation tar ball.
59457         (TEXI2DVI): Define always, it's not in Makeconfig.
59458         (dist): Removed.
59459         (tar-it): Removed.
59460         (edition): Removed.
59461         (glibc-doc-$(edition).tar): Removed
59462         (%.Z): Removed.
59463         (%.gz): Removed.
59464         (%.uu): Removed.
59465         (ETAGS): Remove, it's in Makeconfig.
59466         (move-if-change): Remove, it's in Makeconfig.
59468 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
59470         [BZ #13970]
59471         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59472         (strtod, strtof, strtold, strtol, strtoul, strtoq)
59473         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59474         (strtod_l, strtof_l, strtold_l): Remove __wur.
59475         It is not necessarily an error to ignore strtol's return value.
59476         One can reliably look at the stored endptr to decide whether
59477         the number had valid syntax.
59479 2012-04-21  Andreas Jaeger  <aj@suse.de>
59481         [BZ #13739]
59482         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59484 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
59486         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59487         * sysdeps/unix/sysv/Versions: Remove file.
59489 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
59491         [BZ #13927]
59492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59494 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
59496         [BZ #7064]
59497         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59498         version from __vm86.
59500 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
59502         * sysdeps/unix/common/lxstat.c: Remove file.
59503         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59505         * sysdeps/unix/sysv/Makefile: Remove file.
59507         * sysdeps/unix/sysv/direct.h: Remove file.
59509         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59510         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59511         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59512         * sysdeps/unix/sysv/bits/signum.h: Likewise.
59513         * sysdeps/unix/sysv/bits/stat.h: Likewise.
59514         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
59515         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
59517         * sysdeps/unix/sysv/setrlimit.c: Remove file.
59519         * sysdeps/unix/xmknod.c: Remove file.
59520         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
59522         * sysdeps/unix/sysv/settimeofday.c: Remove file.
59524         * sysdeps/unix/sysv/i386/time.S: Remove file.
59526         * sysdeps/unix/fxstat.c: Remove file.
59527         * sysdeps/unix/xstat.c: Likewise.
59528         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
59530         * sysdeps/unix/sysv/sigaction.c: Remove file.
59532         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
59533         (sysdep_headers): Remove variable.
59534         [termio.h not in sysdep_headers] (generated): Likewise.
59535         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
59536         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
59537         * sysdeps/unix/sysv/tcdrain.c: Likewise.
59538         * sysdeps/unix/sysv/tcflow.c: Likewise.
59539         * sysdeps/unix/sysv/tcflush.c: Likewise.
59540         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
59541         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
59542         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
59543         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
59544         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
59546         * sysdeps/unix/siglist.c: Remove file.
59548         * sysdeps/unix/getppid.S: Remove file.
59550         * sysdeps/unix/mkdir.c: Remove file.
59551         * sysdeps/unix/rmdir.c: Likewise.
59553 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
59555         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
59556         ERR_MAX value.
59557         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
59558         errlist-compat value.
59560 2012-04-18  David S. Miller  <davem@davemloft.net>
59562         * sysdeps/generic/memcopy.h (reg_char): Delete.
59563         * debug/strcat_chk.c: Use char, not reg_char.
59564         * debug/strcpy_chk.c: Likewise.
59565         * debug/strncat_chk.c: Likewise.
59566         * debug/strncpy_chk.c: Likewise.
59567         * string/memchr.c: Likewise.
59568         * string/memrchr.c: Likewise.
59569         * string/rawmemchr.c: Likewise.
59570         * string/strcat.c: Likewise.
59571         * string/strchr.c: Likewise.
59572         * string/strchrnul.c: Likewise.
59573         * string/strcmp.c: Likewise.
59574         * string/strcpy.c: Likewise.
59575         * string/strncat.c: Likewise.
59576         * string/strncmp.c: Likewise.
59577         * string/strncpy.c: Likewise.
59579 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59581         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
59582         __builtin_memcopy is called when src and dest ranges are known to not
59583         overlap.
59585 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59587         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59588         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59589         fwd_align_merge macro call.
59590         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59591         bwd_align_merge macro call.
59592         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59594 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59596         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59597         bwd_align_merge macros.
59598         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59599         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59600         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59602 2012-04-18  David S. Miller  <davem@davemloft.net>
59604         * sysdeps/sparc/sparc64/memcopy.h: Delete.
59606 2012-04-18  Andreas Jaeger  <aj@suse.de>
59608         [BZ# 6794]
59609         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59610         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59611         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59613         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59614         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59615         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59617         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59618         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59619         Adjust for changed ldbl-128 files.
59621         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59622         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59623         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59625 2012-04-17  David S. Miller  <davem@davemloft.net>
59627         * sysdeps/sparc/sparc32/memcopy.h: Delete.
59629 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
59631         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59632         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59633         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59634         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59635         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59636         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59638 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59640         [BZ #6794]
59641         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
59642         * math/libm-test.inc: Add ilogb errno and exception tests.
59643         * math/w_ilogb.c: New file: ilogb wrapper.
59644         * math/w_ilogbf.c: New file: ilogbf wrapper.
59645         * math/w_ilogbl.c: New file: ilogbl wrapper.
59646         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
59647         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
59648         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
59649         exception being thrown with 0.0 as argument.
59650         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
59651         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59652         exception being thrown with 0.0 as argument.
59653         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
59654         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59655         exception being thrown with 0.0 as argument.
59656         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
59657         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59658         exception being thrown with 0.0 as argument.
59659         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
59660         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
59661         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
59662         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
59663         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59664         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
59665         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
59666         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
59667         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
59669 2012-04-17  Petr Baudis  <pasky@ucw.cz>
59671         * include/sys/uio.h: Change __vector to __iovec to avoid clash
59672         with altivec.
59674 2012-04-16  Marek Polacek  <polacek@redhat.com>
59676         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
59678 2012-04-16  Marek Polacek  <polacek@redhat.com>
59680         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
59681         operands of fdivp instruction.
59683 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59685         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
59686         * elf/tst-auditmod3b.c: Likewise.
59687         * elf/tst-auditmod4b.c: Likewise.
59688         * elf/tst-auditmod5b.c: Likewise.
59689         * elf/tst-auditmod6b.c: Likewise.
59690         * elf/tst-auditmod6c.c: Likewise.
59691         * elf/tst-auditmod7b.c: Likewise.
59692         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
59693         * sysdeps/x86_64/preconfigure.in: Likewise.
59694         * sysdeps/x86_64/preconfigure: Regenerated.
59696 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59698         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
59699         __ILP32__.
59701 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
59703         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59704         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59706 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59708         [BZ #13973]
59709         * locale/iso-639.def: Fix gl language name. Spotted by
59710         Yaron Shahrabani.
59712 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59714         [BZ #2074]
59715         * libio/libio.h (__io_write_fn): Update comment.
59717 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59719         [BZ #2074]
59720         * stdio.texi (Hook Functions): The user provided writer function
59721         is not allowed to return -1.
59723 2012-04-11  David S. Miller  <davem@davemloft.net>
59725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59727 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59729         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59730         Add a leading slash to rtkaio.
59732 2012-04-11  Jim Meyering  <meyering@redhat.com>
59734         [BZ #11959]
59735         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59736         It is not necessarily an error to ignore fwrite's return
59737         value.  One can reliably use ferror to test for errors after
59738         the fact.
59740 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59742         * bits/types.h (__snseconds_t): New type.
59743         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59745         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59746         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59747         (__SNSECONDS_T_TYPE): Likewise.
59748         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59749         (__SNSECONDS_T_TYPE): Likewise.
59750         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59751         (__SNSECONDS_T_TYPE): Likewise.
59753 2012-04-10  Andreas Jaeger  <aj@suse.de>
59755         [BZ #2636]
59756         * manual/time.texi (Processor Time): Return type of times is
59757         elapsed real time since an arbitrary point in the past.
59758         (CPU Time): Move CLK_TCK from here...
59759         (Processor Time): ...to here.  Correct description.
59760         * manual/conf.texi (Constants for Sysconf): Correct description of
59761         _SC_CLK_TCK.
59763 2012-04-10  David S. Miller  <davem@davemloft.net>
59765         [BZ #13967]
59766         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59767         where the is a gap between DT_REL(A) and DT_JMPREL.
59769 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59771         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59772         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59773         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59775 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59777         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59778         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59779         (dl_main): Handle --inhibit-cache.
59780         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59781         _dl_inhibit_cache.
59782         * elf/dl-load.c (_dl_map_object): Use it.
59783         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59785 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59787         [BZ #13872]
59788         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59789         (__ieee754_powl): Saturate large exponents rather than testing for
59790         overflow of y*log2(x).
59791         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59792         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59793         exceptions.
59795         [BZ #11521]
59796         * math/s_ctan.c: Include <float.h>.
59797         (__ctan): Avoid internal overflow or cancellation in calculating
59798         denominator.
59799         * math/s_ctanf.c: Likewise.
59800         * math/s_ctanl.c: Likewise.
59801         * math/s_ctanh.c: Likewise.
59802         * math/s_ctanhf.c: Likewise.
59803         * math/s_ctanhl.c: Likewise.
59804         * math/libm-test.inc (ctan_test): Add more tests.
59805         (ctanh_test): Likewise.
59806         * sysdeps/i386/fpu/libm-test-ulps: Update.
59807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59809 2012-04-09  Andreas Jaeger  <aj@suse.de>
59811         [BZ #6894]
59812         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59813         is an optional BSD extension.
59815         [BZ #10254]
59816         * manual/stdio.texi (Opening Streams): Document additional fopen
59817         parameters.
59819 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59821         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59822         %eax without telling the compiler.
59824 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59826         [BZ # 13963]
59827         * manual/install.texi: Use sourceware.org.
59829 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59831         [BZ #13873]
59832         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59833         (__ieee754_pow): Generate overflow and underflow using huge*huge
59834         and tiny*tiny rather than just returning constant infinity or zero
59835         for large exponents.
59836         * math/libm-test.inc (pow_test): Require overflow exceptions for
59837         applicable cases of large exponents.
59839         [BZ #706]
59840         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59841         (__ieee754_pow): Use iterative multiplication algorithm only for
59842         integer exponents with absolute value below 1024.  Check for odd
59843         integer exponents when using algorithm for real exponents.
59844         * math/libm-test.inc (pow_test): Add more tests.
59845         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59847 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59849         [BZ #13705]
59850         * math/libm-test.inc (exp_test): Do not allow overflow exception
59851         on underflow test.
59853 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59855         [BZ #13705]
59856         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59857         instead of __kernel_standard_f.
59859 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59861         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59862         * sysdeps/x86_64/memset_chk.S: Likewise.
59864 2012-04-08  Andreas Jaeger  <aj@suse.de>
59866         [BZ #10153]
59867         * manual/startup.texi (Environment Access): Describe return value
59868         for putenv and setenv.
59870         [BZ #6895]
59871         * manual/filesys.texi (Directory Entries): Add description for
59872         DT_LNK.
59874         [BZ #6890]
59875         * manual/filesys.texi (Directory Entries): Clarify that it's file
59876         system not operating system in the description of DT_UNKNOWN.
59878         [BZ #6578]
59879         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59881 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59883         [BZ #6649]
59884         * manual/llio.texi (Opening and Closing Files): Add cross
59885         reference to explain mode argument.
59887 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59889         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59890         * sysdeps/x86_64/memset_chk.S: Likewise.
59892 2012-04-07  David S. Miller  <davem@davemloft.net>
59894         * elf/elf.h (R_SPARC_WDISP10): Define.
59895         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59896         R_SPARC_SIZE32.
59897         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59898         R_SPARC_SIZE64 and R_SPARC_H34.
59900 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59902         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59903         conditions and remove no longer applicable assertion.
59905 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59907         * bits/byteswap.h: Include <features.h>.
59908         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59909         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59911 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59913         * bits/byteswap.h (__bswap_16): Removed.
59914         Include <bits/byteswap-16.h> to get __bswap_16.
59915         * sysdeps/i386/bits/byteswap.h: Likewise.
59916         * sysdeps/s390/bits/byteswap.h: Likewise.
59917         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59918         * bits/byteswap-16.h: New file.
59919         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59920         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59921         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59922         * string/Makefile (headers): Add bits/byteswap-16.h.
59924 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59926         [BZ #13895]
59927         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59928         extra indirection.
59929         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59930         * nss/tst-nss-static.c: New.
59932 2012-04-06  Robert Millan  <rmh@gnu.org>
59934         [BZ #6486]
59935         * manual/llio.texi (File Position Primitive): lseek
59936         refers to WHENCE when it really means OFFSET.
59938 2012-04-06  Andreas Jaeger  <aj@suse.de>
59940         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59941         strncmp declarations.
59943         * abilist/libc.abilist: Add __poll and __ppoll.
59945 2012-04-05  David S. Miller  <davem@davemloft.net>
59947         * scripts/check-local-headers.sh: Accept a host triplet in the
59948         path matched by the exclude regexp.
59950         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59951         definition.
59952         * sysdeps/powerpc/powerpc32/dl-machine.h
59953         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59954         * sysdeps/s390/s390-32/dl-machine.h
59955         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59956         * sysdeps/sparc/sparc32/dl-machine.h
59957         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59958         * sysdeps/sparc/sparc64/dl-machine.h
59959         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59961         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59962         lazy binding.
59963         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59964         undefined symbol errors.
59966         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59967         DT_NEEDED entries.
59969 2012-04-05  Michael Matz  <matz@suse.de>
59971         [BZ #13592]
59972         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59974 2012-04-05  Andreas Jaeger  <aj@suse.de>
59976         [BZ #13908]
59977         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59978         comment.
59980 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59982         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59983         which ROUND is no valid rounding mode.
59985 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59987         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59988         read again.
59989         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59991 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59993         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59994         an exception using FPU order intentionally.
59996 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59998         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59999         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60000         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60001         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60003 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60005         [BZ #12340]
60006         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60007         EINVAL when BUFLEN is too smal.
60009 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60011         [BZ #13553]
60012         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60013         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60015 2012-04-03  Andreas Jaeger  <aj@suse.de>
60017         [BZ #13938]
60018         * manual/setjmp.texi (System V contexts): Fix sentence.
60020         [BZ #13926]
60021         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60022         New macro for this case.
60023         [!__GNUC__] (__bswap_64): New inline function for this case.
60024         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60025         * bits/byteswap.h: Likewise.
60026         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60027         ull, guard with __GLIBC_HAVE_LONG_LONG.
60029         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60030         __GLIBC_HAVE_LONG_LONG.
60032         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60033         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60035 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60037         [BZ #13691]
60038         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60039         inptr and inend, rather than using last_ch.
60041 2012-04-02  David S. Miller  <davem@davemloft.net>
60043         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60044         * stdio-common/printf-parse.h (read_int): Change return type to
60045         'int', return -1 on INT_MAX overflow.
60046         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60047         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60048         overflows INT_MAX.  Check for overflow of in-format-string precision
60049         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60050         SIZE_MAX not INT_MAX for integer overflow test.
60051         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60052         skip the construct in the format string but do not record anything.
60053         * stdio-common/bug22.c: Adjust to test both width/prevision
60054         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60055         explicitly for proper errno values.
60057 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60059         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60060         CHAR_MAX.
60061         * string/test-strcmp.c [! WIDE]: Likewise.
60062         * time/tst-mktime2.c: Likewise for INT_MAX.
60063         * string/test-string.h: #include <sys/param.h> for MIN.
60065         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60066         * sysdeps/i386/init-first.c (init): Likewise.
60067         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60068         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60069         * sysdeps/sh/init-first.c (init): Likewise.
60071 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60073         * po/ru.po: Update from translation team.
60074         * po/vi.po: Likewise.
60076 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60078         * resolv/nss_dns/dns-host.c: Merge copyright years.
60080 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60082         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60083         Optimize memcpy with prefetch if
60084         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60085         src, dst pointers have unequal 16 byte alignments.
60087 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60089         [BZ #13928]
60090         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60091         from a CNAME entry and return the minimum ttl for the query.
60092         (gaih_getanswer_slice): Likewise.
60094 2012-03-30  Jeff Law  <law@redhat.com>
60096         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60097         due to long keys.
60098         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60099         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60101         * resolv/nss_dns/dns-host.c: Update copyright year.
60103 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60105         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60106         requests to save a system call.  Fix check that all bytes are sent.
60108         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60109         comments for sendmmsg.
60111 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60113         [BZ #13691]
60114         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60115         with only 1 character between 0x0041 and 0x01b0.
60116         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60117         * wcsmbs/tst-mbsnrtowcs.c: New file.
60119 2012-03-29  David S. Miller  <davem@davemloft.net>
60121         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60122         small copies by hand.
60124 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60126         [BZ #13761]
60127         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60128         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60129         group memberships.
60131 2012-03-28  David S. Miller  <davem@davemloft.net>
60133         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60134         that branches into memcpy.
60135         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60136         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60137         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60138         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60140         bits.
60141         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60142         implementation too.
60143         * sysdeps/sparc/mempcpy.S: New file.
60145         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60146         the IFUNC routine in the libc case.
60147         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60149         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60150         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60151         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60152         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60153         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60154         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60155         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60156         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60158         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60159         loop to 256 bytes instead of 64 bytes and fix test signedness.
60161         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60162         * sysdeps/sparc/sparc32/Makefile: rather than here...
60163         * sysdeps/sparc/sparc64/Makefile: and here.
60165 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60167         * malloc/mallocbug.c: Avoid warnings about unused variables.
60169 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60171         [BZ #13760]
60172         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60173         in the right place. Discard and retry query if response is
60174         larger than input buffer size.
60176 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60178         [BZ #369]
60179         [BZ #2678]
60180         [BZ #3866]
60181         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60182         x for large integer exponent.
60183         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60184         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60185         sign of result as needed afterwards.
60186         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60187         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60188         result for underflowing pow the same as for overflow.
60189         (__kernel_standard_l): Handle powl overflow and underflow here
60190         rather than calling __kernel_standard.
60191         * math/libm-test.inc (pow_test): Add more tests.
60193         [BZ #3868]
60194         [BZ #13879]
60195         [BZ #13910]
60196         [BZ #13911]
60197         [BZ #13912]
60198         [BZ #13913]
60199         [BZ #13915]
60200         [BZ #13916]
60201         [BZ #13917]
60202         [BZ #13918]
60203         [BZ #13919]
60204         [BZ #13920]
60205         [BZ #13921]
60206         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60207         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60208         (__kernel_standard_l): New function.
60209         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60210         __kernel_standard.
60211         * math/w_acosl.c (__acosl): Likewise.
60212         * math/w_asinl.c (__asinl): Likewise.
60213         * math/w_atan2l.c (__atan2l): Likewise.
60214         * math/w_atanhl.c (__atanhl): Likewise.
60215         * math/w_coshl.c (__coshl): Likewise.
60216         * math/w_exp10l.c (__exp10l): Likewise.
60217         * math/w_exp2l.c (__exp2l): Likewise.
60218         * math/w_fmodl.c (__fmodl): Likewise.
60219         * math/w_hypotl.c (__hypotl): Likewise.
60220         * math/w_j0l.c (__j0l, __y0l): Likewise.
60221         * math/w_j1l.c (__j1l, __y1l): Likewise.
60222         * math/w_jnl.c (__jnl, __ynl): Likewise.
60223         * math/w_lgammal.c (__lgammal): Likewise.
60224         * math/w_log10l.c (__log10l): Likewise.
60225         * math/w_log2l.c (__log2l): Likewise.
60226         * math/w_logl.c (__logl): Likewise.
60227         * math/w_powl.c (__powl): Likewise.
60228         * math/w_remainderl.c (__remainderl): Likewise.
60229         * math/w_scalbl.c (sysv_scalbl): Likewise.
60230         * math/w_sinhl.c (__sinhl): Likewise.
60231         * math/w_sqrtl.c (__sqrtl): Likewise.
60232         * math/w_tgammal.c (__tgammal): Likewise.
60233         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60234         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60235         * math/libm-test.inc (acos_test): Add more tests.
60236         (acosh_test): Likewise.
60237         (asin_test): Likewise.
60238         (atanh_test): Likewise.
60239         (exp_test): Likewise.
60240         (exp10_test): Likewise.
60241         (exp2_test): Likewise.
60242         (expm1_test): Likewise.
60243         (lgamma_test): Likewise.
60244         (log_test): Likewise.
60245         (log10_test): Likewise.
60246         (log1p_test): Likewise.
60247         (log2_test): Likewise.
60248         (pow_test): Do not allow some spurious overflow exceptions.
60249         (sqrt_test): Add more tests.
60250         (tgamma_test): Likewise.
60251         (y0_test): Likewise.
60252         (y1_test): Likewise.
60253         (yn_test): Likewise.
60255 2012-03-27  Anton Blanchard  <anton@samba.org>
60257         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60258         MAP_HUGETLB.
60259         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60260         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60261         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60263 2012-03-27  David S. Miller  <davem@davemloft.net>
60265         * conform/Makefile: Run run-conformtest.sh using $(BASH).
60267         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60268         have-as-vis3 check.
60270 2012-03-27  Andreas Jaeger  <aj@suse.de>
60272         * sysdeps/x86_64/elf/configure.in: Moved to ...
60273         * sysdeps/x86_64/configure.in: ... here.
60274         * sysdeps/x86_64/elf/start.S: Moved to ...
60275         * sysdeps/x86_64/start.S: ... here.
60276         * sysdeps/x86_64/elf/configure: Delete.
60278         * sysdeps/x86_64/configure.in: Merge contents from
60279         sysdeps/i386/configure.in (without i686 check).
60281         * sysdeps/i386/elf/Versions: Merge into ...
60282         * sysdeps/i386/Versions: ... this.
60283         * sysdeps/i386/elf/Versions: Delete file.
60284         * sysdeps/i386/elf/start.S: Moved to ...
60285         * sysdeps/i386/start.S: ...here.
60286         * sysdeps/i386/elf/configure.in: Merge into...
60287         * sysdeps/i386/configure.in: ...here.
60288         * sysdeps/i386/elf/configure.in: Delete file.
60289         * sysdeps/i386/elf/configure: Delete file.
60291         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60292         * debug/backtracesyms.c: ... here.
60293         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60294         * debug/backtracesymsfd.c: ... here.
60295         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60296         * sysdeps/generic/ifunc-sel.h: ... here.
60298         * sysdeps/unix/i386/start.c: Delete file.
60299         * sysdeps/unix/sparc/start.c: Delete file.
60300         * sysdeps/unix/start.c: Delete file.
60302         * sysdeps/sh/elf/configure.in: Moved to ...
60303         * sysdeps/sh/configure.in: ... here.
60304         * sysdeps/sh/elf/start.S: Moved to ...
60305         * sysdeps/sh/start.S: ... here.
60306         * sysdeps/sh/elf/configure: Delete file.
60308         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60309         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60310         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60311         * sysdeps/powerpc/powerpc64/entry.h: ... here.
60312         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60313         * sysdeps/powerpc/powerpc64/start.S: here.
60314         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60315         * sysdeps/powerpc/powerpc64/Makefile: ... this.
60316         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60317         * sysdeps/powerpc/powerpc64/configure.in: ... this.
60318         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60320         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60321         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60322         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60323         * sysdeps/powerpc/powerpc32/start.S: ... here.
60324         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60325         * sysdeps/powerpc/powerpc32/configure.in: ... this.
60326         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60328         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60329         * sysdeps/powerpc/ifunc-sel.h: ... here.
60330         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60331         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60333         * sysdeps/sparc/elf/configure.in: Moved to ...
60334         * sysdeps/sparc/configure.in: ... here.
60335         * sysdeps/sparc/elf/configure: Delete file.
60336         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60337         * sysdeps/sparc/sparc32/start.S: ... here.
60338         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60339         * sysdeps/sparc/sparc64/start.S: ... here.
60340         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60341         * sysdeps/sparc/sparc32/Makefile: ... this.
60342         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60343         * sysdeps/sparc/sparc64/Makefile: ... this.
60345         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60346         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60347         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60348         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60349         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60350         * sysdeps/s390/s390-32/setjmp.S: ... here.
60351         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60352         * sysdeps/s390/s390-32/configure.in: ... here.
60353         * sysdeps/s390/s390-32/elf/configure: Delete file.
60354         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60355         * sysdeps/s390/s390-32/start.S: ... here.
60357         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60358         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60359         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60360         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60361         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60362         * sysdeps/s390/s390-64/setjmp.S: ... here.
60363         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60364         * sysdeps/s390/s390-64/configure.in: ... here
60365         * sysdeps/s390/s390-64/elf/configure: Delete file.
60366         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60367         * sysdeps/s390/s390-64/start.S: ... here.
60368         * sysdeps/s390/s390-64/elf/configure: Delete.
60370         * configure.in: Remove support for elf directories in sysdeps.
60372         * configure: Regenerated.
60373         * sysdeps/i386/configure: Regenerated.
60374         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60375         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60376         * sysdeps/s390/s390-32/configure: Regenerated.
60377         * sysdeps/s390/s390-64/configure: Regenerated.
60378         * sysdeps/sh/configure: Regenerated.
60379         * sysdeps/sparc/configure: Regenerated.
60380         * sysdeps/x86_64/configure: Regenerated.
60382 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
60384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60386         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60387         denormal result into account.
60389 2012-03-25  Roland McGrath  <roland@hack.frob.com>
60391         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60392         Reported by Allan McRae <allan@archlinux.org>.
60394 2012-03-23  Jeff Law  <law@redhat.com>
60396         * nss/getnssent.c (__nss_getent): Fix typo.
60398 2012-03-23  David S. Miller  <davem@davemloft.net>
60400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60402 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
60404         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60405         to pad to uint64_t for each field.
60406         (dl_tls_index): Replace unsigned long with uint64_t.
60408 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
60409         Paul Pluzhnikov  <ppluzhnikov@google.com>
60411         [BZ #6528]
60412         * grp/Makefile (otherlibs): Don't set it.
60413         * inet/Makefile (otherlibs): Likewise.
60414         * login/Makefile (otherlibs): Likewise.
60415         * nscd/Makefile (otherlibs): Likewise.
60416         * posix/Makefile (otherlibs): Likewise.
60417         * pwd/Makefile (otherlibs): Likewise.
60418         * rt/Makefile (otherlibs): Likewise.
60419         * sunrpc/Makefile (otherlibs): Likewise.
60420         * nss/Makefile (otherlibs): Likewise.
60421         Add libnss_files to routines and static-only-routines.
60422         ($(objpfx)getent): Remove rule.
60423         * resolv/Makefile: Add libnss_dns and libresolv to routines and
60424         static-only-routines.
60426 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60428         [BZ #13892]
60429         * math/s_cexp.c: Include <float.h>.
60430         (__cexp): Handle exp result overflowing not necessarily
60431         overflowing both real and imaginary parts of result.
60432         * math/s_cexpf.c: Likewise.
60433         * math/s_cexpl.c: Likewise.
60434         * math/libm-test.inc (cexp_test): Add more tests.
60435         * sysdeps/i386/fpu/libm-test-ulps: Update.
60436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60438 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60440         * include/link.h (ELFW): New macro.
60441         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60442         Replace ELF64_R_TYPE with ELFW(R_TYPE).
60444 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60446         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60447         with uint64_t.
60449 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60451         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60452         declaration.
60453         (struct La_x32_retval): Likewise.
60455 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60457         * sysdeps/x86_64/preconfigure.in: New file.
60458         * sysdeps/x86_64/preconfigure: New generated file.
60460 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60462         [BZ #13824]
60463         * math/e_exp2l.c: Include <float.h>.
60464         (__ieee754_exp2l): Handle overflow and underflow cases
60465         separately.  Only pass fractional part of argument to
60466         __ieee754_expl.
60467         * math/libm-test.inc (exp2_test): Add more tests.
60469         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60470         negating x to take absolute value.
60471         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60472         Likewise.
60473         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60474         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60475         Likewise.
60476         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60477         computing low part if x was negated.
60478         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60480 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60482         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60483         la_x32_gnu_pltexit.
60484         (pltexit): Cast int_retval to ptrdiff_t.
60485         * elf/tst-auditmod3b.c: Likewise.
60486         * elf/tst-auditmod4b.c: Likewise.
60487         * elf/tst-auditmod5b.c: Likewise.
60488         * elf/tst-auditmod6b.c: Likewise.
60489         * elf/tst-auditmod6c.c: Likewise.
60490         * elf/tst-auditmod7b.c: Likewise.
60492         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60493         and x32_gnu_pltexit.
60495         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60496         __ELF_NATIVE_CLASS.
60497         (La_x32_regs): New macro.
60498         (La_x32_retval): Likewise.
60499         (la_x32_gnu_pltenter): New function prototype.
60500         (la_x32_gnu_pltexit): Likewise.
60502 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
60504         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60505         exponent.
60507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60509         * configure.in (libc_cv_cc_nofma): Check for option to disable
60510         generation of FMA instructions.
60511         * configure: Regenerate.
60512         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60513         * sysdeps/ieee754/dbl-64/Makefile: New file.
60514         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
60515         Remove brandred-fma4.
60516         (CFLAGS-brandred-fma4.c): Remove.
60517         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
60518         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
60519         define.
60520         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
60521         define.
60523 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60525         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60526         LLONG_MAX != LONG_MAX.
60527         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60528         (_fitoa_word): Likewise.
60529         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
60530         LLONG_MAX != LONG_MAX.
60531         * stdio-common/_itowa.h: Include <_itoa.h>.
60532         (_itowa_word): Use _ITOA_WORD_TYPE on value.
60533         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
60534         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
60535         only if not defined.
60536         (_ITOA_WORD_TYPE): Likewise.
60537         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60538         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60540 2012-03-21  David S. Miller  <davem@davemloft.net>
60542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60544 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60546         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
60547         of x86_64 when setting libc_cv_slibdir, libdir and
60548         libc_cv_localedir.
60549         * sysdeps/unix/sysv/linux/configure: Regenerated.
60551 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60553         * manual/lang.texi (Old Varargs): Remove section.
60554         (How Variadic): Update menu.
60555         (va_start): Do not mention varargs.h.
60557 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60558             Joseph Myers  <joseph@codesourcery.com>
60560         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
60561         link test.
60562         * configure: Regenerated.
60564 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60566         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
60567         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
60568         conformtest.pl
60570 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60572         * NOTES: Remove.
60573         * Makefile (files-for-dist): Remove NOTES.
60574         (NOTES): Remove rule.
60575         * README: Don't refer to NOTES.
60576         * manual/creature.texi: Don't include macros.texi.
60577         * manual/intro.texi (creature.texi): Remove comment referring to
60578         NOTES.
60580         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
60581         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
60582         * configure: Regenerated.
60583         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
60584         LIBC_TRY_CC_OPTION.
60585         (libc_cv_as_i686): Likewise.
60586         (libc_cv_cc_avx): Likewise.
60587         (libc_cv_cc_sse2avx): Likewise.
60588         (libc_cv_cc_fma4): Likewise.
60589         (libc_cv_cc_novzeroupper): Likewise.
60590         * sysdeps/i386/configure: Regenerated.
60592         [BZ #13883]
60593         * sysdeps/i386/fpu/s_cexp.S: Remove.
60594         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60595         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60596         * math/libm-test.inc (cexp_test): Add more tests.
60597         * sysdeps/i386/fpu/libm-test-ulps: Update.
60598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60600 2012-03-21  Allan McRae  <allan@archlinux.org>
60602         * timezone/Makefile: Do not install iso3166.tab and zone.tab
60604 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60606         [BZ #13871]
60607         * math/w_exp2.c: Do not include <float.h>.
60608         (o_threshold, u_threshold): Remove.
60609         (__exp2): Calculate result before checking finiteness and calling
60610         __kernel_standard.
60611         * math/w_exp2f.c: Likewise.
60612         * math/w_exp2l.c: Likewise.
60613         * math/libm-test.inc (exp2_test): Require overflow exception for
60614         1e6 input.
60616         [BZ #3866]
60617         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60618         range of signed 64-bit integers before using fistpll.  Remove
60619         checks for whether integers fit in mantissa bits.
60620         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60621         the range of signed 32-bit integers before using fistpl.  Remove
60622         checks for whether integers fit in mantissa bits.
60623         * sysdeps/i386/fpu/e_powl.S (p64): New object.
60624         (__ieee754_powl): Test for y outside the range of signed 64-bit
60625         integers before using fistpll.  Reduce 64-bit values to 63-bit
60626         ones as needed.
60627         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60628         divide-by-zero is raised for zero to large negative powers.
60629         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60630         (__ieee754_powl): Test for y outside the range of signed 64-bit
60631         integers before using fistpll.  Reduce 64-bit values to 63-bit
60632         ones as needed.
60633         * math/libm-test.inc (pow_test): Add more tests.
60635 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60637         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60638         <stdio-common/_itoa.h>.
60639         * debug/segfault.c: Likewise.
60640         * elf/dl-cache.c: Likewise.
60641         * elf/dl-minimal.c: Likewise.
60642         * elf/dl-misc.c: Likewise.
60643         * elf/dl-sysdep.c: Likewise.
60644         * elf/dl-version.c: Likewise.
60645         * elf/rtld.c: Likewise.
60646         * hurd/hurdsock.c: Likewise.
60647         * hurd/lookup-retry.c: Likewise.
60648         * malloc/malloc.c: Likewise.
60649         * malloc/mtrace.c: Likewise.
60650         * nscd/nscd_getgr_r.c: Likewise.
60651         * nscd/nscd_getpw_r.c: Likewise.
60652         * nscd/nscd_getserv_r.c: Likewise.
60653         * posix/getopt_init.c: Likewise.
60654         * posix/wordexp.c: Likewise.
60655         * stdio-common/_itoa.c: Likewise.
60656         * stdio-common/printf_fphex.c: Likewise.
60657         * stdio-common/vfprintf.c: Likewise.
60658         * string/_strerror.c: Likewise.
60659         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
60660         * sysdeps/i386/i686/hp-timing.h: Likewise.
60661         * sysdeps/mach/_strerror.c: Likewise.
60662         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
60663         * sysdeps/mach/hurd/sethostid.c: Likewise.
60664         * sysdeps/mach/hurd/xmknodat.c: Likewise.
60665         * sysdeps/mach/xpg-strerror.c: Likewise.
60666         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60667         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60668         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
60669         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
60670         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60671         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
60672         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60673         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
60674         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
60675         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
60676         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
60677         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60678         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
60679         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60680         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60681         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
60682         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
60683         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
60684         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
60685         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
60686         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
60688         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
60690         * stdio-common/_itoa.h: Moved to ...
60691         * sysdeps/generic/_itoa.h: Here.
60693         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
60695         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
60696         instead of "_itoa.h" and "_itowa.h".
60697         * stdio-common/vfprintf.: Likewise.
60699 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60701         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60702         <bits/wordsize.h>.
60703         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60704         (__signbit): Likwise.
60705         (llrintf): Likwise.
60706         (llrint): Likwise.
60708 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60710         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60711         __WORDSIZE != 64.
60713 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60715         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60716         OVERFLOW_EXCEPTION_OK.
60717         * math/libm-test.inc ("Philosophy"): Update comment about
60718         exception testing.
60719         (OVERFLOW_EXCEPTION): Define.
60720         (OVERFLOW_EXCEPTION_OK): Likewise.
60721         (INVALID_EXCEPTION_OK): Renumber.
60722         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60723         (IGNORE_ZERO_INF_SIGN): Likewise.
60724         (test_exceptions): Handle FE_OVERFLOW.
60725         (exp10_test): Expect overflow exceptions.
60726         (exp2_test): Likewise.
60727         (expm1_test): Likewise.
60728         (nextafter_test): Likewise.
60729         (pow_test): Likewise.
60730         (scalbn_test): Likewise.
60731         (scalbln_test): Likewise.
60733 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60735         * sysdeps/x86_64/bits/atomic.h
60736         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60737         64bit integer.
60738         (atomic_exchange_acq): Likewise.
60739         (__arch_exchange_and_add_body): Likewise.
60740         (__arch_add_body): Likewise.
60741         (atomic_add_negative): Likewise.
60742         (atomic_add_zero): Likewise.
60744 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60746         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60747         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60749 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60751         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60752         Check __x86_64__ instead of __WORDSIZE.
60754 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60756         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60758 2012-03-19  David S. Miller  <davem@davemloft.net>
60760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60762         * sysdeps/sparc/fpu/fenv_private.h: New file.
60763         * sysdeps/sparc/fpu/math_private.h: Use it.
60764         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60765         Remove.
60766         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60767         (libc_feholdexcept_setroundl): Remove.
60768         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60769         Remove.
60770         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60771         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60773 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60775         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60776         int64_t instead of long int.
60777         (INSERT_WORDS64): Likwise.
60779 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60781         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60782         _Unwind_GetCFA return to _Unwind_Ptr first.
60784 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60786         [BZ #13629]
60787         * math/s_clog.c: Include <float.h>.
60788         (__clog): Scale large or subnormal inputs.
60789         * math/s_clogf.c: Likewise.
60790         * math/s_clogl.c: Likewise.
60791         * math/s_clog10.c: Include <float.h>.
60792         (M_LOG10_2): Define.
60793         (__clog10): Scale large or subnormal inputs.
60794         * math/s_clog10f.c: Likewise.
60795         * math/s_clog10l.c: Likewise.
60796         * math/libm-test.inc (clog_test): Add more tests.
60797         (clog10_test): Likewise.
60798         * sysdeps/i386/fpu/libm-test-ulps: Update.
60799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60801         [BZ #11451]
60802         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60803         x and y.
60804         * math/libm-test.inc (atan2_test): Add another test.
60806         * Makerules (common-objdir-compile): Remove.
60807         * sysdeps/unix/Makefile (config-generated): Do not add
60808         $(unix-generated) to variable.
60809         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60810         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60811         Remove rule.
60812         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60813         Likewise.
60814         [generic bits/local_lim.h] (before-compile): Do not append to
60815         variable.
60816         [generic bits/local_lim.h] (common-generated): Likewise.
60817         [generic sys/param.h] (before-compile): Do not append to variable.
60818         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60819         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60820         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60821         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60822         include.
60823         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60824         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60825         [generic sys/param.h] ($(addprefix
60826         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60827         [generic sys/param.h] (common-generated): Do not append to
60828         variable.
60829         [generic sys/param.h] (sysdep_headers): Likewise.
60830         [generic bits/errno.h] (before-compile): Do not append to
60831         variable.
60832         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60833         rule.
60834         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60835         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60836         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60837         [generic bits/errno.h] (common-generated): Do not append to
60838         variable.
60839         [generic bits/ioctls.h] (before-compile): Do not append to
60840         variable.
60841         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60842         rule.
60843         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60844         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60845         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60846         rule.
60847         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60848         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60849         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60850         [generic bits/ioctls.h] (common-generated): Do not append to
60851         variable.
60852         [generic sys/syscall.h] (syscall.h): Remove variable.
60853         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60854         rule.
60855         [generic sys/syscall.h] (before-compile): Do not append to
60856         variable.
60857         [generic sys/syscall.h] (common-generated): Likewise.
60858         * sysdeps/unix/errnos-tmpl.c: Remove file.
60859         * sysdeps/unix/errnos.awk: Likewise.
60860         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60861         * sysdeps/unix/ioctls.awk: Likewise.
60862         * sysdeps/unix/mk-local_lim.c: Likewise.
60863         * sysdeps/unix/snarf-ioctls: Likewise.
60865 2012-03-19  Richard Henderson  <rth@twiddle.net>
60867         * sysdeps/i386/fpu/fenv_private.h: New file.
60868         * sysdeps/i386/fpu/math_private.h: Use it.
60869         (math_opt_barrier, math_force_eval): Remove.
60870         (libc_feholdexcept_setround_53bit): Remove.
60871         (libc_feupdateenv_53bit): Remove.
60872         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60873         (math_opt_barrier, math_force_eval): Remove.
60874         (libc_feholdexcept): Remove.
60875         (libc_feholdexcept_setround): Remove.
60876         (libc_fetestexcept, libc_fesetenv): Remove.
60877         (libc_feupdateenv_test): Remove.
60878         (libc_feupdateenv, libc_feholdsetround): Remove.
60879         (libc_feresetround): Remove.
60881         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60882         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60884         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60885         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60886         (libc_feupdateenv_testl): New.
60887         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60888         (libc_feupdateenv_testf): New.
60889         (libc_feupdateenv): Use libc_feupdateenv_test.
60890         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60891         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60893         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60894         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60895         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60896         (libc_feresetround_noex): New.
60897         (libc_feresetround_noexf): New.
60898         (libc_feresetround_noexl): New.
60899         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60900         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60901         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60902         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60903         SET_RESTORE_ROUND.
60904         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60905         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60906         (__cos): Likewise.
60907         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60908         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60909         SET_RESTORE_ROUND_NOEX.
60910         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60911         SET_RESTORE_ROUND_NOEXF.
60912         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60913         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60914         (libc_feholdsetroundf): New.
60915         (libc_feresetround, libc_feresetroundf): New.
60917         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60918         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60919         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60921         * sysdeps/generic/math_private.h: Include <fenv.h>.
60922         (default_libc_feholdexcept): New.
60923         (default_libc_feholdexcept_setround): New.
60924         (default_libc_fesetenv, default_libc_feupdateenv): New.
60925         (libc_feholdexcept): Only define if undefined.
60926         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60927         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60928         (libc_feholdexcept_setroundl): Likewise.
60929         (libc_feholdexcept_setround_53bit): Likewise.
60930         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60931         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60932         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60933         (libc_feupdateenv_53bit): Likewise.
60934         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60935         (libc_feholdexcept): Convert from macro to inline function.
60936         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60937         (libc_fesetenv, libc_feupdateenv): Likewise.
60939         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60940         not previously defined.
60941         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60942         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60943         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60944         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60945         * sysdeps/ieee754/flt-32/math_private.h: New file.
60946         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60947         math_private.h below SET_FLOAT_WORD.
60948         (__isnan, __isinf_ns, __finite): Remove.
60949         (__isnanf, __isinf_nsf, __finitef): Remove.
60951 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60955 2012-03-17  David S. Miller  <davem@davemloft.net>
60957         [BZ #6471]
60958         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60959         for 2.16.
60961 2012-03-16  David S. Miller  <davem@davemloft.net>
60963         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60964         warnings.
60966         [BZ #6471]
60967         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60968         properly.
60969         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60970         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60971         sysdep_routines when subdir is sysvipc.
60972         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60973         __getshmlba helper.
60975         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60977 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60979         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60980         [__LP64__].
60982 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60984         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60985         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60986         (__lround): Renamed to ...
60987         (__llround): This.  Replace long int with long long int.
60988         Define lround functions as aliases of llround functions.
60989         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60991 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60993         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60994         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60995         adresses to uintptr_t.  Replace "long int" and "unsigned long
60996         int" with "greg_t" on va_arg.
60998 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61000         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61001         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61003         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61004         Move e_machine check before EI_CLASS check.  Handle x32
61005         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61006         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61007         SKIP_EM_IA_64 and include
61008         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61010         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61011         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61012         (add_system_dir): New macro.
61014         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61015         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61017 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61019         [BZ #2551]
61020         [BZ #2552]
61021         [BZ #2553]
61022         [BZ #2554]
61023         [BZ #2562]
61024         [BZ #2563]
61025         [BZ #2565]
61026         [BZ #2566]
61027         [BZ #2576]
61028         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61029         (y0): Likewise.
61030         * math/w_j0f.c (j0f): Likewise.
61031         (y0f): Likewise.
61032         * math/w_j0l.c (__j0l): Likewise.
61033         (__y0l): Likewise.
61034         * math/w_j1.c (j1): Likewise.
61035         (y1): Likewise.
61036         * math/w_j1f.c (j1f): Likewise.
61037         (y1f): Likewise.
61038         * math/w_j1l.c (__j1l): Likewise.
61039         (__y1l): Likewise.
61040         * math/w_jn.c (jn): Likewise.
61041         (yn): Likewise.
61042         * math/w_jnf.c (jnf): Likewise.
61043         (ynf): Likewise.
61044         * math/w_jnl.c (__jnl): Likewise.
61045         (__ynl): Likewise.
61046         * math/libm-test.inc (j0_test): Add more tests.
61047         (j1_test): Likewise.
61048         (jn_test): Likewise.  Add trailing semicolon to existing test.
61049         (y0_test): Likewise.
61050         (y1_test): Likewise.
61051         * sysdeps/i386/fpu/libm-test-ulps: Update.
61052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61054         [BZ #13851]
61055         [BZ #13854]
61056         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61057         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61058         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61059         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61060         (__tanl): Set errno for infinite argument.
61061         * sysdeps/i386/fpu/mptan.c: Remove.
61062         * sysdeps/i386/fpu/s_tan.S: Likewise.
61063         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61064         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61065         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61066         * math/libm-test.inc (tan_test): Add more tests and enable more
61067         tests for double and long double.
61068         * sysdeps/i386/fpu/libm-test-ulps: Update.
61069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61071 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61073         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61074         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61076 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61078         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61079         * configure.in: Use it for both main tree and add-ons.
61080         * configure: Regenerated.
61082 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61084         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61086 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61088         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61089         in comment.
61091         [BZ #13851]
61092         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61093         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61094         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61095         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61096         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61097         infinite argument.
61098         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61099         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61100         != 0 for prec == 2.
61101         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61102         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61103         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61104         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61105         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61106         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61107         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61108         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61109         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61110         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61111         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61112         * math/libm-test.inc (cos_test): Add more tests and enable more
61113         tests for long double.
61114         (sin_test): Likewise.
61115         (sincos_test): Likewise.
61116         * sysdeps/i386/fpu/libm-test-ulps: Update.
61117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61119 2012-03-16  David S. Miller  <davem@davemloft.net>
61121         * sysdeps/sparc/fpu/math_private.h: New file.
61123 2012-03-15  David S. Miller  <davem@davemloft.net>
61125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61126         file.
61127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61129         file.
61130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61135         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61136         sysdep routines.
61137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61139         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61140         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61142         * sysdeps/sparc/sparc-ifunc.h: New file.
61143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61144         sparc-ifunc.h
61145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61147         Likewise.
61148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61149         Likewise.
61150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61154         Likewise.
61155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61160         Likewise.
61161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61162         Likewise.
61163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61167         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61169         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61170         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61177         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61178         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61179         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61180         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61181         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61182         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61183         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61184         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61185         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61186         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61188 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61190         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61191         scaling.
61192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61194 2012-03-15  Andreas Jaeger  <aj@suse.de>
61196         [BZ #13852]
61197         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61198         ieee754/flt-32 implementation for sin, cos and sincos.
61199         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61200         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61201         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61202         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61203         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61204         ieee754/flt-32 implementation for tan.
61206         * math/libm-test.inc (cos_test): Enable some large input tests for
61207         float as well
61208         (sin_test): Likewise.
61209         (sincos_test): Likewise.
61210         (tan_test): Add tests for large input.
61212         * sysdeps/i386/fpu/libm-test-ulps: Update.
61214 2012-03-15  Andreas Jaeger  <aj@suse.de>
61216         [BZ #13658]
61217         * math/libm-test.inc (cos_test): Add more test cases.
61218         (sin_test): Likewise.
61219         (sincos_test): Likewise.
61221 2012-03-15  Andreas Jaeger  <aj@suse.de>
61223         [BZ #13837]
61224         * math/libm-test.inc (cos_test): Add a test case for large input
61225         value.
61226         (sin_test): Likewise.
61227         (sincos_test): Likewise.
61229 2012-03-15  Andreas Jaeger  <aj@suse.de>
61230             Joseph Myers  <joseph@codesourcery.com>
61232         [BZ #13658]
61233         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61234         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61235         * sysdeps/i386/fpu/branred.c: Likewise.
61236         * sysdeps/i386/fpu/dosincos.c: Likewise.
61237         * sysdeps/i386/fpu/mpa.c: Likewise.
61238         * sysdeps/i386/fpu/s_cos.S: Likewise.
61239         * sysdeps/i386/fpu/s_sin.S: Likewise.
61240         * sysdeps/i386/fpu/s_sincos.S: Likewise.
61241         * sysdeps/i386/fpu/sincos32.c: Likewise.
61243         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61244         Define.
61245         (libc_feupdateenv_53bit): Define.
61246         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61247         Define.
61248         (libc_feupdateenv_53bit): Define.
61250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61251         53 bit (without extend i386 double precision).
61253         * math/libm-test.inc (sincos_test): Add tests for large input.
61254         (sin): Likewise.
61255         (cos): Likewise.
61257         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61259 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61263 2012-03-15  David S. Miller  <davem@davemloft.net>
61265         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61266         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61267         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61268         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61278         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61279         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61281         file.
61282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61284         file.
61285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61287         file.
61288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61290         file.
61291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61292         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61293         fmin/fmax sysdep routines.
61294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61296 2012-03-14  David S. Miller  <davem@davemloft.net>
61298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61302         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61303         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61304         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61305         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61306         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61313         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61314         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61315         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61316         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61317         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61318         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61319         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61320         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61321         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61322         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61323         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61324         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61325         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61326         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61327         routines.
61328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61329         file.
61330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61332         file.
61333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61335         file.
61336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61338         file.
61339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61341         file.
61342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61344         file.
61345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61346         file.
61347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61348         file.
61349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61350         file.
61351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61352         New file.
61353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61354         file.
61355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61356         file.
61357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61359         file.
61360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61362         file.
61363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61365         file.
61366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61368         VIS3 routines.
61370         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61371         New file.
61373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61375         * sysdeps/sparc/configure.in: New file.
61376         * sysdeps/sparc/configure: Generate.
61377         * configure.in (libc_cv_sparc_as_vis3): Substitute.
61378         * configure: Regenerate.
61379         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61380         * config.make.in (have-as-vis3): New.
61381         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61382         available use -Av9d instead of -Av9a.
61383         * sysdeps/sparc/sparc64/Makefile: Likewise.
61384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61386         New file.
61387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61388         file.
61389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61390         New file.
61391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61392         file.
61393         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61394         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61395         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61396         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61397         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61399         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61400         fzeros/fnegs to load 0x80000000 into a float register instead of
61401         using the stack.
61402         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61404 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61406         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61407         bits/syscall.h.
61408         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61409         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61410         ($(inst_includedir)/bits/syscall.h): Remove rule.
61411         ($(objpfx)bits/syscall.d): Include instead of
61412         $(objpfx)syscall-list.d.
61413         (generated): Change syscall-list.h and syscall-list.d to
61414         bits/syscall.h and bits/syscall.d.
61416 2012-03-14  Roland McGrath  <roland@hack.frob.com>
61418         [BZ #13846]
61419         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61421 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61423         [BZ #13841]
61424         * math/s_csqrt.c: Include <float.h>.
61425         (__csqrt): Scale large or subnormal inputs.
61426         * math/s_csqrtf.c: Likewise.
61427         * math/s_csqrtl.c: Likewise.
61428         * math/libm-test.inc (csqrt_test): Add more tests.
61429         * sysdeps/i386/fpu/libm-test-ulps: Update.
61430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61432         [BZ #13840]
61433         * math/libm-test.inc (hypot_test): Add more tests.
61435 2012-03-13  David S. Miller  <davem@davemloft.net>
61437         [BZ #13840]
61438         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61439         double-precision for the calculation instead of scaling.
61441 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
61443         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61444         manipulate bits before adding and subtracting TWO52[sx].
61445         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61446         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61447         Likewise.
61448         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61450 2012-03-13  David S. Miller  <davem@davemloft.net>
61452         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61453         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61454         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61455         rtld-global-offsets.h
61456         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61458         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61459         large parameters.
61461         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61463         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61464         'err' in the ifdef scope in which it is actually used.
61466         * nss/nss_db/db-init.c: Include string.h
61468 2012-03-12  David S. Miller  <davem@davemloft.net>
61470         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61471         masking out of the most significant byte of random value used.
61472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61473         Fix coding style in previous change.
61475         * sysdeps/unix/sysv/linux/kernel-features.h
61476         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61477         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61478         expression.
61479         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61480         later.
61482 2012-03-11  David S. Miller  <davem@davemloft.net>
61484         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61485         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61486         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61487         for 'resultvar' otherwise things get truncated on 64-bit.
61489         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61490         Fix masking out of the most significant byte of random value used.
61492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61494 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
61496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61498 2012-03-09  David S. Miller  <davem@davemloft.net>
61500         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61501         variables with appropriate CPP guards.
61502         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61503         from the frame pointer, not the stack pointer.  Correct layout
61504         comments.  Fix test on resulting framesize and the management of
61505         the outregs buffer for pltexit.  Preserve floating point return
61506         values across _dl_call_pltexit call.
61507         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61508         framesize and the management of the outregs buffer for pltexit.
61509         Preserve floating point return values across _dl_call_pltexit
61510         call.
61511         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61512         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61513         (la_sparc64_gnu_pltexit): New functions.
61514         (print_exit): Fix format string for return register value.
61516 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
61518         * sunrpc/Makefile (others): Add rpcgen.
61519         ($(objpfx)rpcgen): Remove special build rule and dependency on
61520         libc.
61521         * sunrpc/rpcgen.c: New file.
61523 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
61525         [BZ #13673]
61526         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
61527         * stdio-common/bug-vfprintf-nargs.c: Likewise.
61528         * sysdeps/i386/crti.S: Likewise.
61529         * sysdeps/i386/crtn.S: Likewise.
61530         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
61531         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
61532         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
61533         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
61534         * sysdeps/sh/crti.S: Likewise.
61535         * sysdeps/sh/crtn.S: Likewise.
61536         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61538         [BZ #13673]
61539         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
61540         with URL.
61541         * locale/programs/locfile-kw.gperf: Likewise.
61542         * locale/programs/charmap-kw.h: Regenerated.
61543         * locale/programs/locfile-kw.h: Likewise.
61545         [BZ #13673]
61546         * intl/plural.y: Replace FSF snail mail address with URL.
61547         * intl/plural.c: Regenerated.
61549 2012-03-09  Richard Henderson  <rth@twiddle.net>
61551         * include/math_private.h: Remove file.
61552         * math/math_private.h: Move file ...
61553         * sysdeps/generic/math_private.h: ... here.
61555         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61556         * sysdeps/powerpc/fpu/math_private.h: Likewise.
61557         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61559         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
61560         and <math_private.h>.
61561         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61562         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61563         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61564         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61565         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61566         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61567         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61568         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61569         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61570         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61571         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61572         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61573         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61574         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61575         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61576         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61577         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61578         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61579         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61580         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61581         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61582         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61583         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61584         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61585         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61586         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61587         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61588         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61589         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61590         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61591         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61592         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61593         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61594         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61595         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61596         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61597         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61598         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61599         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61600         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61601         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61602         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61603         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61604         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61605         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61606         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61607         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61608         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61609         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61610         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61611         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61612         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61613         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61614         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61615         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61616         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61617         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61618         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61619         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61620         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61621         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61622         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61623         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61624         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61625         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61626         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61627         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61628         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61629         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61630         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61631         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61632         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61633         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61634         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61635         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61636         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61637         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61638         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61639         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61640         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
61641         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61642         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
61643         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61644         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61645         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61646         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
61647         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
61648         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
61649         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61650         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61651         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61652         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61653         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61654         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61655         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61656         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61657         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61658         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61659         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61660         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61661         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61662         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61663         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61664         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61665         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61666         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61667         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61668         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61669         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61670         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61671         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61672         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61673         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61674         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61675         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
61676         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61677         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61678         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61679         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61680         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61681         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61682         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61683         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61684         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
61685         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61686         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61687         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61688         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
61689         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61690         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
61691         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
61692         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61693         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61694         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
61695         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
61696         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61697         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61698         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61699         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61700         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61701         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61702         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61703         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61704         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61705         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61706         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61707         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61708         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61709         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61710         * sysdeps/ieee754/k_standard.c: Likewise.
61711         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61712         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61713         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61714         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61715         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61716         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61717         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61718         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61719         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61720         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61721         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61722         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61723         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61724         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61725         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61726         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61727         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61728         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61729         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61730         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61731         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61732         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61733         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61734         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61735         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61736         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61737         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61738         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61739         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61740         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61741         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61742         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61743         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61744         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61745         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61746         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61747         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61748         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61749         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61750         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61751         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61752         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61753         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61754         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61755         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61756         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61757         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61758         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61759         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61760         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61761         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61762         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61763         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61764         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61765         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61766         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61767         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61768         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61769         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61770         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61771         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61772         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61773         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61774         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61775         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61776         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61777         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61778         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61779         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61780         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61781         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61782         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61783         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61784         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61785         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61786         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61787         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61788         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61789         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61790         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61791         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61792         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61793         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61794         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61795         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61796         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61797         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61798         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61799         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61800         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61801         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61802         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61803         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61804         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61805         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61806         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61807         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61808         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61809         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61810         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61811         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61812         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61813         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61814         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61815         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61816         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61817         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61818         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61819         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61820         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61821         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61822         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61823         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61824         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61825         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61826         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61827         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61828         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61829         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61830         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61831         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61832         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61833         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61834         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61835         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61836         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61837         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61838         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61839         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61840         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61841         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61842         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61843         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61844         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61845         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61846         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61847         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61848         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61849         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61850         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61851         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61852         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61853         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61854         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61855         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61856         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61857         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61858         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61859         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61860         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61861         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61862         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61863         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61864         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61865         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61866         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61867         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61868         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61869         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61870         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61871         * sysdeps/ieee754/s_lib_version.c: Likewise.
61872         * sysdeps/ieee754/s_matherr.c: Likewise.
61873         * sysdeps/ieee754/s_signgam.c: Likewise.
61874         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61875         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61876         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61877         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61878         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61879         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61880         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61881         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61882         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61883         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61884         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61885         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61886         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61887         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61888         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61889         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61890         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61891         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61892         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61893         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61894         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61896 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61898         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61899         * sunrpc/rpc_main.c: Likewise.
61900         * sunrpc/rpc_svcout.c: Likewise.
61902 2012-03-09  David S. Miller  <davem@davemloft.net>
61904         * include/math_private.h: New file.
61906 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61908         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61909         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61910         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61911         from <bits/socket_type.h>.
61912         (enum __socket_type): Don't define here.
61913         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61914         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61915         bits/socket_type.h.
61917         [BZ #13566]
61918         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61919         checking __USE_GNU.
61921         * Makerules ($(inst_includedir)/%.h): New rule.
61922         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61923         (install-others): Remove variable setting.
61924         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61926 2012-03-08  Richard Henderson  <rth@twiddle.net>
61928         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61929         from macro to inline function; merge with the
61930         !__LIBC_INTERNAL_MATH_INLINES version.
61931         (__ieee754_sqrtf): Likewise.
61933         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61934         to inline function.
61935         (__rintf, __floor, __floorf): Likewise.
61937         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61938         macro to inline function.
61939         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61941         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61942         not <math/math_private.h>.
61944 2012-03-08  David S. Miller  <davem@davemloft.net>
61946         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61947         copyright year.
61948         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61950 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61952         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61953         normalization.
61954         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61955         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61957 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61959         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61960         be defined individually, they must be defined as a block.  Define
61961         S for printing a string instead of hidint the different by using a
61962         macro for adding the 'l'.
61963         * stdio-common/tst-fphex-wide.c: Adjust.
61965 2012-03-07  Marek Polacek  <polacek@redhat.com>
61967         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61969 2012-03-08  Marek Polacek  <polacek@redhat.com>
61971         [BZ #13806]
61972         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61973         * stdio-common/tst-fphex.c: Define a few macros to make the
61974         test reusable.  Use them.
61975         * stdio-common/tst-fphex-wide.c: New file.
61977 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61979         [BZ #6911]
61980         * manual/macros.texi (gnusystems): New macro.
61981         (nongnusystems): Likewise.
61982         (gnulinuxhurdsystems): Likewise.
61983         (gnuhurdsystems): Likewise..
61984         (gnulinuxsystems): Likewise.
61985         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61986         variants of the GNU system, not "GNU system".
61987         * manual/conf.texi: Likewise.
61988         * manual/errno.texi: Likewise.  Update example of errno macro
61989         expansion.
61990         * manual/filesys.texi: Likewise.
61991         (getumask): Document as specific to GNU/Hurd.
61992         * manual/install.texi: Likewise.  Reword some references to
61993         GNU/Linux.
61994         * manual/intro.texi: Likewise.
61995         * manual/io.texi: Likewise.
61996         (File Name Portability): Detail which constraints are inapplicable
61997         to all GNU systems and which are only inapplicable to GNU/Hurd.
61998         * manual/job.texi: Likewise.
61999         * manual/llio.texi: Likewise.
62000         (O_NOCTTY): Document as present on GNU/Linux.
62001         * manual/maint.texi: Likewise.
62002         * manual/memory.texi: Likewise.
62003         * manual/pattern.texi: Likewise.
62004         * manual/pipe.texi: Likewise.
62005         * manual/process.texi: Likewise.
62006         * manual/resource.texi: Likewise.
62007         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62008         child on GNU/Hurd.
62009         * manual/setjmp.texi: Likewise.
62010         * manual/signal.texi: Likewise.
62011         * manual/startup.texi: Likewise.
62012         * manual/stdio.texi: Likewise.
62013         * manual/terminal.texi: Likewise.
62014         (ONLCR): Document as POSIX.
62015         (OXTABS): Document availability on GNU/Linux as XTABS.
62016         (ONOEOT): Document availability separately from other bits.
62017         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62018         * manual/time.texi: Likewise.
62019         * manual/users.texi: Likewise.
62020         * INSTALL: Regenerated.
62021         * sysdeps/gnu/errlist.c: Regenerated.
62023         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62024         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62025         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62026         puts.
62027         * configure: Regenerated.
62029 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62031         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62032         default includes instead of AC_HEADER_CHECK.
62033         * sysdeps/i386/configure: Regenerated.
62035         [BZ #10716]
62036         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62037         * math/s_cacoshf.c (__cacoshf): Likewise.
62038         * math/s_cacoshl.c (__cacoshl): Likewise.
62039         * math/s_casinh.c (__casinh): Set signs of result from argument.
62040         * math/s_casinhf.c (__casinhf): Likewise.
62041         * math/s_casinhl.c (__casinhl): Likewise.
62042         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62043         (casinh_test): Add more tests.
62044         * sysdeps/i386/fpu/libm-test-ulps: Update.
62045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62047 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62049         * po/zh_TW.po: Update from translation team.
62051         * login/Makefile (distribute): Remove variable.
62052         * catgets/Makefile: Likewise.
62053         * mach/Makefile: Likewise.
62054         * malloc/Makefile: Likewise.
62055         * misc/Makefile: Likewise.
62056         * iconv/Makefile: Likewise.
62057         * nscd/Makefile: Likewise.
62058         * hurd/Makefile: Likewise.
62059         * manual/Makefile: Likewise.
62060         * locale/Makefile: Likewise.
62061         * intl/Makefile: Likewise.
62062         * conform/Makefile: Likewise.
62063         * nss/Makefile: Likewise.
62064         * time/Makefile: Likewise.
62065         * soft-fp/Makefile: Likewise.
62066         * dirent/Makefile: Likewise.
62067         * gmon/Makefile: Likewise.
62068         * po/Makefile: Likewise.
62069         * rt/Makefile: Likewise.
62070         * socket/Makefile: Likewise.
62071         * math/Makefile: Likewise.
62072         * signal/Makefile: Likewise.
62073         * debug/Makefile: Likewise.
62074         * elf/Makefile: Likewise.
62075         * timezone/Makefile: Likewise.
62076         * stdlib/Makefile: Likewise.
62077         * iconvdata/Makefile: Likewise.
62078         * sunrpc/Makefile: Likewise.
62079         * io/Makefile: Likewise.
62080         * argp/Makefile: Likewise.
62081         * inet/Makefile: Likewise.
62082         * hesiod/Makefile: Likewise.
62083         * grp/Makefile: Likewise.
62084         * csu/Makefile: Likewise.
62085         * wctype/Makefile: Likewise.
62086         * crypt/Makefile: Likewise.
62087         * libio/Makefile: Likewise.
62088         * string/Makefile: Likewise.
62089         * nis/Makefile: Likewise.
62090         * resolv/Makefile: Likewise.
62091         * stdio-common/Makefile: Likewise.
62092         * wcsmbs/Makefile: Likewise.
62093         * dlfcn/Makefile: Likewise.
62094         * posix/Makefile: Likewise.
62096         [BZ #6959]
62097         * timezone/Makefile: Don't install timezone files, just the programs
62098         and scripts.
62100 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62102         * nss/databases.def: Add missing gshadow entry.
62104         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62106 2012-03-06  Marek Polacek  <polacek@redhat.com>
62108         [BZ #13726]
62109         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62110         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62111         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62112         * stdio-common/tst-long-dbl-fphex.c: New file.
62114 2012-03-06  David S. Miller  <davem@davemloft.net>
62116         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62117         (set_obp_int): New function.
62118         (get_obp_int): New function.
62119         (__get_clockfreq_via_dev_openprom): Likewise.
62120         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62121         Avoid unused variable warnings on 'val' and use builtin_expect.
62122         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62123         __builtin_expect.
62124         (INLINE_CLONE_SYSCALL): Likewise.
62126 2012-03-05  David S. Miller  <davem@davemloft.net>
62128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62130 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62134         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62135         only for |x| >= 40.
62136         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62138 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62140         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62141         Replace gettimeofday with __vdso_gettimeofday.
62143         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62144         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62145         __vdso_clock_gettime and __vdso_getcpu.
62147         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62148         time with __vdso_time.
62150 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62152         * manual/lang.texi (size_t): Note types to which size_t may be
62153         equivalent with the GNU C Library, but do not describe when
62154         differences between them are significant.
62156 2012-03-05  Andreas Jaeger  <aj@suse.de>
62158         * sysdeps/i386/fpu/libm-test-ulps: Update.
62160 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62162         [BZ #3976]
62163         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62164         (__ieee754_pow): Save and restore rounding mode and use
62165         round-to-nearest for main computations.
62166         * math/libm-test.inc (pow_test_tonearest): New function.
62167         (pow_test_towardzero): Likewise.
62168         (pow_test_downward): Likewise.
62169         (pow_test_upward): Likewise.
62170         (main): Call the new functions.
62171         * sysdeps/i386/fpu/libm-test-ulps: Update.
62172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62174         [BZ #3976]
62175         * math/libm-test.inc (cosh_test_tonearest): New function.
62176         (cosh_test_towardzero): Likewise.
62177         (cosh_test_downward): Likewise.
62178         (cosh_test_upward): Likewise.
62179         (sinh_test_tonearest): Likewise.
62180         (sinh_test_towardzero): Likewise.
62181         (sinh_test_downward): Likewise.
62182         (sinh_test_upward): Likewise.
62183         (main): Call the new functions.
62184         * sysdeps/i386/fpu/libm-test-ulps: Update.
62185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62187 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62189         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62190         default stack guard is set in last bytes.
62191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62193 2012-03-05  Kees Cook  <keescook@chromium.org>
62195         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62197         [BZ #13656]
62198         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62199         possibly allocate from heap instead of stack.
62200         * stdio-common/bug-vfprintf-nargs.c: New file.
62201         * stdio-common/Makefile (tests): Add nargs overflow test.
62203 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62207 2012-03-03  Marek Polacek  <polacek@redhat.com>
62209         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62210         * math/math_private.h: Likewise.
62211         * stdlib/tst-strtod.c: Likewise.
62212         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62213         * sysdeps/x86_64/bits/atomic.h: Likewise.
62215 2012-03-02  David S. Miller  <davem@davemloft.net>
62217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62221         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62222         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62223         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62224         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62226 2012-03-02  Roland McGrath  <roland@hack.frob.com>
62228         [BZ #13792]
62229         * manual/examples/README: New file, says the example source files
62230         can be used under GPL>=2.
62231         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62232         line containing just "*/".
62233         * manual/examples/add.c: Add copyright header (GPL>=2).
62234         * manual/examples/argp-ex1.c: Likewise.
62235         * manual/examples/argp-ex2.c: Likewise.
62236         * manual/examples/argp-ex3.c: Likewise.
62237         * manual/examples/argp-ex4.c: Likewise.
62238         * manual/examples/atexit.c: Likewise.
62239         * manual/examples/db.c: Likewise.
62240         * manual/examples/dir.c: Likewise.
62241         * manual/examples/dir2.c: Likewise.
62242         * manual/examples/execinfo.c: Likewise.
62243         * manual/examples/filecli.c: Likewise.
62244         * manual/examples/filesrv.c: Likewise.
62245         * manual/examples/fmtmsgexpl.c: Likewise.
62246         * manual/examples/genpass.c: Likewise.
62247         * manual/examples/inetcli.c: Likewise.
62248         * manual/examples/inetsrv.c: Likewise.
62249         * manual/examples/isockad.c: Likewise.
62250         * manual/examples/longopt.c: Likewise.
62251         * manual/examples/memopen.c: Likewise.
62252         * manual/examples/memstrm.c: Likewise.
62253         * manual/examples/mkfsock.c: Likewise.
62254         * manual/examples/mkisock.c: Likewise.
62255         * manual/examples/mygetpass.c: Likewise.
62256         * manual/examples/pipe.c: Likewise.
62257         * manual/examples/popen.c: Likewise.
62258         * manual/examples/rprintf.c: Likewise.
62259         * manual/examples/search.c: Likewise.
62260         * manual/examples/select.c: Likewise.
62261         * manual/examples/setjmp.c: Likewise.
62262         * manual/examples/sigh1.c: Likewise.
62263         * manual/examples/sigusr.c: Likewise.
62264         * manual/examples/stpcpy.c: Likewise.
62265         * manual/examples/strdupa.c: Likewise.
62266         * manual/examples/strftim.c: Likewise.
62267         * manual/examples/strncat.c: Likewise.
62268         * manual/examples/subopt.c: Likewise.
62269         * manual/examples/swapcontext.c: Likewise.
62270         * manual/examples/termios.c: Likewise.
62271         * manual/examples/testopt.c: Likewise.
62272         * manual/examples/testpass.c: Likewise.
62273         * manual/examples/timeval_subtract.c: Likewise.
62275         [BZ #13792]
62276         * manual/time.texi (Elapsed Time): Move timeval_subtract example
62277         function to ...
62278         * manual/timeval_subtract.c.texi: ... here, new file.
62280 2012-03-02  David S. Miller  <davem@davemloft.net>
62282         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62284 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62286         [BZ #3976]
62287         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62288         (__sin): Save and restore rounding mode and use round-to-nearest
62289         for all computations.
62290         (__cos): Save and restore rounding mode and use round-to-nearest
62291         for all computations.
62292         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62293         <fenv.h>.
62294         (tan): Save and restore rounding mode and use round-to-nearest for
62295         all computations.
62296         * math/libm-test.inc (cos_test_tonearest): New function.
62297         (cos_test_towardzero): Likewise.
62298         (cos_test_downward): Likewise.
62299         (cos_test_upward): Likewise.
62300         (sin_test_tonearest): Likewise.
62301         (sin_test_towardzero): Likewise.
62302         (sin_test_downward): Likewise.
62303         (sin_test_upward): Likewise.
62304         (tan_test_tonearest): Likewise.
62305         (tan_test_towardzero): Likewise.
62306         (tan_test_downward): Likewise.
62307         (tan_test_upward): Likewise.
62308         (main): Call the new functions.
62309         * sysdeps/i386/fpu/libm-test-ulps: Update.
62310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62312         [BZ #10135]
62313         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62314         small n, then large n, before computing and testing k+n.
62315         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62316         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62317         Likewise.
62318         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62319         Likewise.
62320         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62321         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62322         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62323         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62324         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62325         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62326         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62327         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62328         * math/libm-test.inc (scalbn_test): Add more tests.
62329         (scalbln_test): Likewise.
62331         * manual/filesys.texi (mode_t): Describe constraints on size and
62332         signedness, not exact equivalence to a particular type.
62333         (ino_t): Likewise.
62334         (ino64_t): Likewise.
62335         (dev_t): Likewise.
62336         (nlink_t): Likewise.
62337         (blkcnt_t): Likewise.
62338         (blkcnt64_t): Likewise.
62339         * manual/llio.texi (off_t): Likewise.
62341         [BZ #3976]
62342         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62343         (__ieee754_exp): Save and restore rounding mode and use
62344         round-to-nearest for all computations.
62345         * math/libm-test.inc (exp_test_tonearest): New function.
62346         (exp_test_towardzero): Likewise.
62347         (exp_test_downward): Likewise.
62348         (exp_test_upward): Likewise.
62349         (main): Call the new functions.
62350         * sysdeps/i386/fpu/libm-test-ulps: Update.
62351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62353 2012-03-01  Chris Demetriou  <cgd@google.com>
62355         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62356         have predictable order.
62358 2012-03-01  David S. Miller  <davem@davemloft.net>
62360         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62362         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62363         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62364         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62365         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62367         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62368         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62369         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62371         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62372         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62373         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62374         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62375         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62379         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62380         * sysdeps/sparc/fpu/libm-test-ulps: to here.
62381         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62383         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62384         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62385         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62386         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62387         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62388         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62389         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62390         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62391         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62392         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62393         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62394         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62396         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62397         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62398         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62399         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62400         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62401         * sysdeps/sparc/elf/configure: Regenerated.
62403 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
62405         * configure.in (AS, LD): Require binutils 2.20 or later.
62406         * configure: Regenerated.
62407         * manual/install.texi (Tools for Compilation): Give binutils 2.20
62408         as required minimum version.
62409         * INSTALL: Regenerated.
62411         [BZ #2541]
62412         [BZ #4108]
62413         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62414         before squaring exponent.
62415         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62416         bottom long double and 27 bits of top long double before squaring
62417         exponent.
62418         * math/libm-test.inc (erfc_test): Add more tests.
62419         * sysdeps/i386/fpu/libm-test-ulps: Update.
62420         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62423 2012-03-01  Kai Tietz  <ktietz@redhat.com>
62425         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62426         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62427         containing bit-fields.
62428         * soft-fp/extended.h (_FP_UNION_E): Likewise.
62429         * soft-fp/single.h (_FP_UNION_S): Likewise.
62430         * soft-fp/double.h (_FP_UNION_D): Likewise.
62432 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62434         [BZ #13786]
62435         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62436         not include ../strcmp.S.
62437         [USE_AS_STRNCASECMP_L]: Likewise.
62438         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62439         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62440         * sysdeps/i386/i686/multiarch/strncase_l-c.c
62441         (__strncasecmp_l_ia32): Define as alias to
62442         __strncasecmp_l_nonascii.
62444         [BZ #5794]
62445         * math/libm-test.inc (expm1_test): Add test for bug 5794.
62446         * sysdeps/i386/fpu/libm-test-ulps: Update.
62447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62449         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62452 2012-02-29  Jeff Law  <law@redhat.com>
62454         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62455         out of bounds read.
62457 2012-02-29  Marek Polacek  <polacek@redhat.com>
62459         [BZ #13706]
62460         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62461         * elf/Makefile: Add rules to run tst-unused-dep.out.
62463 2012-02-28  David S. Miller  <davem@davemloft.net>
62465         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62466         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62467         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62468         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62469         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62470         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62472 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62474         * math/libm-test.inc (llround_test): Move one test from
62475         lround_test.  Use TEST_f_L in moved test.
62476         (lround_test): Move misplaced test to llround_test.  Add testcase
62477         from bug 2561.
62479 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
62481         * sysdeps/x86_64/fpu/e_expf.S: New file.
62482         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62484 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
62486         [BZ #13637]
62487         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62488         of remain_len that may cause incomplete multi-byte character and
62489         false match.
62490         * posix/bug-regex33.c: New file.
62491         * posix/Makefile (tests): Add bug-regex33.
62493 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
62495         * manual/macros.texi: New file.
62496         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62497         * manual/libc.texinfo: Include macros.texi.
62498         * manual/creatute.texi: Likewise.
62499         * manual/install.texi: Likewise.
62500         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62501         @glibcadj{} in references to the GNU C Library.
62502         * manual/charset.texi: Likewise.
62503         * manual/conf.texi: Likewise.
62504         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
62505         when not using those macros.
62506         * manual/creature.texi: Likewise.
62507         * manual/crypt.texi: Likewise.
62508         * manual/errno.texi: Likewise.
62509         * manual/filesys.texi: Likewise.
62510         * manual/header.texi: Likewise.
62511         * manual/install.texi: Likewise.
62512         * manual/intro.texi: Likewise.
62513         * manual/io.texi: Likewise.
62514         * manual/job.texi: Likewise.
62515         * manual/lang.texi: Likewise.
62516         * manual/libc.texiinfo: Likewise.
62517         * manual/llio.texi: Likewise.
62518         * manual/locale.texi: Likewise.
62519         * manual/maint.texi: Likewise.
62520         * manual/math.texi: Likewise.
62521         * manual/memory.texi: Likewise.
62522         * manual/message.texi: Likewise.
62523         * manual/nss.texi: Likewise.
62524         * manual/pattern.texi: Likewise.
62525         * manual/process.texi: Likewise.
62526         * manual/resource.texi: Likewise.
62527         * manual/search.texi: Likewise.
62528         * manual/setjmp.texi: Likewise.
62529         * manual/signal.texi: Likewise.
62530         * manual/socket.texi: Likewise.
62531         * manual/startup.texi: Likewise.
62532         * manual/stdio.texi: Likewise.
62533         * manual/string.texi: Likewise.
62534         * manual/sysinfo.texi: Likewise.
62535         * manual/syslog.texi: Likewise.
62536         * manual/terminal.texi: Likewise.
62537         * manual/time.texi: Likewise.
62538         * manual/users.texi: Likewise.
62539         * INSTALL: Regenerated.
62540         * NOTES: Regenerated.
62541         * sysdeps/gnu/errlist.c: Regenerated.
62543 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
62545         * include/dirent.h: Include <dirstream.h> before
62546         <dirent/dirent.h>.
62548 2012-02-28  David S. Miller  <davem@davemloft.net>
62550         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
62551         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
62552         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
62553         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
62555 2012-02-27  David S. Miller  <davem@davemloft.net>
62557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
62558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
62559         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
62560         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
62562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
62563         frame pointer instead of stack pointer relative arg slot.
62564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62565         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62566         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62568 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
62570         [BZ #3992]
62571         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
62573 2012-02-27  David S. Miller  <davem@davemloft.net>
62575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
62576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
62579         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62580         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62581         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
62582         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
62584 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62586         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62587         later.  Allow versions 5-9.
62588         * configure: Regenerated.
62589         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62590         required minimum version and 4.6 as recommended version.  Do not
62591         mention bugs in GCC 2.7 and 2.8.
62592         * INSTALL: Regenerated.
62594 2012-02-27  David S. Miller  <davem@davemloft.net>
62596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62600         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62601         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62602         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62603         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62605         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62606         manipulate bits before adding and subtracting TWO112[sx].
62607         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62609 2012-02-27  Roland McGrath  <roland@hack.frob.com>
62611         [BZ #13775]
62612         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62613         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62614         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62615         being in POSIX, because they are in 1003.1-2008.
62617         * rt/tst-aio.c: Include <fcntl.h>.
62618         * rt/tst-aio7.c: Likewise.
62619         * rt/tst-aio64.c: Likewise.
62621         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62623 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62625         * manual/install.texi (--with-headers): Describe headers as
62626         interface headers, not private headers.
62627         (Specific advice for GNU/Linux systems): Describe use of headers
62628         from "make headers_install", not private headers from older
62629         kernels.
62630         * INSTALL: Regenerated.
62631         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62632         Change to 2.6.19.
62633         * sysdeps/unix/sysv/linux/configure: Regenerated.
62635         * manual/llio.texi (fclean): Remove documentation.
62637         * manual/Makefile (libc-texi-generated): New variable.  Include
62638         version.texi.
62639         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62640         $(libc-texi-generated), not duplicated list of files.
62641         (version.texi, stamp-version): New rules.
62642         (realclean): Remove $(libc-texi-generated), not individual files
62643         from that list.  Do not remove dir-add.texinfo.
62644         * manual/libc.texinfo: Comment out uses of edition numbers and
62645         references to printed manual.  Remove last-updated dates.
62646         (EDITION): Comment out.
62647         (ISBN): Likewise.
62648         (VERSION, UPDATED): Remove.
62649         (version.texi): Include.
62651 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
62653         * sysdeps/posix/spawni.c: Include <signal.h>.
62654         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
62655         * sysdeps/pthread/aio_fsync.c: Likewise.
62657 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
62659         * conform/Makefile (tests): Run only when not cross-compiling and
62660         when fast-check is not defined.
62662         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
62663         * conform/data/limits.h-data: Fixes for POSIX2008.
62664         * conform/run-conformtest.sh: Run all tests.
62665         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
62666         headers.
62667         * include/bits/dlfcn.h: Likewise.
62668         * include/langinfo.h: Likewise.
62669         * include/monetary.h: Likewise.
62670         * include/sys/poll.h: Likewise.
62672         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
62673         for __USE_GNU.
62674         * posix/spawn.h: Define __need_sigset_t.
62675         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
62676         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
62677         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
62678         to get sigevent_t only.
62679         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
62680         only for __USE_GNU.
62681         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62682         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62683         process_vm_writev only for __USE_GNU.
62684         * termios/termios.h: Declare tcgetsid also for POSIX2008.
62686         * conform/Makefile: For now ignore errors from run-conformtest.
62687         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
62688         POSIX to avoid namespace pollution.  Don't prepend headers.
62689         * conform/data/aio.h-data: Fixes for POSIX testing.
62690         * conform/data/fcntl.h-data: Likewise.
62691         * conform/data/glob.h-data: Likewise.
62692         * conform/data/grp.h-data: Likewise.
62693         * conform/data/pthread.h-data: Likewise.
62694         * conform/data/pwd.h-data: Likewise.
62695         * conform/data/signal.h-data: Likewise.
62696         * conform/data/spawn.h-data: Likewise.
62697         * conform/data/stdio.h-data: Likewise.
62698         * conform/data/stdlib.h-data: Likewise.
62699         * conform/data/stropts.h-data: Likewise.
62700         * conform/data/sys/mman.h-data: Likewise.
62701         * conform/data/sys/stat.h-data: Likewise.
62702         * conform/data/sys/types.h-data: Likewise.
62703         * conform/data/sys/wait.h-data: Likewise.
62704         * conform/data/time.h-data: Likewise.
62705         * conform/data/unistd.h-data: Likewise.
62706         * conform/data/utime.h-data: Likewise.
62708         * io/sys/stat.h: fchmod was always in POSIX.
62709         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62710         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62711         * rt/aio.h: Define __need_timespec before including <time.h>.
62712         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62713         struct.  Add forward declaration of pthread_attr_t and use it in
62714         sigevent.
62715         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62716         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62717         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62718         always remove CLK_TCK definition.
62720 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62722         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62724 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62726         * conform/run-conformtest.sh: New file.
62727         * conform/Makefile: Run run-conformtest for tests.
62728         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62729         support.
62731         * conform/data/uchar.h-data: New file.
62732         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62733         * conform/data/arpa/inet.h-data: Likewise.
62734         * conform/data/assert.h-data: Likewise.
62735         * conform/data/complex.h-data: Likewise.
62736         * conform/data/cpio.h-data: Likewise.
62737         * conform/data/ctype.h-data: Likewise.
62738         * conform/data/dirent.h-data: Likewise.
62739         * conform/data/dlfcn.h-data: Likewise.
62740         * conform/data/errno.h-data: Likewise.
62741         * conform/data/fcntl.h-data: Likewise.
62742         * conform/data/float.h-data: Likewise.
62743         * conform/data/fmtmsg.h-data: Likewise.
62744         * conform/data/fnmatch.h-data: Likewise.
62745         * conform/data/ftw.h-data: Likewise.
62746         * conform/data/glob.h-data: Likewise.
62747         * conform/data/grp.h-data: Likewise.
62748         * conform/data/iconv.h-data: Likewise.
62749         * conform/data/inttypes.h-data: Likewise.
62750         * conform/data/langinfo.h-data: Likewise.
62751         * conform/data/libgen.h-data: Likewise.
62752         * conform/data/limits.h-data: Likewise.
62753         * conform/data/locale.h-data: Likewise.
62754         * conform/data/math.h-data: Likewise.
62755         * conform/data/monetary.h-data: Likewise.
62756         * conform/data/mqueue.h-data: Likewise.
62757         * conform/data/ndbm.h-data: Likewise.
62758         * conform/data/net/if.h-data: Likewise.
62759         * conform/data/netdb.h-data: Likewise.
62760         * conform/data/netinet/in.h-data: Likewise.
62761         * conform/data/nl_types.h-data: Likewise.
62762         * conform/data/poll.h-data: Likewise.
62763         * conform/data/pthread.h-data: Likewise.
62764         * conform/data/pwd.h-data: Likewise.
62765         * conform/data/regex.h-data: Likewise.
62766         * conform/data/sched.h-data: Likewise.
62767         * conform/data/search.h-data: Likewise.
62768         * conform/data/semaphore.h-data: Likewise.
62769         * conform/data/setjmp.h-data: Likewise.
62770         * conform/data/signal.h-data: Likewise.
62771         * conform/data/spawn.h-data: Likewise.
62772         * conform/data/stdarg.h-data: Likewise.
62773         * conform/data/stdio.h-data: Likewise.
62774         * conform/data/stdlib.h-data: Likewise.
62775         * conform/data/string.h-data: Likewise.
62776         * conform/data/strings.h-data: Likewise.
62777         * conform/data/stropts.h-data: Likewise.
62778         * conform/data/sys/ipc.h-data: Likewise.
62779         * conform/data/sys/mman.h-data: Likewise.
62780         * conform/data/sys/msg.h-data: Likewise.
62781         * conform/data/sys/resource.h-data: Likewise.
62782         * conform/data/sys/select.h-data: Likewise.
62783         * conform/data/sys/sem.h-data: Likewise.
62784         * conform/data/sys/shm.h-data: Likewise.
62785         * conform/data/sys/socket.h-data: Likewise.
62786         * conform/data/sys/stat.h-data: Likewise.
62787         * conform/data/sys/statvfs.h-data: Likewise.
62788         * conform/data/sys/time.h-data: Likewise.
62789         * conform/data/sys/timeb.h-data: Likewise.
62790         * conform/data/sys/times.h-data: Likewise.
62791         * conform/data/sys/types.h-data: Likewise.
62792         * conform/data/sys/uio.h-data: Likewise.
62793         * conform/data/sys/un.h-data: Likewise.
62794         * conform/data/sys/utsname.h-data: Likewise.
62795         * conform/data/sys/wait.h-data: Likewise.
62796         * conform/data/syslog.h-data: Likewise.
62797         * conform/data/tar.h-data: Likewise.
62798         * conform/data/termios.h-data: Likewise.
62799         * conform/data/utime.h-data: Likewise.
62800         * conform/data/utmpx.h-data: Likewise.
62801         * conform/data/varargs.h-data: Likewise.
62802         * conform/data/wchar.h-data: Likewise.
62803         * conform/data/wctype.h-data: Likewise.
62804         * conform/data/wordexp.h-data: Likewise.
62806         * include/stropts.h: New file.
62807         * include/uchar.h: New file.
62808         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62809         * include/assert.h: Likewise.
62810         * include/ctype.h: Likewise.
62811         * include/dirent.h: Likewise.
62812         * include/dlfcn.h: Likewise.
62813         * include/fcntl.h: Likewise.
62814         * include/fnmatch.h: Likewise.
62815         * include/glob.h: Likewise.
62816         * include/grp.h: Likewise.
62817         * include/libio.h: Likewise.
62818         * include/locale.h: Likewise.
62819         * include/math.h: Likewise.
62820         * include/net/if.h: Likewise.
62821         * include/netdb.h: Likewise.
62822         * include/netinet/in.h: Likewise.
62823         * include/pthread.h: Likewise.
62824         * include/pwd.h: Likewise.
62825         * include/regex.h: Likewise.
62826         * include/sched.h: Likewise.
62827         * include/search.h: Likewise.
62828         * include/setjmp.h: Likewise.
62829         * include/signal.h: Likewise.
62830         * include/stdio.h: Likewise.
62831         * include/stdlib.h: Likewise.
62832         * include/string.h: Likewise.
62833         * include/sys/cdefs.h: Likewise.
62834         * include/sys/mman.h: Likewise.
62835         * include/sys/msg.h: Likewise.
62836         * include/sys/resource.h: Likewise.
62837         * include/sys/select.h: Likewise.
62838         * include/sys/socket.h: Likewise.
62839         * include/sys/stat.h: Likewise.
62840         * include/sys/statvfs.h: Likewise.
62841         * include/sys/time.h: Likewise.
62842         * include/sys/times.h: Likewise.
62843         * include/sys/uio.h: Likewise.
62844         * include/sys/utsname.h: Likewise.
62845         * include/sys/wait.h: Likewise.
62846         * include/termios.h: Likewise.
62847         * include/time.h: Likewise.
62848         * include/ulimit.h: Likewise.
62849         * include/unistd.h: Likewise.
62850         * include/utime.h: Likewise.
62851         * include/wchar.h: Likewise.
62852         * include/wctype.h: Likewise.
62853         * include/wordexp.h: Likewise.
62855         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62857         * time/time.h: TIME_UTC must be a macro.
62858         Make timespec_get available for ISO C11 only as well.
62860 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62862         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62863         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62865 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62867         * configure.in: Use -o not -a in test for unsupported multi-arch.
62869 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62871         * manual/texinfo.tex: Update to version 2012-01-19.16.
62873 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62875         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62877 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62879         [BZ #13738]
62880         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62881         * manual/fdl-1.3.texi: New file.
62882         * manual/fdl-1.1.texi: File removed.
62884         [BZ #13738]
62885         * manual/libc.texinfo (FDL_VERSION): New @set.
62886         Use it for mention of FDL in cover text.
62887         (Documentation License): Use it in @include file name.
62889 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62890             Roland McGrath  <roland@hack.frob.com>
62892         [BZ #5461]
62893         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62894         (not LONG_LONG_MAX and LONG_LONG_MIN.
62895         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62896         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62897         name.
62898         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62900 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62902         [BZ #2547]
62903         [BZ #11365]
62904         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62905         manipulate bits before adding and subtracting TWO23[sx].
62906         * math/libm-test.inc (nearbyint_test): Add more tests.
62908 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62910         [BZ #2548]
62911         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62912         bits before adding and subtracting TWO23[sx].
62913         * math/libm-test.inc (rint_test): Add more tests.
62914         (rint_test_tonearest): Likewise.
62915         (rint_test_towardzero): Likewise.
62916         (rint_test_downward): Likewise.
62917         (rint_test_upward: Likewise.
62919 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62921         [BZ #10110]
62922         * include/stdc-predef.h: New file.  Extracted from features.h.
62923         * include/features.h: Include stdc-predef.h.
62924         * Makefile (headers): Add stdc-predef.h.
62925         * CONFORMANCE (Compiler limitations): Update.
62927 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62929         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62931 2012-02-21  David S. Miller  <davem@davemloft.net>
62933         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62934         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62936 2012-02-20  David S. Miller  <davem@davemloft.net>
62938         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62939         using a normal save/restore sequence, rather than allocating a
62940         dummy stack frame just to store a frame pointer and restore.
62941         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62943 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62945         * manual/install.texi: Fix stray word in line-wrapped comment.
62947 2012-02-20  David S. Miller  <davem@davemloft.net>
62949         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62950         both binutils and gcc support GOTDATA.
62952         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62953         "rd %pc" in the PIC register setup sequences.
62955         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62956         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62957         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62958         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62959         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62960         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62961         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62962         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62963         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62964         (SYSCALL_ERROR_HANDLER): Likewise.
62965         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62966         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62967         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62968         (SYSCALL_ERROR_HANDLER): Likewise.
62970         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62971         (HAVE_GCC_GOTDATA): New.
62972         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62973         relocation support in both binutils and gcc.
62974         * sysdeps/sparc/elf/configure: Regenerate.
62976         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62977         * sysdeps/sparc/sparc32/elf/configure: Delete.
62978         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62979         * sysdeps/sparc/sparc64/elf/configure: Delete.
62980         * sysdeps/sparc/elf/configure.in: New file.
62981         * sysdeps/sparc/elf/configure: Generate.
62983         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62984         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62985         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62986         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62987         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62989 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62991         * manual/install.texi: Do not mention specific glibc version
62992         numbers.
62993         * manual/libc.texinfo (VERSION, UPDATED): Update.
62994         (@copying): Use @copyright{} and range of years.
62996 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62998         [BZ #13695]
62999         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63000         [crti.S not in sysdirs] (generated): Do not append.
63001         [crti.S not in sysdirs] (omit-deps): Likewise.
63002         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63003         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63004         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63005         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63006         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63007         Likewise.
63008         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63009         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63010         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63011         * csu/defs.awk: Remove file.
63012         * sysdeps/generic/initfini.c: Likewise.
63013         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63014         variable.
63015         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63016         Likewise.
63018 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63020         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63021         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63022         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63023         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63024         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63025         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63026         <bits/epoll.h>.
63027         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63028         (__EPOLL_PACKED): Define to empty if not defined by
63029         <bits/epoll.h>.
63030         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63031         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63032         bits/epoll.h.
63034 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63036         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63037         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63038         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63039         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63040         <bits/timerfd.h>.
63041         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63042         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63043         bits/timerfd.h.
63045 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63047         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63048         in C locale.
63049         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63050         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63051         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63054 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63056         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63057         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63059 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63061         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63062         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63063         defined.
63064         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63065         Likewise.
63066         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63067         entry for 2.16.
63069 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63071         * math/w_acos.c: Use non-signaling floating-point comparisons.
63072         * math/w_acosf.c: Likewise.
63073         * math/w_acosh.c: Likewise.
63074         * math/w_acoshf.c: Likewise.
63075         * math/w_acoshl.c: Likewise.
63076         * math/w_acosl.c: Likewise.
63077         * math/w_asin.c: Likewise.
63078         * math/w_asinf.c: Likewise.
63079         * math/w_asinl.c: Likewise.
63080         * math/w_atanh.c: Likewise.
63081         * math/w_atanhf.c: Likewise.
63082         * math/w_atanhl.c: Likewise.
63083         * math/w_exp2.c: Likewise.
63084         * math/w_exp2f.c: Likewise.
63085         * math/w_exp2l.c: Likewise.
63086         * math/w_j0.c: Likewise.
63087         * math/w_j0f.c: Likewise.
63088         * math/w_j0l.c: Likewise.
63089         * math/w_j1.c: Likewise.
63090         * math/w_j1f.c: Likewise.
63091         * math/w_j1l.c: Likewise.
63092         * math/w_jn.c: Likewise.
63093         * math/w_jnf.c: Likewise.
63094         * math/w_log.c: Likewise.
63095         * math/w_log10.c: Likewise.
63096         * math/w_log10f.c: Likewise.
63097         * math/w_log10l.c: Likewise.
63098         * math/w_log2.c: Likewise.
63099         * math/w_log2f.c: Likewise.
63100         * math/w_log2l.c: Likewise.
63101         * math/w_logf.c: Likewise.
63102         * math/w_logl.c: Likewise.
63103         * math/w_sqrt.c: Likewise.
63104         * math/w_sqrtf.c: Likewise.
63105         * math/w_sqrtl.c: Likewise.
63106         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63107         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63108         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63109         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63110         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63112 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63114         [BZ #9739]
63115         * manual/string.texi (strnlen): Use correct parameter name in
63116         equivalent expression.
63118 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63120         [BZ #11174]
63121         * manual/users.texi (seteuid): Consistently use neweuid for
63122         argument name.
63124 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63126         [BZ #13704]
63127         * manual/nss.texi (Services in the NSS configuration): Correct
63128         list of services in example configuration file.
63130 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63132         [BZ #11322]
63133         * manual/arith.texi: Remove statements about negative zero
63134         behaving identically to zero.
63136 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63138         [BZ #5993]
63139         * manual/install.texi: Do not document upgrading from libc5.
63141 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63143         [BZ #4596]
63144         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63146 2012-02-18  David S. Miller  <davem@davemloft.net>
63148         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63149         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63150         %o7 across the call.
63151         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63152         instead.
63153         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63154         SETUP_PIC_REG_LEAF.
63155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63156         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63157         * sysdeps/sparc/crtn.S: Likewise.
63159 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63161         * aout/Makefile: Remove.
63163 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63165         [BZ #13058]
63166         * manual/examples/argp-ex1.c (main): Format definition in GNU
63167         style.
63168         * manual/examples/argp-ex2.c (main): Likewise.
63169         * manual/examples/argp-ex3.c (main): Likewise.
63170         * manual/examples/argp-ex4.c (main): Likewise.
63171         * manual/examples/longopt.c (main): Use new-style prototype
63172         definition.
63173         * manual/examples/strncat.c (main): Specify return type and use
63174         (void) for arguments.
63175         * manual/examples/subopt.c (main): Use char **argv argument.
63177 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63179         [BZ #5077]
63180         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63181         rounding modes.
63183 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63185         [BZ #6907]
63186         * manual/string.texi (strchr): Change when strchrnul is
63187         recommended.
63189 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63191         [BZ #174]
63192         * manual/locale.texi (setlocale): Document LOCPATH.
63194 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63196         [BZ #10210]
63197         * manual/process.texi (execle): Move @dots{} before last argument.
63199 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63201         [BZ #12047]
63202         * manual/charset.texi (Generic Charset Conversion): Fix typo
63203         (LC_TYPE -> LC_CTYPE).
63205 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63207         [BZ #5805]
63208         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63209         (scalbnf): Likewise.
63210         (scalbnl): Likewise.
63211         (scalbln): Likewise.
63212         (scalblnf): Likewise.
63213         (scalblnl): Likewise.
63214         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63215         (vwarnx): Likewise.
63216         (verr): Likewise.
63217         (verrx): Likewise.
63218         * manual/filesys.texi (telldir): Use braces around return type.
63219         * manual/llio.texi (mmap): Add space after comma.
63220         (mmap64): Likewise.
63221         * manual/math.texi (jn): Use @var{} on parameter names.
63222         (jnf): Likewise.
63223         (jnl): Likewise.
63224         (yn): Likewise.
63225         (ynf): Likewise.
63226         (ynl): Likewise.
63227         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63228         line.
63229         * manual/resource.texi (ulimit): Use @dots{} instead of literal
63230         "...".
63231         (sched_get_priority_min): Remove semicolon on @deftypefun line.
63232         (sched_get_priority_max): Likewise.
63233         * manual/signal.texi (sigvec): Add space after comma.
63234         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63235         names.
63236         (if_indextoname): Likewise.
63237         (if_freenameindex): Likewise.
63238         (sendto): Use ',' instead of '.' in prototype.
63239         * manual/startup.texi (syscall): Use @dots{} instead of literal
63240         "...".
63241         * manual/stdio.texi (__fpending): Separate initial words of
63242         paragraph from @deftypefun line.
63243         * manual/syslog.texi (syslog): Use @dots{} instead of literal
63244         "...".
63245         (vsyslog): Use @var{} on parameter names.
63246         * manual/terminal.texi (stty): Use @var{} on parameter names.
63247         * manual/users.texi (getutmp): Use @var{} on parameter names.
63248         (getutmpx): Likewise.
63250 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63252         [BZ #6884]
63253         * manual/stdio.texi (fopen): Fix typos in description of
63254         ",ccs=STRING".
63256 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
63258         [BZ #4026]
63259         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63260         get clock_id definition.
63262 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
63264         [BZ #4822]
63265         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63266         (madvise): Cast every argument to void on its own.
63268 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63270         [BZ #9902]
63271         * manual/startup.texi (Exit Status): Fix typo.
63273 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63275         [BZ #10140]
63276         * manual/examples/argp-ex1.c: Include <stdlib.h>.
63277         * manual/examples/argp-ex2.c: Likewise.
63278         * manual/examples/argp-ex3.c: Likewise.
63280 2012-02-16  Richard Henderson  <rth@redhat.com>
63282         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63283         * sysdeps/s390/s390-32/initfini.c: Remove.
63284         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63285         * sysdeps/s390/s390-64/initfini.c: Remove.
63287 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63289         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63290         compiler output for sysdeps/generic/initfini.c.
63291         * sysdeps/sh/elf/initfini.c: Remove file.
63293 2012-02-16  David S. Miller  <davem@davemloft.net>
63295         [BZ #11494]
63296         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63298         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63299         * sysdeps/sparc/crti.S: New file.
63300         * sysdeps/sparc/crtn.S: New file.
63301         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63302         * sysdeps/sparc/sparc64/Makefile: Likewise.
63304 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
63306         [BZ #3335]
63307         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63309 2012-02-15  Roland McGrath  <roland@hack.frob.com>
63311         [BZ #4822]
63312         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63314         * mach/devstream.c (cookie_io_functions_t): Macro removed.
63315         (write, read, close): Likewise.
63316         Patch by Aurelien Jarno <aurelien@aurel32.net>.
63318 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
63320         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63321         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63322         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63323         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63324         <bits/signalfd.h>.
63325         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63326         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63327         bits/signalfd.h.
63329 2012-02-14  Marek Polacek  <polacek@redhat.com>
63331         * sysdeps/x86_64/crti.S: New file.
63332         * sysdeps/x86_64/crtn.S: New file.
63333         * sysdeps/x86_64/elf/initfini.c: Remove file.
63335 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63337         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63338         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63339         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63340         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63341         <bits/inotify.h>.
63342         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63344         bits/inotify.h.
63346 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63348         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63349         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63350         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63351         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63352         <bits/eventfd.h>.
63353         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63354         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63355         bits/eventfd.h.
63357 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
63359         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63360         __feraiseexcept instead of feraiseexcept.
63362         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63363         nanosleep invocations.
63364         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63365         strings, and add error checking for a nanosleep invocations.
63367 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
63369         Replace FSF snail mail address with URLs, as per GNU coding standards.
63370         Most of the snail mail addresses were wrong anyway, and omitting
63371         them makes the source code easier to maintain.  Almost all of the
63372         changes are to license notices and to locale LC_IDENTIFICATION
63373         addresses, except for this one:
63374         * manual/libc.texinfo: In "Published by", give the FSF's URL,
63375         not its snail mail address.
63377 2012-02-09  Richard Henderson  <rth@twiddle.net>
63379         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63380         of kernel-features.h.
63382         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63384 2012-02-08  Marek Polacek  <polacek@redhat.com>
63386         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63387         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63388         * sysdeps/gnu/_G_config.h: Likewise.
63389         * sysdeps/generic/_G_config.h: Likewise.
63391 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
63393         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63394         tests.
63395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63397         * sysdeps/powerpc/powerpc32/crti.S: New file.
63398         * sysdeps/powerpc/powerpc32/crtn.S: New file.
63399         * sysdeps/powerpc/powerpc64/crti.S: New file.
63400         * sysdeps/powerpc/powerpc64/crtn.S: New file.
63402         * Makeconfig (have-initfini): Don't set.
63403         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63404         * configure.in (nopic_initfini): Don't substitute.
63405         * config.h.in (HAVE_INITFINI): Don't #undef.
63406         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63407         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63409 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
63411         Support crti.S and crtn.S provided directly by architectures.
63412         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63413         [crti.S in sysdirs] (omit-deps): Likewise.
63414         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63415         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63416         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63417         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63418         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63419         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63420         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63421         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63422         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63423         compiler output for sysdeps/generic/initfini.c.
63424         * sysdeps/i386/elf/Makefile: Remove file.
63425         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63427 2012-02-07  Marek Polacek  <polacek@redhat.com>
63429         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63430         * sysdeps/gnu/_G_config.h: Likewise.
63431         * sysdeps/mach/hurd/_G_config.h: Likewise.
63433 2012-02-07  Marek Polacek  <polacek@redhat.com>
63435         * math/Makefile (tests): Add tst-CMPLX2.
63436         * math/tst-CMPLX2.c: New file.
63438 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
63440         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63442         * math/libm-test.inc (jn_test): Add missing L suffix.
63444 2012-02-06  Marek Polacek  <polacek@redhat.com>
63446         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63447         * sysdeps/i386/fpu/e_powf.S: Likewise.
63448         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63449         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63450         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63451         * sysdeps/i386/fpu/e_pow.S: Likewise.
63452         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63453         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63454         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63455         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63456         * sysdeps/i386/fpu/e_log2.S: Likewise.
63457         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63458         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63459         * sysdeps/i386/fpu/e_powl.S: Likewise.
63460         * sysdeps/i386/fpu/s_log1p.S: Likewise.
63461         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63462         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63463         * sysdeps/i386/fpu/e_logl.S: Likewise.
63464         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63465         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63466         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63467         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63468         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63469         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63470         * sysdeps/i386/fpu/e_log.S: Likewise.
63471         * sysdeps/i386/fpu/s_cexp.S: Likewise.
63472         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63473         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63474         * sysdeps/i386/fpu/e_logf.S: Likewise.
63475         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63476         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63477         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63478         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63479         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63480         * sysdeps/i386/fpu/e_log10.S: Likewise.
63481         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63482         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63483         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63484         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63485         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63486         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63487         * sysdeps/i386/asm-syntax.h: Likewise.
63488         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63489         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63490         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63491         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63492         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63493         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63494         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63495         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63496         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63497         * sysdeps/powerpc/sysdep.h: Likewise.
63498         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63499         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63501 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63503         [BZ #411]
63504         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63506 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63508         * sysdeps/i386/sysdep.h: Include <features.h>.
63509         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63510         version.
63512 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
63514         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
63515         Define.
63516         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
63517         LOAD_PIC_REG_STR.
63519 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63521         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
63522         (SETUP_PIC_REG): Use GET_PC_THUNK.
63523         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
63524         macro.
63526 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63528         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
63529         for non-PIC compilation.
63530         (SETUP_PIC_REG): Add .p2align directive.
63531         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
63532         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
63533         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63534         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63535         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63536         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63537         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
63538         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63539         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63540         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63541         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63542         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63543         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63544         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63545         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63546         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63547         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63548         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63549         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63550         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63551         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63552         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63553         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63554         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63555         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63556         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63557         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63558         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63559         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63560         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63561         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63562         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63563         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63564         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63565         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63566         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63567         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63568         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63569         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63570         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63571         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63573 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63575         * math/tst-CMPLX.c: Include <stdio.h>.
63577 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
63579         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
63580         float.
63581         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63582         * sysdeps/sparc/bits/mathdef.h: Likewise.
63584 2012-01-31  Marek Polacek  <polacek@redhat.com>
63586         * libio/libio.h: Don't define _PARAMS.
63587         * locale/programs/config.h: Don't define PARAMS.
63588         * stdlib/strtol_l.c: Likewise.
63589         (__strtol_l): Remove PARAMS from the prototype.
63591 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
63593         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
63594         names.  Just use the correct names.  Remove unnecessary wrapper
63595         functions.
63596         * malloc/arena.c: Likewise.
63597         * malloc/hooks.c: Likewise.
63599         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63600         ARENA_TEST says not to.  Simplify test for creation of a new arena.
63601         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63603 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
63605         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63606         into tail calls.
63607         (update_get_addr): New function.
63608         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63609         GET_ADDR_MODULE parameter.
63611 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63613         * crypt/cert.c: Remove __STDC__ conditionals.
63614         * crypt/crypt-entry.c: Likewise.
63615         * crypt/crypt_util.c: Likewise.
63616         * libio/filedoalloc.c: Likewise.
63617         * libio/fileops.c: Likewise.
63618         * libio/genops.c: Likewise.
63619         * libio/iofclose.c: Likewise.
63620         * libio/iofdopen.c: Likewise.
63621         * libio/iofopen.c: Likewise.
63622         * libio/iofopen64.c: Likewise.
63623         * libio/iogetdelim.c: Likewise.
63624         * libio/iopopen.c: Likewise.
63625         * libio/obprintf.c: Likewise.
63626         * libio/oldfileops.c: Likewise.
63627         * libio/oldiofclose.c: Likewise.
63628         * libio/oldiofdopen.c: Likewise.
63629         * libio/oldiofopen.c: Likewise.
63630         * libio/oldiopopen.c: Likewise.
63631         * libio/wfiledoalloc.c: Likewise.
63632         * libio/wgenops.c: Likewise.
63633         * locale/programs/xmalloc.c: Likewise.
63634         * misc/syslog.c: Likewise.
63635         * stdio-common/xbug.c: Likewise.
63636         * string/memchr.c: Likewise.
63637         * string/memcmp.c: Likewise.
63638         * string/memrchr.c: Likewise.
63639         * string/rawmemchr.c: Likewise.
63640         * sysdeps/posix/getcwd.c: Likewise.
63641         * time/strftime_l.c: Likewise.
63643 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63645         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
63646         * config.make.in (config-cflags-sse2avx): Define.
63647         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
63648         Fix typo.
63650 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
63652         * scripts/config.guess: Update from upstream config git repository.
63653         * scripts/config.sub: Likewise.
63655 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
63657         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
63658         (EM_NUM): Update.
63659         (R_TILEPRO_*, R_TILEGX_*): New macros.
63661         * scripts/firstversions.awk: Fix bug in version range handling.
63663         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
63665         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
63667         * include/sys/epoll.h: New file.
63668         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
63669         libc_hidden_def.
63671 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
63673         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
63674         Avoid unnecessary __WORDSIZE == 64 test.
63675         (fmaxf): Use VEX format if possible.
63676         (fmax): Likewise.
63677         (fminf): Likewise.
63678         (fmin): Likewise.
63680         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
63681         * math/math_private.h: Remove libc_fegetround* and
63682         libc_fesetround*.
63683         * sysdeps/i386/configure.in: Check for -msse2avx.
63684         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
63685         also if SSE2AVX is defined.
63686         Remove libc_fegetround* and libc_fesetround*.
63687         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
63688         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
63689         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
63690         of HAS_YMM_USABLE.
63691         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63692         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63693         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63694         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63695         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63697         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
63699 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63701         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63702         size is not set.
63703         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63705 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63707         [BZ #13618]
63708         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63709         relocation.
63710         * Makeconfig (libm): Define.
63711         * elf/Makefile: Add rules to build and run tst-relsort1.
63712         * elf/tst-relsort1.c: New file.
63713         * elf/tst-relsort1mod1.c: New file.
63714         * elf/tst-relsort1mod2.c: New file.
63716 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63718         * math/s_ldexp.c: Remove __STDC__ conditionals.
63719         * math/s_ldexpf.c: Likewise.
63720         * math/s_ldexpl.c: Likewise.
63721         * math/s_nextafter.c: Likewise.
63722         * math/s_nexttowardf.c: Likewise.
63723         * math/s_significand.c: Likewise.
63724         * math/s_significandf.c: Likewise.
63725         * math/s_significandl.c: Likewise.
63726         * math/w_jnl.c: Likewise.
63727         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63728         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63729         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63730         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63731         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63732         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63733         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63734         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63735         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63736         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63737         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63738         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63739         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63740         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63741         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63742         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63743         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63744         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63745         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63746         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63747         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63748         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63749         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63750         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63751         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63752         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63753         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63754         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63755         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63756         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63757         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63758         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63759         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63760         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63761         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63762         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63763         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63764         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63765         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63766         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63767         * sysdeps/ieee754/k_standard.c: Likewise.
63768         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63769         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63770         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63771         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63772         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63773         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63774         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63775         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63776         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63777         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63778         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63779         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63780         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63781         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63782         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63783         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63784         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63785         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63786         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63787         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63788         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63789         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63790         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63791         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63792         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63793         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63794         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63795         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63796         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63797         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63798         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63799         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63800         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63801         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63802         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63803         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63804         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63805         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63806         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63807         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63808         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63809         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63810         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63811         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63812         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63813         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63814         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63815         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63816         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63817         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63818         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63819         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63820         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63821         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63822         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63823         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63824         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63825         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63826         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63827         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63828         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63829         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63830         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63831         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63832         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63833         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63834         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63835         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63836         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63837         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63838         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63839         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63840         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63841         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63842         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63843         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63844         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63845         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63846         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63847         * sysdeps/ieee754/s_matherr.c: Likewise.
63848         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63849         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63850         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63851         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63853 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63855         * crypt/md5.h: Remove __STDC__ conditionals.
63856         * libio/libioP.h: Likewise.
63857         * locale/programs/config.h: Likewise.
63858         * sysdeps/generic/sysdep.h: Likewise.
63859         * sysdeps/i386/asm-syntax.h: Likewise.
63860         * sysdeps/s390/asm-syntax.h: Likewise.
63861         * sysdeps/unix/sysdep.h: Likewise.
63862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63865 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63867         * libio/libio.h: Remove __STDC__ conditionals.
63868         * malloc/obstack.h: Likewise.
63869         * math/complex.h: Likewise.
63870         * math/math.h: Likewise.
63871         * sysdeps/generic/_G_config.h: Likewise.
63872         * sysdeps/gnu/_G_config.h: Likewise.
63873         * sysdeps/mach/hurd/_G_config.h: Likewise.
63874         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63875         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63876         * sysdeps/sparc/bits/mathdef.h: Likewise.
63878 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63880         [BZ #13583]
63881         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63882         Clean up HAS_* macros.
63883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63884         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63885         possible.
63886         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63887         HAS_AVX.
63888         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63889         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63890         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63891         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63892         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63894 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63896         * elf/tst-unique3.cc (gets): Remove declaration.
63897         * elf/tst-unique3lib.cc (gets): Likewise.
63898         * elf/tst-unique3lib2.cc (gets): Likewise.
63899         * elf/tst-unique4.cc (gets): Likewise.
63901 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63903         * include/stdio.h: Add C++ protection.  Add gets declarations and
63904         definitions.
63905         * debug/tst-chk1.c: Don't declare gets here.
63906         * stdio-common/tst-gets.c: Likewise.
63908 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63910         * posix/glob: Remove directory.
63912 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63914         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63916 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63918         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63919         of the non-standard EPFNOSUPPORT.
63921 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63923         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63924         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63925         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63927 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63929         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63931 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63933         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63934         transient errors.
63935         * nscd/grpcache.c (cache_addgr): Likewise.
63936         * nscd/hstcache.c (cache_addhst): Likewise.
63937         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63938         * nscd/pwdcache.c (cache_addpw): Likewise.
63939         * nscd/servicescache.c (cache_addserv): Likewise.
63941 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63943         * malloc/malloc.c: Various cleanups.
63944         * malloc/hooks.c: Likewise.
63946         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63947         * stdlib/bug-fmtmsg1.c: New file.
63949         * stdlib/fmtmsg.c (init): Add missing unlock.
63950         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63952 2012-01-12  Marek Polacek  <polacek@redhat.com>
63954         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63955         and _GNU_SOURCE.
63957 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63959         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63960         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63961         macro to ensure uniqueness of label name.
63962         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63963         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63965 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63967         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63969         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63970         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63971         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63972         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63974 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63976         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63978         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63979         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63980         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63982         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63984         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63985         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63986         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63987         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63989         * math/bits/math-finite.h: Add ldexp support.
63991 2012-01-10  Marek Polacek  <polacek@redhat.com>
63993         * locale/programs/localedef.h (show_archive_content): Add noreturn
63994         attribute.
63996 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63998         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64000 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64002         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64004         * io/Makefile (headers): Add bits/poll2.h.
64006 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64009         typo #include statement.
64011 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64013         * include/sys/cdefs.h: Define __attribute_alloc_size.
64014         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64015         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64016         * elf/pldd.c: Likewise.
64017         * iconv/iconv_charmap.c: Likewise.
64018         * iconv/iconvconfig.c: Likewise.
64019         * iconv/strtab.c: Likewise.
64020         * locale/programs/locale.c: Likewise.
64021         * locale/programs/localedef.h: Likewise.
64022         * locale/programs/simple-hash.c: Likewise.
64023         * nscd/nscd.h: Likewise.
64024         * nss/makedb.c: Likewise.
64025         * sysdeps/generic/ldconfig.h: Likewise.
64026         * locale/programs/localedef.c: Remove xmalloc prototype.
64027         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64029 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64031         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64032         appropriate.
64034 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64036         * math/Makefile (tests): Add tst-CMPLX.
64037         * math/tst-CMPLX.c: New file.
64039         * math/complex.h (CMPLXL): Fix typo.
64041         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64042         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64043         GLIBC_2.16.
64044         * debug/tst-chk1.c: Add poll and ppoll tests.
64045         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64046         * include/sys/poll.h: Add hidden proto for ppoll.
64047         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64048         * sysdeps/mach/hurd/ppoll.c: Likewise.
64049         * io/ppoll.c: Likewise.
64050         * debug/poll_chk.c: New file.
64051         * debug/ppoll_chk.c: New file.
64052         * include/bits/poll2.h: New file.
64053         * io/bits/poll2.h: New file.
64055         [BZ #1350]
64056         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64058         * configure.in: static is always set to yes.  Remove.
64059         * config.make.in: Don't set build-static.
64060         * Makeconfig: Remove use of build-static.
64061         * dlfcn/Makefile: Likewise.
64062         * elf/Makefile: Likewise.
64063         * math/Makefile: Likewise.
64064         * misc/Makefile: Likewise.
64065         * nptl/Makefile: Likewise.
64066         * sysdeps/mach/hurd/Makefile: Likewise.
64068         * configure.in: PWD_P is not used anymore.
64069         * config.make.in: Remove PWD_P entry.
64071         * configure.in: Remove last remnants of RANLIB.
64072         No need to check for signed size_t anymore.
64073         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64074         and IA-64.
64075         Remove __builtin_expect test because we require at least gcc 3.4.
64076         * aclocal.m4: Likewise.
64078         * wcsmbs/mbrtoc16.c: Implement using towc function.
64079         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64080         * wcsmbs/wcsmbsload.c: Likewise.
64081         * iconv/gconv_simple.c: Likewise.
64082         * iconv/gconv_int.h: Likewise.
64083         * iconv/gconv_builtin.h: Likewise.
64084         * iconv/iconv_prog.c: Remove CHAR16 handling.
64086         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64088         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64090         * configure.in: Remove --with-elf and --enable-bounded options.
64091         Dont set base_machine for ia64.  More non-ELF conditions removed.
64092         Remove testing and setting of leading underscore information.
64093         * config.make.in (build-bounded): Set to no.
64094         * config.h.in: Remove NO_UNDERSCORES entry.
64095         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64096         them.
64097         * csu/start.c: Remove !NO_UNDERSCORE code.
64098         * locale/localeinfo.h: Likewise.
64099         * sysdeps/generic/machine-gmon.h: Likewise.
64100         * sysdeps/generic/sysdep.h: Likewise.
64101         * sysdeps/i386/sysdep.h: Likewise.
64102         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64103         * sysdeps/mach/sysdep.h: Likewise.
64104         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64105         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64106         * sysdeps/sh/sysdep.h: Likewise.
64107         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64108         * sysdeps/unix/i386/sysdep.S: Likewise.
64109         * sysdeps/unix/sparc/start.c: Likewise.
64110         * sysdeps/unix/sparc/sysdep.S: Likewise.
64111         * sysdeps/unix/sparc/sysdep.h: Likewise.
64112         * sysdeps/unix/start.c: Likewise.
64113         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64114         * sysdeps/x86_64/sysdep.h: Likewise.
64116 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64118         [BZ #13553]
64119         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64120         for non-gcc.
64121         * argp/argp-fmtstream.h: Use const instead __const.
64122         * argp/argp.h: Likewise.
64123         * assert/assert.h: Likewise.
64124         * bits/fenv.h: Likewise.
64125         * bits/sched.h: Likewise.
64126         * bits/sigset.h: Likewise.
64127         * bits/sigthread.h: Likewise.
64128         * catgets/nl_types.h: Likewise.
64129         * conform/data/pthread.h-data: Likewise.
64130         * crypt/crypt-private.h: Likewise.
64131         * crypt/crypt.h: Likewise.
64132         * crypt/crypt_util.c: Likewise.
64133         * ctype/ctype.h: Likewise.
64134         * debug/execinfo.h: Likewise.
64135         * debug/mbsnrtowcs_chk.c: Likewise.
64136         * debug/mbsrtowcs_chk.c: Likewise.
64137         * debug/wcsnrtombs_chk.c: Likewise.
64138         * debug/wcsrtombs_chk.c: Likewise.
64139         * debug/wcstombs_chk.c: Likewise.
64140         * dirent/dirent.h: Likewise.
64141         * dlfcn/dlfcn.h: Likewise.
64142         * elf/neededtest4.c: Likewise.
64143         * grp/grp.h: Likewise.
64144         * gshadow/gshadow.h: Likewise.
64145         * iconv/gconv.h: Likewise.
64146         * iconv/gconv_int.h: Likewise.
64147         * iconv/gconv_simple.c: Likewise.
64148         * iconv/iconv.h: Likewise.
64149         * iconv/loop.c: Likewise.
64150         * iconv/skeleton.c: Likewise.
64151         * include/aio.h: Likewise.
64152         * include/aliases.h: Likewise.
64153         * include/argz.h: Likewise.
64154         * include/arpa/inet.h: Likewise.
64155         * include/assert.h: Likewise.
64156         * include/dirent.h: Likewise.
64157         * include/dlfcn.h: Likewise.
64158         * include/execinfo.h: Likewise.
64159         * include/fcntl.h: Likewise.
64160         * include/fenv.h: Likewise.
64161         * include/glob.h: Likewise.
64162         * include/grp.h: Likewise.
64163         * include/libintl.h: Likewise.
64164         * include/mntent.h: Likewise.
64165         * include/netdb.h: Likewise.
64166         * include/pwd.h: Likewise.
64167         * include/rpc/netdb.h: Likewise.
64168         * include/sched.h: Likewise.
64169         * include/search.h: Likewise.
64170         * include/shadow.h: Likewise.
64171         * include/signal.h: Likewise.
64172         * include/stdio.h: Likewise.
64173         * include/stdlib.h: Likewise.
64174         * include/string.h: Likewise.
64175         * include/sys/socket.h: Likewise.
64176         * include/sys/stat.h: Likewise.
64177         * include/sys/statfs.h: Likewise.
64178         * include/sys/statvfs.h: Likewise.
64179         * include/sys/syslog.h: Likewise.
64180         * include/sys/time.h: Likewise.
64181         * include/sys/uio.h: Likewise.
64182         * include/time.h: Likewise.
64183         * include/unistd.h: Likewise.
64184         * include/utmp.h: Likewise.
64185         * include/wchar.h: Likewise.
64186         * include/wctype.h: Likewise.
64187         * inet/aliases.h: Likewise.
64188         * inet/arpa/inet.h: Likewise.
64189         * inet/netinet/ether.h: Likewise.
64190         * inet/netinet/in.h: Likewise.
64191         * intl/libintl.h: Likewise.
64192         * io/bits/fcntl2.h: Likewise.
64193         * io/fcntl.h: Likewise.
64194         * io/ftw.h: Likewise.
64195         * io/sys/poll.h: Likewise.
64196         * io/sys/stat.h: Likewise.
64197         * io/sys/statfs.h: Likewise.
64198         * io/sys/statvfs.h: Likewise.
64199         * io/utime.h: Likewise.
64200         * libio/bits/stdio.h: Likewise.
64201         * libio/bits/stdio2.h: Likewise.
64202         * libio/libio.h: Likewise.
64203         * libio/libioP.h: Likewise.
64204         * libio/stdio.h: Likewise.
64205         * locale/lc-ctype.c: Likewise.
64206         * locale/locale.h: Likewise.
64207         * login/utmp.h: Likewise.
64208         * malloc/arena.c: Likewise.
64209         * malloc/malloc.c: Likewise.
64210         * malloc/malloc.h: Likewise.
64211         * malloc/mcheck.c: Likewise.
64212         * malloc/mtrace.c: Likewise.
64213         * math/bits/mathcalls.h: Likewise.
64214         * math/fenv.h: Likewise.
64215         * math/math_private.h: Likewise.
64216         * misc/bits/error.h: Likewise.
64217         * misc/bits/syslog.h: Likewise.
64218         * misc/err.h: Likewise.
64219         * misc/error.h: Likewise.
64220         * misc/fstab.h: Likewise.
64221         * misc/mntent.h: Likewise.
64222         * misc/regexp.h: Likewise.
64223         * misc/search.h: Likewise.
64224         * misc/sgtty.h: Likewise.
64225         * misc/sys/mman.h: Likewise.
64226         * misc/sys/syslog.h: Likewise.
64227         * misc/sys/uio.h: Likewise.
64228         * misc/sys/xattr.h: Likewise.
64229         * misc/ttyent.h: Likewise.
64230         * nis/rpcsvc/ypclnt.h: Likewise.
64231         * nss/nss.h: Likewise.
64232         * posix/bits/unistd.h: Likewise.
64233         * posix/fnmatch.h: Likewise.
64234         * posix/glob.h: Likewise.
64235         * posix/sched.h: Likewise.
64236         * posix/spawn.h: Likewise.
64237         * posix/sys/wait.h: Likewise.
64238         * posix/unistd.h: Likewise.
64239         * posix/wordexp.h: Likewise.
64240         * pwd/pwd.h: Likewise.
64241         * resolv/netdb.h: Likewise.
64242         * resource/sys/resource.h: Likewise.
64243         * rt/aio.h: Likewise.
64244         * rt/bits/mqueue2.h: Likewise.
64245         * rt/mqueue.h: Likewise.
64246         * shadow/shadow.h: Likewise.
64247         * signal/signal.h: Likewise.
64248         * socket/send.c: Likewise.
64249         * socket/sendto.c: Likewise.
64250         * socket/sys/socket.h: Likewise.
64251         * stdio-common/printf.h: Likewise.
64252         * stdlib/bits/stdlib.h: Likewise.
64253         * stdlib/fmtmsg.h: Likewise.
64254         * stdlib/monetary.h: Likewise.
64255         * stdlib/stdlib.h: Likewise.
64256         * stdlib/ucontext.h: Likewise.
64257         * streams/stropts.h: Likewise.
64258         * string/argz.h: Likewise.
64259         * string/bits/string2.h: Likewise.
64260         * string/string.h: Likewise.
64261         * string/strings.h: Likewise.
64262         * sunrpc/rpc/auth.h: Likewise.
64263         * sunrpc/rpc/auth_des.h: Likewise.
64264         * sunrpc/rpc/clnt.h: Likewise.
64265         * sunrpc/rpc/netdb.h: Likewise.
64266         * sunrpc/rpc/pmap_clnt.h: Likewise.
64267         * sunrpc/rpc/xdr.h: Likewise.
64268         * sysdeps/generic/inttypes.h: Likewise.
64269         * sysdeps/generic/net/if.h: Likewise.
64270         * sysdeps/generic/sys/swap.h: Likewise.
64271         * sysdeps/gnu/net/if.h: Likewise.
64272         * sysdeps/gnu/utmpx.h: Likewise.
64273         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64274         * sysdeps/i386/i486/bits/string.h: Likewise.
64275         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64276         * sysdeps/s390/bits/string.h: Likewise.
64277         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64278         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64279         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64280         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64281         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64282         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64283         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64284         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64285         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64286         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64287         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64288         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64289         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64290         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64291         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64292         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64293         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64294         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64295         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64296         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64297         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64298         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64299         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64300         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64301         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64302         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64303         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64304         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64305         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64306         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64307         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64308         * sysvipc/sys/ipc.h: Likewise.
64309         * sysvipc/sys/msg.h: Likewise.
64310         * sysvipc/sys/sem.h: Likewise.
64311         * sysvipc/sys/shm.h: Likewise.
64312         * termios/termios.h: Likewise.
64313         * time/sys/time.h: Likewise.
64314         * time/time.h: Likewise.
64315         * wcsmbs/bits/wchar2.h: Likewise.
64316         * wcsmbs/uchar.h: Likewise.
64317         * wcsmbs/wchar.h: Likewise.
64318         * wctype/wctype.h: Likewise.
64320         [BZ #13551]
64321         * Makeconfig: Remove all but ELF support including AIX support.
64322         * Makerules: Likewise.
64323         * config.h.in: Likewise.
64324         * config.make.in: Likewise.
64325         * configure: Likewise.
64326         * configure.in: Likewise.
64327         * csu/Makefile: Likewise.
64328         * csu/version.c: Likewise.
64329         * debug/Makefile: Likewise.
64330         * dlfcn/Makefile: Likewise.
64331         * elf/Makefile: Likewise.
64332         * extra-lib.mk: Likewise.
64333         * iconv/Makefile: Likewise.
64334         * include/libc-symbols.h: Likewise.
64335         * include/shlib-compat.h: Likewise.
64336         * resolv/Makefile: Likewise.
64337         * resolv/res_libc.c: Likewise.
64338         * rt/Makefile: Likewise.
64339         * sysdeps/i386/asm-syntax.h: Likewise.
64340         * sysdeps/i386/sysdep.h: Likewise.
64341         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64342         * sysdeps/mach/sysdep.h: Likewise.
64343         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64344         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64345         * sysdeps/s390/asm-syntax.h: Likewise.
64346         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64347         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64348         * sysdeps/sh/sysdep.h: Likewise.
64349         * sysdeps/unix/sparc/sysdep.h: Likewise.
64350         * sysdeps/wordsize-32/divdi3.c: Likewise.
64351         * sysdeps/x86_64/sysdep.h: Likewise.
64353         * argp/Versions: Remove _argp_unlock_xxx.
64355         [BZ #13559]
64356         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
64357         * abilist/libBrokenLocale.abilist: Likewise.
64358         * abilist/libanl.abilist: Likewise.
64359         * abilist/libc.abilist: Likewise.
64360         * abilist/libcrypt.abilist: Likewise.
64361         * abilist/libdl.abilist: Likewise.
64362         * abilist/libm.abilist: Likewise.
64363         * abilist/libnsl.abilist: Likewise.
64364         * abilist/libpthread.abilist: Likewise.
64365         * abilist/libresolv.abilist: Likewise.
64366         * abilist/librt.abilist: Likewise.
64367         * abilist/libthread_db.abilist: Likewise.
64368         * abilist/libutil.abilist: Likewise.
64369         * abilist/libnss_db.abilist: New file.
64371         * scripts/abilist.awk: Add support for indirect functions.
64373         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64375         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64377         * shlib-versions: Remove entries for ports architectures.
64379         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
64380         files in ports.
64381         * elf/stackguard-macros.h: Remove support for IA-64.
64382         * elf/tst-auditmod1.c: Likewise.
64383         * sysdeps/generic/ldsodefs.h: Likewise.
64385         * sysdeps/unix/sysv/linux/configure.in: Ports should define
64386         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64387         configure files.
64389         [BZ #13552]
64390         * configure.in: Remove --enable-omitfp support.
64391         * FAQ.in: Adjust.
64392         * config.make.in: Likewise.
64393         * Makeconfig: Likewise.
64394         * manual/install.texi: Likewise.
64396         In case anyone cares, the IA-64 architecture could move to ports.
64397         * sysdeps/ia64/*: Removed.
64398         * sysdeps/unix/sysv/linux/ia64/*: Removed.
64399         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64401         [BZ #13555]
64402         * configure.in: Remove entries for unsupported architectures.
64404         [BZ #13533]
64405         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64406         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
64407         routines.
64408         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64409         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64410         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
64411         fall back to using wcrtomb.
64412         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64413         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
64414         renaming.
64415         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64416         * wcsmbs/tst-c16c32-1.c: New file.
64418         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64419         local variable.
64421         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64423         * elf/tst-unique3.cc: Add explicit declaration of gets.
64424         * elf/tst-unique3lib.cc: Likewise.
64425         * elf/tst-unique3lib2.cc: Likewise.
64426         * elf/tst-unique4.cc: Likewise.
64428         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64430 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
64432         [BZ #13566]
64433         * assert/assert.h (static_assert): Don't define for C++.
64434         * libio/stdio.h (gets): Do declare for C++ <= C++11.
64435         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64437 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
64439         * iconv/loop.c (single loop): Fix assertion in storing of
64440         remaining bytes.
64442         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64444 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
64446         * posix/getconf.c: Update copyright year.
64447         * nss/getent.c: Likewise.
64448         * nss/makedb.c: Likewise.
64449         * iconv/iconvconfig.c: Likewise.
64450         * iconv/iconv_prog.c: Likewise.
64451         * elf/ldconfig.c: Likewise.
64452         * elf/pldd.c: Likewise.
64453         * elf/sotruss.ksh: Likewise.
64454         * catgets/gencat.c: Likewise.
64455         * csu/version.c: Likewise.
64456         * elf/ldd.bash.in: Likewise.
64457         * elf/sprof.c (print_version): Likewise.
64458         * locale/programs/locale.c: Likewise.
64459         * locale/programs/localedef.c: Likewise.
64460         * login/programs/pt_chown.c: Likewise.
64461         * nscd/nscd.c (print_version): Likewise.
64462         * debug/xtrace.sh: Likewise.
64463         * malloc/memusage.sh: Likewise.
64464         * malloc/mtrace.pl: Likewise.
64465         * debug/catchsegv.sh: Likewise.
64467 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
64469         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64470         pure attribute.
64472 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
64474         [BZ #13533]
64475         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64476         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64477         transformations.
64478         * iconv/gconv_int.h: Likewise.
64479         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64480         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64481         from libc for GLIBC_2.16.
64482         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64483         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64484         * wcsmbs/uchar.h: Really define mbstate_t.
64485         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64486         * wcsmbs/c16rtomb.c: New file.
64487         * wcsmbs/mbrtoc16.c: New file.
64488         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64489         for C/POSIX locale.
64490         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64491         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64493         * wcsmbs/wchar.h: Add missing __restrict.
64495 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64497         [BZ #13532]
64498         * time/Makefile (routines): Add timespec_get.
64499         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64500         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
64501         timespec for ISO C11.
64502         * time/timespec_get.c: New file.
64503         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64504         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64506         [BZ #13531]
64507         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64508         * stdlib/stdlib.h: Declare aligned_alloc.
64509         * Versions.def: Add GLIBC_2.16 for libc.
64510         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64512         [BZ 13527]
64513         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
64514         ISO C11.
64516         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
64517         code.
64519         [BZ #13528]
64520         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
64522         [BZ #13529]
64523         * assert/assert.h (static_assert): Define.
64525         * version.h: Update for 2.16 development version.
64527         [BZ #13526]
64528         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
64529         _ISOC11_SOURCE.
64531         * version.h (RELEASE): Bump for 2.15 release.
64532         * include/features.h (__GLIBC_MINOR__): Bump to 15.
64534         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
64535         Patch by Marek Polacek <mpolacek@redhat.com>.
64537         * bits/byteswap.h: Protect long long constants with __extension__.
64538         * sysdeps/i386/bits/byteswap.h: Likewise.
64539         * sysdeps/ia64/bits/byteswap.h: Likewise.
64540         * sysdeps/s390/bits/byteswap.h: Likewise.
64541         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64543 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64545         [BZ #13540]
64546         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
64547         destination buffer.
64548         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
64550 2011-12-23  Marek Polacek  <polacek@redhat.com>
64552         * elf/dl-addr.c (determine_info): Add inline keyword.
64553         * elf/tst-auditmod4b.c (check_avx): Likewise.
64554         * elf/tst-auditmod6b.c (check_avx): Likewise.
64555         * elf/tst-auditmod6c.c (check_avx): Likewise.
64556         * elf/tst-auditmod7b.c (check_avx): Likewise.
64558 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64560         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
64561         !__SSE_MATH__.
64563 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64565         [BZ #13540]
64566         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
64567         processing for last bytes.
64569 2011-08-06  Bruno Haible  <bruno@clisp.org>
64571         [BZ #13061]
64572         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
64573         U+0385, not to U+1FEE.
64575         [BZ #13062]
64576         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
64577         entry for U+00A5 U+0301.
64579 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64581         [BZ #13166]
64582         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
64583         buffer for the output is too small.
64585         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64586         optimization.
64588         [BZ #13185]
64589         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64590         SSE flags if possible.
64592 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64594         [BZ #13540]
64595         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64596         processing for last bytes.
64598 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
64600         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64601         (syscall-list-default-options, syscall-list-default-condition)
64602         (syscall-list-includes): Define.
64603         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64604         list of ABIs and options and #if conditions for each ABI.  Do not
64605         handle common syscalls between ABIs specially.
64606         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64607         Remove.
64608         (syscall-list-variants, syscall-list-32bit-options)
64609         (syscall-list-32bit-condition, syscall-list-64bit-options)
64610         (syscall-list-64bit-condition): Define.
64611         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64612         (syscall-list-variants, syscall-list-32bit-options)
64613         (syscall-list-32bit-condition, syscall-list-64bit-options)
64614         (syscall-list-64bit-condition): Define.
64615         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64616         Remove.
64617         (syscall-list-variants, syscall-list-32bit-options)
64618         (syscall-list-32bit-condition, syscall-list-64bit-options)
64619         (syscall-list-64bit-condition): Define.
64620         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64621         Remove.
64622         (syscall-list-variants, syscall-list-32bit-options)
64623         (syscall-list-32bit-condition, syscall-list-64bit-options)
64624         (syscall-list-64bit-condition): Define.
64626 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64628         * locale/iso-639.def: Add brx entry.
64630         [BZ #13328]
64631         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64632         Proposed by Mariusz_Cukr <marcukr@op.pl>.
64634         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64635         __feraiseexcept_renamed.
64637 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64639         [BZ #13538]
64640         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
64641         EPOLLET with unsigned values.
64642         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64643         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64645         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
64646         to large cancellation.
64647         * math/s_cacoshf.c: Likewise.
64648         * math/s_cacoshl.c: Likewise.
64650 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
64652         [BZ #13305]
64653         [BZ #12786]
64654         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
64655         * math/s_cacoshf.c: Likewise.
64656         * math/s_cacoshl.c: Likewise.
64658 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64660         [BZ #13439]
64661         * iconv/gconv.h: Define __GCONV_SWAP.
64662         * iconvdata/unicode.c: The swap bit must be stored in __flags.
64663         * iconvdata/utf-16.c: Likewise.
64664         * iconvdata/utf-32.c: Likewise.
64666 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
64668         [BZ #13524]
64669         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
64670         numerator after shifting it by one limb.
64672 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
64674         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
64675         under [__USE_EXTERN_INLINES].
64677 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64679         [BZ #13446]
64680         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
64682 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64684         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
64685         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
64686         optimized code.
64687         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
64688         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
64689         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
64690         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
64691         for strncasecmp/strncasecmp_l compilation.
64692         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
64693         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
64695 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
64697         [BZ #13484]
64698         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
64699         of __asm__.
64701 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64703         [BZ #13506]
64704         * time/tzfile.c (__tzfile_read): Check values from file header.
64706 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64708         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64709         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64710         * powerpc/powerpc32/dl-start.S: Likewise.
64711         * powerpc/powerpc32/elf/start.S: Likewise.
64712         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64713         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64714         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64715         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64716         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64717         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64718         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64719         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64720         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64721         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64722         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64723         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64724         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64725         * powerpc/powerpc32/memset.S: Likewise.
64726         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64727         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64728         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64729         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64730         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64731         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64732         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64733         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64734         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64735         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64736         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64737         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64738         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64740 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64742         * math/libm-test.inc: Added more nearbyint tests.
64743         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64744         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64745         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64746         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64748 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64750         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64751         FD_CLOEXEC.
64753 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64755         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64756         Add wcscpy-ssse3 wcscpy-c.
64757         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64758         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64759         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64760         * sysdeps/x86_64/wcschr.S: New file.
64761         * sysdeps/x86_64/wcsrchr.S: New file.
64762         * string/test-strcmp.c: Remove checking of wcscmp function for
64763         wrong alignments.
64764         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64765         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64766         wcsrchr-sse2 wcsrchr-c.
64767         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64768         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64769         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64770         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64771         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64772         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64773         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64774         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64775         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64776         * wcsmbc/wcschr.c (WCSCHR): New macro.
64778 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64780         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64781         * wcsmbs/test-wcsrchr.c: New file.
64782         * string/test-strrchr.c: Add wcsrchr support.
64783         (WIDE): New macro.
64784         * wcsmbs/test-wcscpy.c: New file.
64785         * string/test-strcpy.c: Add wcscpy support.
64786         (WIDE): New macro.
64788 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64790         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64791         the inner loop.
64793 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64795         [BZ #13472]
64796         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64798 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64800         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64801         Minor optimizations.
64803         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64804         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64805         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64807 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64809         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64810         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64811         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64812         for gcc to avoid warnings.
64813         * inet/Makefile (tests): Add tst-checks.
64814         * inet/tst-checks.c: New file.
64816         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64817         warning.
64819         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64820         __wmemcmp_sse2.
64822         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64823         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64825         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64827 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64829         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64830         problem.
64832         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64834 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64836         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64837         conditional on GCC version.
64838         (__arch_compare_and_exchange_val_8_acq)
64839         (__arch_compare_and_exchange_val_16_acq)
64840         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64841         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64842         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64844 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64846         * sysdeps/sh/backtrace.c: New file.
64848 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64850         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64851         parenthesis.
64853 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64855         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64856         falling back to utime.
64858 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64860         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64861         expectations for float.
64863 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64865         * locale/weight.h (findidx): Add parameter len.
64866         * locale/weightwc.h (findidx): Likewise.
64867         * posix/fnmatch_loop.c (FCT): Adjust caller.
64868         * posix/regcomp.c (build_equiv_class): Likewise.
64869         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64870         * posix/regexec.c (check_node_accept_bytes): Likewise.
64871         * string/strcoll_l.c (STRCOLL): Likewise.
64872         * string/strxfrm_l.c (STRXFRM): Likewise.
64874 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64876         * Makefile.in: Remove CVSOPT handling.
64877         * configure.in: Remove use of AC_REVISION.
64878         * iconvdata/Makefile (distribute): No need to filter out CVS.
64879         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64880         handling.
64882 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64884         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64885         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64886         [USE_AS_STRNCASECMP_L]: Likewise.
64887         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64888         NO_TLS_DIRECT_SEG_REFS.
64889         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64890         Fix argument offsets for non-PIC.
64891         [USE_AS_STRNCASECMP_L]: Likewise.
64892         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64893         NO_TLS_DIRECT_SEG_REFS.
64895 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64897         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64898         O_CLOEXEC.
64899         * locale/loadlocale.c (_nl_load_locale): Likewise.
64901 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64903         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64904         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64905         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64906         (SYSCALL_GETTIME): Set errno on error.
64908         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64909         count references to noai6ai_cached.
64911 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64913         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64915         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64916         FD_CLOEXEC for /proc/self/maps.
64918         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64919         FD_CLOEXEC for /proc/meminfo.
64921         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64922         gai.conf.
64924         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64925         FD_CLOEXEC for given file.
64927         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64929         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64930         FD_CLOEXEC for /etc/hosts.
64931         (_gethtent): Likewise.
64933         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64935         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64936         cancellation and set FD_CLOEXEC for /etc/netgroup.
64938         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64939         reading /etc/publickey.
64941         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64942         allow cancellation when reading /etc/group.
64944         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64945         cancellation.
64946         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64948         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64949         when using data file.
64951         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64953         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64954         (write_nis_obj): Use "c" and "e" in fopen.
64956         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64958         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64960         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64962         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64964         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64965         locale.alias.
64967         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64969         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64971         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64973         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64974         file parsing and set FD_CLOEXEC.
64976 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64978         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64980 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64982         * malloc/arena.c (arena_get2): Don't call reused_arena when
64983         _int_new_arena failed.
64985 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64987         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64988         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64989         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64990         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64991         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64992         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64993         to compile strcasecmp and strncasecmp.
64994         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64995         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64999 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65001         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65002         locale-defines.sym to gen-as-const-headers.
65003         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65004         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65005         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65006         to compile strcasecmp and strncasecmp.
65007         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65008         strcasecmp_l and strncasecmp_l.
65009         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65010         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65011         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65012         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65013         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65014         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65015         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65016         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65017         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65018         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65019         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65021 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65023         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65024         result of SYSDEP_GETTIME_CPU to retval.
65025         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65026         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65028         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65029         variable.
65031         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65032         mantissa words.
65033         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65035         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65036         from unused variable.
65038         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65039         DWARF definitions.
65040         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65041         for assembling.
65043         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65044         over namespaces.
65046         * sunrpc/rpc_prot.c (rejected): Fix case value.
65048         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65049         unsigned long long int to avoid warnings in shift.
65051         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65052         of use of trans.
65053         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65054         variable tmp.
65056         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65057         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65058         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65060         * nis/nis_table.c (nis_list): Use variable of correct type for
65061         result of __follow_path call.
65063 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65065         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65066         of math functions ceil, trunc, floor, round, and sqrt, when
65067         avaliable on the platform.
65068         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65069         name clash.
65070         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65071         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65072         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65074 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65076         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65077         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65079 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65081         * include/unistd.h: Fix __readlink return type.
65082         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65084 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65086         * stdlib/ucontext.h: Undo last change for makecontext.
65088 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65090         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65092         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65093         * setjmp/setjmp.h: Mark functions as non-leaf.
65094         * setjmp/bits/setjmp2.h: Likewise.
65095         * stdlib/ucontext.h: Likewise.
65097 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65099         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65100         (reused_arena): Don't check arena limit.
65101         (arena_get2): Atomically check arena limit.
65103 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65105         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65106         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65108         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65109         instructions.
65111 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65113         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65114         handler when locking.
65116         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65117         Fix size of allocated buffer.
65119 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65121         [BZ #10103]
65122         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65123         declarations for long double functions.
65124         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65126         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65128 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65130         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65131         installed.
65133         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65134         is disabled.
65136 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65138         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65140 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65142         * include/alloca.h (stackinfo_alloca_round): Define.
65143         (extend_alloca): Use it.
65144         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65145         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65146         here.
65148         * scripts/check-local-headers.sh: Ignore libaudit.h.
65150         * nscd/Makefile (extra-objs): Make recursively expanded.
65152 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
65154         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65155         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65157         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65158         * posix/tst-rfc3484-2.c: Likewise.
65159         * posix/tst-rfc3484-3.c: Likewise.
65161         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65162         process_vm_writev.
65163         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65164         process_vm_writev.
65165         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65166         process_vm_writev from libc using GLIBC_2.15 version.
65168         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65170 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65172         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65173         stack usage.
65175 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65177         [BZ #13367]
65178         * nss/getent.c (initgroups_keys): Show error message in case no group
65179         names are given.
65181         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65182         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65183         __bump_nl_timestamp.
65184         * nscd/connections (nscd_init): When host database is served open
65185         netlink socket and request notification about configuration changes.
65186         (main_loop_poll): Track netlink file descriptor and bump timestamp
65187         in case data becomes available.
65188         (main_loop_epoll): Likewise.
65189         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65190         (database_pers_head): Add extra_data fileds.
65191         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65192         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65193         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65194         Adjust caller.
65195         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65196         in6ai data, call __free_in6ai.
65197         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65198         Add -DHAVE_NETLINK.
65199         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65200         interface information.  Reuse previous data if netlink timestamp
65201         is not changed.
65202         (__bump_nl_timestamp): New function.
65203         (__free_in6ai): New function.
65205 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65207         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65208         close_not_cancel_no_status here.
65209         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65211 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65213         [BZ #13276]
65214         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65215         return value.
65217         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65218         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65219         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65221 2011-07-03  Andreas Jaeger  <aj@suse.de>
65223         [BZ #10709]
65224         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65225         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65226         * math/libm-test.inc (sin_test): Add test case.
65228 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65230         [BZ #13337]
65231         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65232         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65234         * elf/chroot_canon.c (chroot_canon): Cleanups.
65236         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65238         [BZ #13335]
65239         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65240         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65242         * string/test-strchr.c: Make usable for strchrnul testing.
65243         * string/test-strchrnul.c: New file.
65244         * string/Makefile (strop-tests): Add strchrnul.
65246         * po/it.po: Update from translation team.
65247         * po/es.po: Likewise.
65249 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
65251         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65252         the three constants needed as parameters.  Drop the others.
65253         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65254         __m128i_strloadu_tolower.
65255         Create and initialize variable zero and use it in all the places
65256         where _mm_setzero_si128 was used.
65258         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65259         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65260         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65261         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65262         anymore.
65263         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65264         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65265         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65266         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65267         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65268         __mpranred, __mptan.
65269         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65270         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65271         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65272         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65273         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65274         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65275         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65276         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65277         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65279 2011-10-28  Andreas Schwab  <schwab@redhat.com>
65281         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65282         redefine if SHARED.
65283         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65285         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65286         wide char related routines to wcsmbs subdir.
65288 2011-10-27  Andreas Schwab  <schwab@redhat.com>
65290         [BZ #13344]
65291         * misc/sys/cdefs.h (__THROWNL): Define.
65292         * posix/unistd.h: Use __THREADNL instead of __THREAD
65293         for memory synchronization functions.
65295 2011-10-26  Roland McGrath  <roland@hack.frob.com>
65297         [BZ #13349]
65298         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65299         doesn't exist.
65300         * manual/stdio.texi (Obstack Streams): Node removed.
65302 2011-10-26  Andreas Schwab  <schwab@redhat.com>
65304         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65305         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65306         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65308         * math/math_private.h (math_force_eval): Allow non-addressable
65309         arguments.
65310         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65312 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65314         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65315         file is not needed.
65317         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65318         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65319         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65320         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65321         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65322         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65323         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65324         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65325         Add AVX variants.
65326         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65327         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65328         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65329         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65330         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65331         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65332         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65333         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65334         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65335         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65336         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65337         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65338         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65339         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65340         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65341         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65342         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65343         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65344         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65346         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65347         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
65349         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65350         place.  Use VEX encoding when compiling for AVX.
65352 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65354         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65355         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65357         * string/test-strchr.c (do_test): Don't generate NUL bytes.
65359 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65361         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65362         useless if() expression.
65363         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65364         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65365         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65366         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65367         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65368         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65369         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65370         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65371         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65372         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65373         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65374         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65375         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65376         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65377         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65378         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65379         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65380         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65381         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65383         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65385 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65387         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65388         condition.
65389         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65391 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65393         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65394         .text section.  Avoid duplicate constants.
65395         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65396         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65397         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65398         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65399         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65400         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65401         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65402         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65403         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65404         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65405         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65406         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65407         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65408         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65409         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65410         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65411         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65412         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65413         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65414         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65415         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65416         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65417         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65418         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65419         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65420         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65421         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65422         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65423         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65424         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65425         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65426         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65427         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65428         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65429         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65430         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65431         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65432         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65433         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65434         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65435         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65436         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65437         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65438         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65439         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65441 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
65443         * sysdeps/x86_64/dla.h: Move to ...
65444         * sysdeps/x86_64/fpu/dla.h: ...here.
65445         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65446         situations.  Use __builtin_fma only for gcc 4.6 and up.
65448         * config.make.in: Add have-mfma4 entry.
65449         * configure.in: Substitute libc_cv_cc_fma4.
65450         * math/Makefile (dbl-only-routines): Add sincostab.
65451         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65452         Use __sincostab not sincos.
65453         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65454         name is a macro.
65455         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65456         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65457         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65458         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
65459         using __copysign.
65460         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
65461         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
65462         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65463         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65464         and __inv.
65465         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65466         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65467         __copysign.
65468         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
65469         define aliases when function name is a macro.
65470         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65471         sysdeps/ieee754/dbl-64/sincos.tbl.
65472         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65473         fma4-enabled routines.
65474         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65475         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65476         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65477         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65478         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65479         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65480         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65481         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65482         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65483         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65484         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65485         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65486         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65487         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65488         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65489         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65490         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65491         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65492         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65493         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65494         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65495         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65496         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65497         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65498         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65499         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65500         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65501         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65502         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65503         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65505         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65506         rename.
65507         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65508         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65509         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65510         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65511         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65512         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65513         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65514         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65516 2011-10-24  Andreas Schwab  <schwab@redhat.com>
65518         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
65520 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65522         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
65524         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
65525         prediction.
65526         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
65528         * string/strnlen.c: Don't define STRNLEN, reverse logic.
65529         Remove unused variable magic_bits.
65530         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
65532         * string/strnlen.c: Define and use STRNLEN macro.
65533         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
65534         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
65535         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
65536         * wcsmbs/wcslen.c: Define and use WCSLEN.
65537         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
65538         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
65539         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
65540         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
65541         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
65542         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
65543         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65545 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65548         strnlen-sse2-no-bsf.
65549         Rename strlen-no-bsf to strlen-sse2-no-bsf.
65550         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
65551         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
65552         Add strnlen support.
65553         (USE_AS_STRNLEN): New macro.
65554         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
65555         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
65556         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
65557         * sysdeps/x86_64/wcslen.S: New file.
65559 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
65561         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65562         XMM-moves are used for copying on small sizes.
65564 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65566         * wcsmbs/Makefile (strop-tests): Add wcschr.
65567         * wcsmbs/test-wcschr.c: New file.
65568         * string/test-strchr.c: Update.
65569         Add wcschr support.
65570         (WIDE): New macro.
65572 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65574         * wcsmbs/Makefile (strop-tests): Add wcslen.
65575         * wcsmbs/test-wcslen.c: New file.
65576         * string/test-strlen.c: Update.
65577         Add wcslen support.
65578         (WIDE): New macro.
65580 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65582         * po/it.po: Update from translation team.
65584 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65586         * sysdeps/x86_64/wcscmp.S: Update.
65587         Fix wrong comparison semantics.
65588         wcscmp shall use signed comparison not unsigned.
65589         Don't use substraction to avoid overflow bug.
65590         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65591         * wcsmbc/wcscmp.c: Likewise.
65592         * string/test-strcmp.c: Likewise.
65593         Add new tests to check cases with negative values.
65595 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65597         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65598         * sysdeps/x86_64/dla.h: ...here.  New file.
65599         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65600         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65601         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65604         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65605         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65606         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65607         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65609 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
65611         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65612         __ynl_finite aliases.
65614 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65618         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65619         define DLA_FMA.
65620         [DLA_FMA] (EMULV): Use DLA_FMA.
65621         [DLA_FMA] (MUL12): Use EMULV.
65622         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65623         that are not needed.
65624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65626         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65627         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65628         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65629         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65630         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65632 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
65634         * math/s_nan.c: Undef __nan.
65635         * math/s_nanf.c: Undef __nanf.
65636         * math/s_nanl.c: Undef __nanl.
65637         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65638         "math_private.h".
65640 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65642         * math/s_catan.c: Add branch predictions.
65643         * math/s_catanf.c: Likewise.
65644         * math/s_catanh.c: Likewise.
65645         * math/s_catanhf.c: Likewise.
65646         * math/s_catanhl.c: Likewise.
65647         * math/s_catanl.c: Likewise.
65648         * math/s_cexp.c: Likewise.
65649         * math/s_cexpf.c: Likewise.
65650         * math/s_cexpl.c: Likewise.
65651         * math/s_clog.c: Likewise.
65652         * math/s_clog10.c: Likewise.
65653         * math/s_clog10f.c: Likewise.
65654         * math/s_clog10l.c: Likewise.
65655         * math/s_clogf.c: Likewise.
65656         * math/s_clogl.c: Likewise.
65657         * math/s_csqrt.c: Likewise.
65658         * math/s_csqrtf.c: Likewise.
65659         * math/s_csqrtl.c: Likewise.
65660         * math/s_ctanf.c: Likewise.
65661         * math/s_ctanh.c: Likewise.
65662         * math/s_ctanhf.c: Likewise.
65663         * math/s_ctanhl.c: Likewise.
65664         * math/s_ctanl.c: Likewise.
65666         * math/math_private.h: Define __nan, __nanf, __nanl.
65667         * math/s_cacosh.c: Include <math_private.h>.
65668         * math/s_cacoshl.c: Likewise.
65669         * math/s_casinh.c: Likewise.
65670         * math/s_casinhf.c: Likewise.
65671         * math/s_casinhl.c: Likewise.
65672         * math/s_ccos.c: Rely entire on ccosh.
65673         * math/s_ccosf.c: Rely entire on ccoshf.
65674         * math/s_ccosl.c: Rely entirely on ccoshl.
65675         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
65676         Remove tests for FE_INVALID.
65677         * math/s_ccoshf.c: Likewise.
65678         * math/s_ccoshl.c: Likewise.
65679         * math/s_csin.c: Likewise.
65680         * math/s_csinf.c: Likewise.
65681         * math/s_csinh.c Likewise.
65682         * math/s_csinhf.c: Likewise.
65683         * math/s_csinhl.c: Likewise.
65684         * math/s_csinl.c: Likewise.
65685         * math/s_ctan.c: Likewise.
65686         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
65687         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
65688         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
65690 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
65692         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
65693         compilation problems.
65695         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
65696         __builtin_expect.
65698 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
65700         * sysdeps/i386/configure.in: Test for -mfma4 option.
65701         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65702         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65703         COMMON_CPUID_INDEX_80000001.
65704         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65705         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65706         use it if FMA3 is not supported.
65707         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65709         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65710         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65712 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65714         [BZ #12892]
65715         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65716         it would create a cycle with a link time dependency.
65718 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65720         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65721         instruction.
65722         * string/Makefile (strop-tests): Add rawmemchr.
65723         * string/test-rawmemchr.c: New file.
65725         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65726         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65727         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65728         when compiling str{,n}casecmp and when AVX is available.  Hook up
65729         new optimized code in initializers.
65731 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65733         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65734         __feraiseexcept instead of feraiseexcept.
65736 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65738         * math/math_private.h: Define defaults for libc_fetestexcept and
65739         libc_feupdateenv.
65740         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65741         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65742         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65743         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65744         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65745         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65746         libc_fetestexcept and libc_feupdateenv.
65748         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65749         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65750         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65751         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65752         libc_feholdexcept_setround.
65754         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65755         Add s_nearbyint-c and s_nearbyintf-c.
65756         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65757         nearbyintf inlines.
65758         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65759         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65760         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65761         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65763         * math/math_private.h: Define defaults for libc_fegetround,
65764         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65765         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65766         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65767         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65768         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65769         standard functions.
65770         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65771         Remove comments and hacks for old compiler versions.
65772         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65773         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65774         libc_feholdexceptl.
65776 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65778         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65779         (__feraiseexcept_renamed): Add __NTH.
65780         (feraiseexcept): Add __NTH.  Rename local variables to fix
65781         namespace violations.
65783 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65785         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65787         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65789         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65790         recently added interfaces.
65791         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65793         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65794         about macro parameter expansion.
65796         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65797         __NO_MATH_INLINES is defined.  Cleanups.
65799         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65800         and __floorf is target has SSE4.1.
65801         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65802         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65803         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65804         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65806         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65807         name.
65808         (floorf): Likewise.
65810         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65812 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65814         * misc/sys/cdefs.h: Fix last change.
65816         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65817         database lookup.
65819 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65821         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65823         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65824         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65825         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65826         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65827         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65828         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65829         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65830         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65831         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65832         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65833         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65834         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65835         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65836         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65837         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65838         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65839         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65840         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65841         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65842         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65843         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65844         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65846         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65847         ceil, ceilf, floor, floorf.
65849         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65850         Perform IRELATIVE relocations last.
65852         * elf/do-rel.h: Add another parameter nrelative, replacing the
65853         local variable with the same name.  Change name of the function
65854         to end in Rel or Rela (uppercase).
65855         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65856         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65857         elf_dynamic_do_##reloc function.
65859 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65861         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65862         is sufficient, at least on modern CPUs.
65864         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65866         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65867         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65869         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65870         __expl_finite.
65871         * math/bits/math-finite.h: Add entries for exp.
65872         * math/e_expl.c: Add __*_finite alias.
65873         * sysdeps/i386/fpu/e_exp.S: Likewise.
65874         * sysdeps/i386/fpu/e_expf.S: Likewise.
65875         * sysdeps/i386/fpu/e_expl.c: Likewise.
65876         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65877         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65878         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65879         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65880         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65881         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65882         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65884         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65885         is sufficient, at least on modern CPUs.
65887         * ctype/ctype-info.c (__ctype_init): Define.
65888         * include/ctype.h (__ctype_init): Declare.
65889         (__ctype_b_loc): The variable is always initialized.
65890         (__ctype_toupper_loc): Likewise.
65891         (__ctype_tolower_loc): Likewise.
65892         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65893         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65895 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65897         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65899         * configure.in: Also look in $cxxmachine/include for C++ system
65900         headers.
65902 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65904         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65905         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65906         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65907         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65908         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65909         (USE_AS_WMEMCMP): New macro.
65910         Fixing indents.
65911         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65912         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65913         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65914         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65915         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65916         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65917         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65918         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65919         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65920         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65921         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65922         (USE_AS_WMEMCMP): New macro.
65923         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65924         * sysdeps/string/test-memcmp.c: Update.
65925         Fix simple_wmemcmp.
65926         Add new tests.
65927         * wcsmbs/wmemcmp.c: Update.
65928         (WMEMCMP): New macro.
65929         Fix overflow bug.
65931 2011-10-12  Andreas Jaeger  <aj@suse.de>
65933         [BZ #13268]
65934         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65936 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65938         * libio/iofwide.c (do_length): Avoid warning.
65940         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65942 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65944         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65946         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65947         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65948         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65949         * sysdeps/i386/i686/fpu/e_log.S: New file.
65950         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65951         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65953         * ctype/ctype.h: Add support for inlined isXXX functions when
65954         compiling C++ code.
65956 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65958         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65960         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65962 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65964         [BZ #13291]
65965         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65967 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65969         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65970         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65971         feraiseexcept.
65973         * sysdeps/x86_64/memrchr.S: Check for zero size.
65975         * string/stratcliff.c: Add memrchr tests.
65977 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65979         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65980         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65981         rawmemchr-sse2 rawmemchr-sse2-bsf.
65982         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65983         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65984         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65985         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65986         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65987         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65988         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65989         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65990         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65991         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65992         * string/memrchr.c (MEMRCHR): New macro.
65994 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65996         Add integration with gcc's -ffinite-math-only and optimize wrapper
65997         functions in libm.
65998         * Versions.def: Define GLIBC_2.15 version for libm.
65999         * math/Makefile (headers): Add bits/math-finite.h.
66000         * math/bits/math-finite.h: New file.
66001         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66002         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66003         * math/e_acoshl.c: Add __*_finite alias.
66004         * math/e_acosl.c: Likewise.
66005         * math/e_asinl.c: Likewise.
66006         * math/e_atan2l.c: Likewise.
66007         * math/e_atanhl.c: Likewise.
66008         * math/e_coshl.c: Likewise.
66009         * math/e_exp10.c: Likewise.
66010         * math/e_exp10f.c: Likewise.
66011         * math/e_exp10l.c: Likewise.
66012         * math/e_exp2l.c: Likewise.
66013         * math/e_fmodl.c: Likewise.
66014         * math/e_gammal_r.c: Likewise.
66015         * math/e_hypotl.c: Likewise.
66016         * math/e_j0l.c: Likewise.
66017         * math/e_j1l.c: Likewise.
66018         * math/e_jnl.c: Likewise.
66019         * math/e_lgammal_r.c: Likewise.
66020         * math/e_log10l.c: Likewise.
66021         * math/e_log2l.c: Likewise.
66022         * math/e_logl.c: Likewise.
66023         * math/e_powl.c: Likewise.
66024         * math/e_sinhl.c: Likewise.
66025         * math/e_sqrtl.c: Likewise.
66026         * math/e_scalb.c: Completely rewritten and optimized.
66027         * math/e_scalbf.c: Likewise.
66028         * math/e_scalbl.c: Likewise.
66029         * math/w_acos.c: Likewise.
66030         * math/w_acosf.c: Likewise.
66031         * math/w_acosl.c: Likewise.
66032         * math/w_acosh.c: Likewise.
66033         * math/w_acoshf.c: Likewise.
66034         * math/w_acoshl.c: Likewise.
66035         * math/w_asin.c: Likewise.
66036         * math/w_asinf.c: Likewise.
66037         * math/w_asinl.c: Likewise.
66038         * math/w_atan2.c: Likewise.
66039         * math/w_atan2f.c: Likewise.
66040         * math/w_atan2l.c: Likewise.
66041         * math/w_atanh.c: Likewise.
66042         * math/w_atanhf.c: Likewise.
66043         * math/w_atanhl.c: Likewise.
66044         * math/w_exp10.c: Likewise.
66045         * math/w_exp10f.c: Likewise.
66046         * math/w_exp10l.c: Likewise.
66047         * math/w_fmod.c: Likewise.
66048         * math/w_fmodf.c: Likewise.
66049         * math/w_fmodl.c: Likewise.
66050         * math/w_j0.c: Likewise.
66051         * math/w_j0f.c: Likewise.
66052         * math/w_j0l.c: Likewise.
66053         * math/w_j1.c: Likewise.
66054         * math/w_j1f.c: Likewise.
66055         * math/w_j1l.c: Likewise.
66056         * math/w_jn.c: Likewise.
66057         * math/w_jnf.c: Likewise.
66058         * math/w_log.c: Likewise.
66059         * math/w_logf.c: Likewise.
66060         * math/w_logl.c: Likewise.
66061         * math/w_log10.c: Likewise.
66062         * math/w_log10f.c: Likewise.
66063         * math/w_log10l.c: Likewise.
66064         * math/w_log2.c: Likewise.
66065         * math/w_log2f.c: Likewise.
66066         * math/w_log2l.c: Likewise.
66067         * math/w_pow.c: Likewise.
66068         * math/w_powf.c: Likewise.
66069         * math/w_powl.c: Likewise.
66070         * math/w_remainder.c: Likewise.
66071         * math/w_remainderf.c: Likewise.
66072         * math/w_remainderl.c: Likewise.
66073         * math/w_scalb.c: Likewise.
66074         * math/w_scalbf.c: Likewise.
66075         * math/w_scalbl.c: Likewise.
66076         * math/w_sqrt.c: Likewise.
66077         * math/w_sqrtf.c: Likewise.
66078         * math/w_sqrtl.c: Likewise.
66079         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66080         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66081         used.
66082         * math/math_private.h: Declare __kernel_standard_f.
66083         * math/w_cosh.c: Remove cruft and optimize a bit.
66084         * math/w_coshf.c: Likewise.
66085         * math/w_coshl.c: Likewise.
66086         * math/w_exp2.c: Likewise.
66087         * math/w_exp2f.c: Likewise.
66088         * math/w_exp2l.c: Likewise.
66089         * math/w_hypot.c: Likewise.
66090         * math/w_hypotf.c: Likewise.
66091         * math/w_hypotl.c: Likewise.
66092         * math/w_lgamma.c: Likewise.
66093         * math/w_lgamma_r.c: Likewise.
66094         * math/w_lgammaf.c: Likewise.
66095         * math/w_lgammaf_r.c: Likewise.
66096         * math/w_lgammal.c: Likewise.
66097         * math/w_lgammal_r.c: Likewise.
66098         * math/w_sinh.c: Likewise.
66099         * math/w_sinhf.c: Likewise.
66100         * math/w_sinhl.c: Likewise.
66101         * math/w_tgamma.c: Likewise.
66102         * math/w_tgammaf.c: Likewise.
66103         * math/w_tgammal.c: Likewise.
66104         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66105         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66106         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66107         Minor optimizations.  Pretty printing.  Remove cruft.
66108         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66109         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66110         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66111         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66112         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66113         * sysdeps/i386/fpu/e_asin.S: Likewise.
66114         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66115         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66116         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66117         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66118         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66119         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66120         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66121         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66122         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66123         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66124         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66125         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66126         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66127         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66128         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66129         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66130         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66131         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66132         * sysdeps/i386/fpu/e_log.S: Likewise.
66133         * sysdeps/i386/fpu/e_log10.S: Likewise.
66134         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66135         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66136         * sysdeps/i386/fpu/e_log2.S: Likewise.
66137         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66138         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66139         * sysdeps/i386/fpu/e_logf.S: Likewise.
66140         * sysdeps/i386/fpu/e_logl.S: Likewise.
66141         * sysdeps/i386/fpu/e_pow.S: Likewise.
66142         * sysdeps/i386/fpu/e_powf.S: Likewise.
66143         * sysdeps/i386/fpu/e_powl.S: Likewise.
66144         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66145         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66146         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66147         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66148         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66149         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66150         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66151         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66152         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66153         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66154         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66155         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66156         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66157         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66158         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66159         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66160         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66161         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66162         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66163         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66164         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66165         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66166         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66167         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66168         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66169         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66170         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66171         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66172         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66173         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66174         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66175         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66176         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66177         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66178         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66179         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66180         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66181         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66182         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66183         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66184         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66185         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66186         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66187         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66188         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66189         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66190         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66191         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66192         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66193         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66194         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66195         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66196         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66197         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66198         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66199         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66200         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66201         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66202         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66203         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66204         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66205         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66206         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66207         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66208         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66209         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66210         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66211         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66212         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66213         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66214         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66215         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66216         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66217         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66218         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66219         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66220         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66221         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66222         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66223         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66224         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66225         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66226         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66227         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66228         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66229         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66230         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66231         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66232         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66233         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66234         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66235         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66236         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66237         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66238         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66239         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66240         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66241         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66242         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66243         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66244         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66245         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66246         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66247         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66248         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66249         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66250         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66251         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66252         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66253         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66254         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66255         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66256         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66257         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66258         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66259         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66260         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66261         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66262         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66263         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
66264         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66265         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66266         (__isnanf): Likewise.
66267         (__isinf_ns): Likewise.
66268         (__isinf_nsf): Likewise.
66269         (__finite): Likewise.
66270         (__finitef): Likewise.
66271         (__ieee754_sqrt): Define as macro.
66272         (__ieee754_sqrtf): Define as macro.
66273         (__ieee754_sqrtl): Define as macro.
66274         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66275         inlined copy.
66276         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66277         __FINITE_MATH_ONLY__ consistent.
66278         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66280 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
66282         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66283         of rawmemchr.
66285         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66287 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
66289         * po/ja.po: Update from translation team.
66291 2011-10-08  Roland McGrath  <roland@hack.frob.com>
66293         * locale/programs/locarchive.c (prepare_address_space): New function.
66294         (create_archive, enlarge_archive, open_archive): Use it.
66296         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66297         inside [SHARED], where it is used.
66299         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66301         * nss/getent.c (netgroup_keys): Remove unused variable.
66302         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66304 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
66306         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66307         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66308         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66309         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66310         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66311         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66312         * math/Makefile (libm-calls): Add s_isinf_ns.
66313         * math/divtc3.c: Use __isinf_nsl instead of isinf.
66314         * math/multc3.c: Likewise.
66315         * math/s_casin.c: Likewise.
66316         * math/s_casinf.c: Likewise.
66317         * math/s_casinl.c: Likewise.
66318         * math/s_ccos.c: Likewise.
66319         * math/s_ccosf.c: Likewise.
66320         * math/s_ccosl.c: Likewise.
66321         * math/s_ctan.c: Likewise.
66322         * math/s_ctanf.c: Likewise.
66323         * math/s_ctanh.c: Likewise.
66324         * math/s_ctanhf.c: Likewise.
66325         * math/s_ctanhl.c: Likewise.
66326         * math/s_ctanl.c: Likewise.
66327         * math/w_fmod.c: Likewise.
66328         * math/w_fmodf.c: Likewise.
66329         * math/w_fmodl.c: Likewise.
66330         * math/w_remainder.c: Likewise.
66331         * math/w_remainderf.c: Likewise.
66332         * math/w_remainderl.c: Likewise.
66333         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66334         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66335         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66336         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66337         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66338         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66339         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66340         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66342         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66343         of the number.
66344         * stdio-common/printf_fphex.c: Likewise.
66345         * stdio-common/printf_size.c: Likewise.
66347         * math/e_exp10.c: Include math_private.h using <...> not "...".
66348         * math/e_exp10f.c: Likewise.
66349         * math/e_exp10l.c: Likewise.
66350         * math/e_exp2l.c: Likewise.
66351         * math/e_j0l.c: Likewise.
66352         * math/e_j1l.c: Likewise.
66353         * math/e_jnl.c: Likewise.
66354         * math/e_lgammal_r.c: Likewise.
66355         * math/e_rem_pio2l.c: Likewise.
66356         * math/e_scalb.c: Likewise.
66357         * math/e_scalbf.c: Likewise.
66358         * math/e_scalbl.c: Likewise.
66359         * math/k_cosl.c: Likewise.
66360         * math/k_sinl.c: Likewise.
66361         * math/k_tanl.c: Likewise.
66362         * math/s_cacoshf.c: Likewise.
66363         * math/s_catan.c: Likewise.
66364         * math/s_catanf.c: Likewise.
66365         * math/s_catanh.c: Likewise.
66366         * math/s_catanhf.c: Likewise.
66367         * math/s_catanhl.c: Likewise.
66368         * math/s_catanl.c: Likewise.
66369         * math/s_ccosh.c: Likewise.
66370         * math/s_ccoshf.c: Likewise.
66371         * math/s_ccoshl.c: Likewise.
66372         * math/s_cexp.c: Likewise.
66373         * math/s_cexpf.c: Likewise.
66374         * math/s_cexpl.c: Likewise.
66375         * math/s_clog.c: Likewise.
66376         * math/s_clog10.c: Likewise.
66377         * math/s_clog10f.c: Likewise.
66378         * math/s_clog10l.c: Likewise.
66379         * math/s_clogf.c: Likewise.
66380         * math/s_clogl.c: Likewise.
66381         * math/s_csin.c: Likewise.
66382         * math/s_csinf.c: Likewise.
66383         * math/s_csinh.c: Likewise.
66384         * math/s_csinhf.c: Likewise.
66385         * math/s_csinhl.c: Likewise.
66386         * math/s_csinl.c: Likewise.
66387         * math/s_csqrt.c: Likewise.
66388         * math/s_csqrtf.c: Likewise.
66389         * math/s_csqrtl.c: Likewise.
66390         * math/s_ctan.c: Likewise.
66391         * math/s_ctanf.c: Likewise.
66392         * math/s_ctanh.c: Likewise.
66393         * math/s_ctanhf.c: Likewise.
66394         * math/s_ctanhl.c: Likewise.
66395         * math/s_ctanl.c: Likewise.
66396         * math/s_ldexp.c: Likewise.
66397         * math/s_ldexpf.c: Likewise.
66398         * math/s_ldexpl.c: Likewise.
66399         * math/s_significand.c: Likewise.
66400         * math/s_significandf.c: Likewise.
66401         * math/s_significandl.c: Likewise.
66402         * math/w_acos.c: Likewise.
66403         * math/w_acosf.c: Likewise.
66404         * math/w_acosh.c: Likewise.
66405         * math/w_acoshf.c: Likewise.
66406         * math/w_acoshl.c: Likewise.
66407         * math/w_acosl.c: Likewise.
66408         * math/w_asin.c: Likewise.
66409         * math/w_asinf.c: Likewise.
66410         * math/w_asinl.c: Likewise.
66411         * math/w_atan2.c: Likewise.
66412         * math/w_atan2f.c: Likewise.
66413         * math/w_atan2l.c: Likewise.
66414         * math/w_atanh.c: Likewise.
66415         * math/w_atanhf.c: Likewise.
66416         * math/w_atanhl.c: Likewise.
66417         * math/w_cosh.c: Likewise.
66418         * math/w_coshf.c: Likewise.
66419         * math/w_coshl.c: Likewise.
66420         * math/w_dremf.c: Likewise.
66421         * math/w_exp10.c: Likewise.
66422         * math/w_exp10f.c: Likewise.
66423         * math/w_exp10l.c: Likewise.
66424         * math/w_exp2.c: Likewise.
66425         * math/w_exp2f.c: Likewise.
66426         * math/w_fmod.c: Likewise.
66427         * math/w_fmodf.c: Likewise.
66428         * math/w_fmodl.c: Likewise.
66429         * math/w_hypot.c: Likewise.
66430         * math/w_hypotf.c: Likewise.
66431         * math/w_hypotl.c: Likewise.
66432         * math/w_j0.c: Likewise.
66433         * math/w_j0f.c: Likewise.
66434         * math/w_j0l.c: Likewise.
66435         * math/w_j1.c: Likewise.
66436         * math/w_j1f.c: Likewise.
66437         * math/w_j1l.c: Likewise.
66438         * math/w_jn.c: Likewise.
66439         * math/w_jnf.c: Likewise.
66440         * math/w_jnl.c: Likewise.
66441         * math/w_lgamma.c: Likewise.
66442         * math/w_lgamma_r.c: Likewise.
66443         * math/w_lgammaf.c: Likewise.
66444         * math/w_lgammaf_r.c: Likewise.
66445         * math/w_lgammal.c: Likewise.
66446         * math/w_lgammal_r.c: Likewise.
66447         * math/w_log.c: Likewise.
66448         * math/w_log10.c: Likewise.
66449         * math/w_log10f.c: Likewise.
66450         * math/w_log10l.c: Likewise.
66451         * math/w_log2.c: Likewise.
66452         * math/w_log2f.c: Likewise.
66453         * math/w_log2l.c: Likewise.
66454         * math/w_logf.c: Likewise.
66455         * math/w_logl.c: Likewise.
66456         * math/w_pow.c: Likewise.
66457         * math/w_powf.c: Likewise.
66458         * math/w_powl.c: Likewise.
66459         * math/w_remainder.c: Likewise.
66460         * math/w_remainderf.c: Likewise.
66461         * math/w_remainderl.c: Likewise.
66462         * math/w_scalb.c: Likewise.
66463         * math/w_scalbf.c: Likewise.
66464         * math/w_scalbl.c: Likewise.
66465         * math/w_sinh.c: Likewise.
66466         * math/w_sinhf.c: Likewise.
66467         * math/w_sinhl.c: Likewise.
66468         * math/w_sqrt.c: Likewise.
66469         * math/w_sqrtf.c: Likewise.
66470         * math/w_sqrtl.c: Likewise.
66471         * math/w_tgamma.c: Likewise.
66472         * math/w_tgammaf.c: Likewise.
66473         * math/w_tgammal.c: Likewise.
66475         * po/ja.po: Update from translation team.
66477 2011-09-29  Andreas Jaeger  <aj@suse.de>
66479         [BZ #13179]
66480         * sunrpc/netname.c (netname2host): Fix logic.
66482         [BZ #6779]
66483         [BZ #6783]
66484         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66485         correctly.
66486         * math/w_remainder.c (__remainder): Likewise.
66487         * math/w_remainderf.c (__remainderf): Likewise.
66488         * math/libm-test.inc (remainder_test): Add test cases.
66490 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66492         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
66493         sdiv_qrnnd.
66495 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66497         * string/test-memcmp.c: Avoid unncessary #defines.
66498         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66500 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66502         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66503         Use new sse2 version for core i3 - i7 as it's faster
66504         than sse42 version.
66505         (bit_Prefer_PMINUB_for_stringop): New.
66506         * sysdeps/x86_64/rawmemchr.S: Update.
66507         Replace with faster SSE2 version.
66508         * sysdeps/x86_64/memrchr.S: New file.
66509         * sysdeps/x86_64/memchr.S: Update.
66510         Replace with faster SSE2 version.
66512 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
66514         * elf/dl-load.c (lose): Add cast to avoid warning.
66516 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66518         * po/ca.po: Update from translation team.
66520         * inet/getnetgrent_r.c: Hook up nscd.
66521         * nscd/Makefile (routines): Add nscd_netgroup.
66522         (nscd-modules): Add netgroupcache.
66523         (CFLAGS-netgroupcache.c): Define.
66524         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
66525         (cache_search): Add const to second parameter.
66526         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
66527         INNETGR.
66528         (dbs): Add netgrdb entry.
66529         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
66530         (verify_persistent_db): Handle netgrdb.
66531         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
66532         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
66533         GETFDNETGR.
66534         (netgroup_response_header): Define.
66535         (innetgroup_response_header): Define.
66536         (datahead): Add netgroup_response_header and innetgroup_response_header
66537         elements.
66538         * nscd/nscd.conf: Add entries for netgroup cache.
66539         * nscd/nscd.h (dbtype): Add netgrdb.
66540         (_PATH_NSCD_NETGROUP_DB): Define.
66541         (netgroup_iov_disabled): Declare.
66542         (xmalloc, xcalloc, xrealloc): Move declarations here.
66543         (cache_search): Adjust prototype.
66544         Add netgroup-related prototypes.
66545         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
66546         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
66547         (__nscd_innetgr): Declare.
66548         * nscd/selinux.c (perms): Use access_vector_t as element type and
66549         add netgroup-related initializers.
66550         * nscd/netgroupcache.c: New file.
66551         * nscd/nscd_netgroup.c: New file.
66552         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
66553         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
66554         For four parameters use innetgr.
66555         * nss/nss_files/files-init.c: Add definition and callback for netgr.
66556         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
66557         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
66558         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
66560         * nscd/connections.c (register_traced_file): Don't register file
66561         for disabled databases.
66563 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
66565         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
66567         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
66568         from tree and freeing node.
66570 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
66572         * nss/nsswitch.c (__nss_database_lookup): Handle
66573         nss_parse_service_list out of memory case.
66575 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
66577         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
66578         out of memory case.
66580 2011-10-04  Andreas Schwab  <schwab@redhat.com>
66582         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
66583         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
66584         pass it down.
66585         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66586         elf_machine_rela, elf_machine_lazy_rel.
66587         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66588         (ELF_DYNAMIC_DO_REL): Likewise.
66589         (ELF_DYNAMIC_DO_RELA): Likewise.
66590         (ELF_DYNAMIC_RELOCATE): Likewise.
66591         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66592         to ELF_DYNAMIC_DO_REL.
66593         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66594         (dl_main): In trace mode always set __RTLD_NOIFUNC.
66595         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66596         elf_machine_rela.
66597         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66598         skip_ifunc, don't call ifunc function if non-zero.
66599         (elf_machine_rela): Likewise.
66600         (elf_machine_lazy_rel): Likewise.
66601         (elf_machine_lazy_rela): Likewise.
66602         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66603         (elf_machine_lazy_rel): Likewise.
66604         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66605         Likewise.
66606         (elf_machine_lazy_rel): Likewise.
66607         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66608         Likewise.
66609         (elf_machine_lazy_rel): Likewise.
66610         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66611         (elf_machine_lazy_rel): Likewise.
66612         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66613         (elf_machine_lazy_rel): Likewise.
66614         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66615         (elf_machine_lazy_rel): Likewise.
66616         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66617         (elf_machine_lazy_rel): Likewise.
66618         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66619         (elf_machine_lazy_rel): Likewise.
66620         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66621         (elf_machine_lazy_rel): Likewise.
66623 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
66625         * nss/nss_files/files-init.c (_nss_files_init): Use static
66626         initialization for all the *_traced_file variables.
66628 2011-09-28  Andreas Schwab  <schwab@redhat.com>
66630         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66632 2011-09-27  Roland McGrath  <roland@hack.frob.com>
66634         [BZ #13226]
66635         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66637 2011-09-27  Andreas Schwab  <schwab@redhat.com>
66639         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66640         Reread the line before reparsing it.
66642 2011-09-26  Andreas Schwab  <schwab@redhat.com>
66644         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
66646 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
66647             Maxim Kuvyrkov  <maxim@codesourcery.com>
66648             Joseph Myers  <joseph@codesourcery.com>
66650         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
66651         if needed for __stack_chk_guard.
66653 2011-09-19  Roland McGrath  <roland@hack.frob.com>
66655         * sysdeps/posix/spawni.c (script_execute): Always define it.
66656         It will be optimized away if unused.
66657         (maybe_script_execute): New function.
66658         (__spawni): Call it.
66660         * Makerules: Don't include tls.make.
66661         (config-tls): Always set to thread.
66662         * tls.make.c: File removed.
66664 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
66666         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
66667         * config.make.in (CPPFLAGS-config): New substituted variable.
66669 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66671         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
66673         [BZ #13192]
66674         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
66675         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
66677 2011-09-15  Roland McGrath  <roland@hack.frob.com>
66679         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
66680         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
66681         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66682         (CALL_FAIL): Likewise.
66683         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
66684         (CALL_FAIL): Macro removed.
66685         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
66687 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66689         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
66690         for __FINITE_MATH_ONLY__ == 1.
66692 2011-09-15  Andreas Schwab  <schwab@redhat.com>
66694         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
66695         __ieee754_sqrt instead of sqrt.
66696         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
66697         __ieee754_sqrtf instead of sqrtf.
66698         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
66699         __floorf instead of floorf.
66700         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66701         __floorf, __truncf instead of floorf, truncf.
66703 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66705         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66707         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66708         __extern_always_inline.
66709         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66710         32-bit.
66712 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66714         * elf/rtld.c (dl_main): Also relocate in dependency order when
66715         doing symbol dependency testing.
66717 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66719         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66720         Always define `refsym'.
66722 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66724         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66725         (__FD_ELT): Renamed from __FDELT.
66726         * misc/bits/select2.h (__FD_ELT): Likewise.
66727         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66728         __FD_MASK instead of __FDELT, __FDMASK.
66729         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66730         Likewise.
66731         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66732         Likewise.
66734         * elf/Makefile (gen-ldd): Fix pattern.
66736         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66737         (init_tls): Likewise.
66739 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66741         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66743 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66745         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66746         `struct cmsghdr *' instead of `void *'.
66747         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66748         Likewise.
66750 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66752         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66753         if non-absolute.
66754         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66755         ldd_rewrite_script.
66757 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66759         * configure.in: Remove --with-tls option.
66760         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66761         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66762         out in case it is missing.
66763         * sysdeps/ia64/elf/configure.in: Likewise.
66764         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66765         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66766         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66767         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66768         * sysdeps/sh/elf/configure.in: Likewise.
66769         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66770         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66771         * sysdeps/x86_64/elf/configure.in: Likewise.
66772         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66773         * sysdeps/mach/hurd/tls.h: Likewise.
66775         [BZ #13067]
66776         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66778         [BZ #13090]
66779         * configure.in: Fix use of AC_INIT.
66781         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66783 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66785         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66786         __set_errno.
66787         * malloc/hooks.c: Likewise.
66789         [BZ #11929]
66790         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66791         variables statically.
66792         (narenas): Initialize.
66793         (list_lock): Initialize.
66794         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66795         initializtion of main_arena and list_lock.  Small cleanups.
66796         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66797         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66798         Add initializers to main_arena and mp_.
66799         (malloc_state): Remove pagesize member.  Change all users to use
66800         GLRO(dl_pagesize).
66802         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66803         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66804         is always initialized.
66806         * malloc/malloc.c: Removed unused configurations and dead code.
66807         * malloc/arena.c: Likewise.
66808         * malloc/hooks.c: Likewise.
66809         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66811         * include/tls.h: Removed.  USE___THREAD must always be defined.
66812         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66813         * elf/dl-libc.c: Likewise.
66814         * elf/dl-tsd.c: Likewise.
66815         * include/errno.h: Likewise.
66816         * include/netdb.h: Likewise.
66817         * include/resolv.h: Likewise.
66818         * inet/herrno-loc.c: Likewise.
66819         * inet/herrno.c: Likewise.
66820         * malloc/arena.c: Likewise.
66821         * malloc/hooks.c: Likewise.
66822         * malloc/malloc.c: Likewise.
66823         * resolv/res-state.c: Likewise.
66824         * resolv/res_libc.c: Likewise.
66825         * sysdeps/i386/dl-machine.h: Likewise.
66826         * sysdeps/ia64/dl-machine.h: Likewise.
66827         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66828         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66829         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66830         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66831         * sysdeps/sh/dl-machine.h: Likewise.
66832         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66833         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66834         * sysdeps/unix/i386/sysdep.S: Likewise.
66835         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66836         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66837         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66838         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66840         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66841         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66842         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66843         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66845         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66846         * sysdeps/x86_64/dl-machine.h: Likewise.
66847         * tls.make.c: Likewise.
66849         * configure.in: Remove --with-__thread option.  Make tests for
66850         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66851         tls_model attribute fail if no support is available.  Remove
66852         USE_IN_LIBIO.
66853         * Makeconfig: Adjust for dropped configure option.  All features are
66854         now mandatory.
66855         * Makerules: Likewise.
66856         * Versions.def: Likewise.
66857         * argp/argp-fmtstream.c: Likewise.
66858         * argp/argp-fmtstream.h: Likewise.
66859         * argp/argp-help.c: Likewise.
66860         * assert/assert.c: Likewise.
66861         * config.h.in: Likewise.
66862         * config.make.in: Likewise.
66863         * configure: Likewise.
66864         * configure.in: Likewise.
66865         * csu/Versions: Likewise.
66866         * csu/init.c: Likewise.
66867         * elf/tst-audit2.c: Likewise.
66868         * elf/tst-tls10.c: Likewise.
66869         * elf/tst-tls10.h: Likewise.
66870         * elf/tst-tls11.c: Likewise.
66871         * elf/tst-tls12.c: Likewise.
66872         * elf/tst-tls14.c: Likewise.
66873         * elf/tst-tlsmod11.c: Likewise.
66874         * elf/tst-tlsmod12.c: Likewise.
66875         * elf/tst-tlsmod13.c: Likewise.
66876         * elf/tst-tlsmod13a.c: Likewise.
66877         * elf/tst-tlsmod14a.c: Likewise.
66878         * elf/tst-tlsmod15b.c: Likewise.
66879         * elf/tst-tlsmod16a.c: Likewise.
66880         * elf/tst-tlsmod16b.c: Likewise.
66881         * elf/tst-tlsmod7.c: Likewise.
66882         * elf/tst-tlsmod8.c: Likewise.
66883         * elf/tst-tlsmod9.c: Likewise.
66884         * gmon/gmon.c: Likewise.
66885         * grp/fgetgrent_r.c: Likewise.
66886         * grp/putgrent.c: Likewise.
66887         * hurd/fopenport.c: Likewise.
66888         * include/libc-symbols.h: Likewise.
66889         * include/tls.h: Likewise.
66890         * intl/gettextP.h: Likewise.
66891         * intl/loadinfo.h: Likewise.
66892         * locale/global-locale.c: Likewise.
66893         * locale/localeinfo.h: Likewise.
66894         * mach/devstream.c: Likewise.
66895         * malloc/arena.c: Likewise.
66896         * malloc/set-freeres.c: Likewise.
66897         * misc/err.c: Likewise.
66898         * misc/getttyent.c: Likewise.
66899         * misc/mntent_r.c: Likewise.
66900         * posix/getopt.c: Likewise.
66901         * posix/wordexp.c: Likewise.
66902         * pwd/fgetpwent_r.c: Likewise.
66903         * resolv/Versions: Likewise.
66904         * resolv/res_hconf.c: Likewise.
66905         * shadow/fgetspent_r.c: Likewise.
66906         * shadow/putspent.c: Likewise.
66907         * stdio-common/printf_fphex.c: Likewise.
66908         * stdio-common/tmpfile.c: Likewise.
66909         * stdlib/abort.c: Likewise.
66910         * stdlib/fmtmsg.c: Likewise.
66911         * sunrpc/auth_unix.c: Likewise.
66912         * sunrpc/clnt_perr.c: Likewise.
66913         * sunrpc/clnt_tcp.c: Likewise.
66914         * sunrpc/clnt_udp.c: Likewise.
66915         * sunrpc/clnt_unix.c: Likewise.
66916         * sunrpc/openchild.c: Likewise.
66917         * sunrpc/svc_simple.c: Likewise.
66918         * sunrpc/svc_tcp.c: Likewise.
66919         * sunrpc/svc_udp.c: Likewise.
66920         * sunrpc/svc_unix.c: Likewise.
66921         * sunrpc/xdr.c: Likewise.
66922         * sunrpc/xdr_array.c: Likewise.
66923         * sunrpc/xdr_rec.c: Likewise.
66924         * sunrpc/xdr_ref.c: Likewise.
66925         * sunrpc/xdr_stdio.c: Likewise.
66927 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66929         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66931 2011-07-03  Andreas Jaeger  <aj@suse.de>
66933         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66934         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66935         regenerate with gen-libm-tests.pl.
66937 2010-05-12  Petr Baudis  <pasky@suse.cz>
66939         [BZ #11589]
66940         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66941         around j0() zero points by switching to j1().
66942         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66943         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66944         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66945         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66947 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66949         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66950         instead of 0.
66951         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66952         instead of 0.
66953         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66954         Patch in part by Pavel Roskin <proski@gnu.org>.
66956         [BZ #13138]
66957         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66958         realloc.
66959         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66960         Free memory block if necessary.
66962         [BZ #12847]
66963         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66964         be NULL.  Don't lock in this case.
66966 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66968         * elf/elf.h (ELFOSABI_GNU): New macro.
66969         (ELFOSABI_LINUX): Define to that.
66971 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66973         * string/strncat.c (strncat): Undef the symbol in case it has been
66974         defined in bits/string.h.
66976 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66978         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66980         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66981         link map.
66983 2011-08-17  Andreas Jaeger  <aj@suse.de>
66985         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66987 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66988             Ian Lance Taylor  <iant@google.com>
66990         * math/libm-test.inc (lround_test): New testcase.
66991         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66993 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66995         * Makefile: Remove support for automatic cvs check-ins.
66996         * Makerules: Likewise.
66997         * config.make.in: Likewise.
66998         * configure.in: Likewise.
66999         * intl/Makefile: Likewise.
67000         * locale/Makefile: Likewise.
67001         * po/Makefile: Likewise.
67002         * posix/Makefile: Likewise.
67003         * sysdeps/gnu/Makefile: Likewise.
67004         * sysdeps/mach/hurd/Makefile: Likewise.
67005         * sysdeps/sparc/sparc32/Makefile: Likewise.
67007         [BZ #13118]
67008         * posix/Makefile (bug-regex32-ENV): Define.
67009         Patch by John Stanley <jpsinthemix@verizon.net>.
67011         * misc/Makefile (headers): Add bits/select2.h.
67012         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67013         * misc/bits/select2.h: New file.
67014         * include/bits/select2.h: New file.
67015         * debug/Makefile (routines): Add fdelt_chk.
67016         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67017         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67018         FD_ISSET.
67019         * debug/fdelt_chk.c: New file.
67021         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67022         * wcsmbs/test-wmemcmp.c: Likewise.
67023         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67024         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67026 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67028         * string/Makefile (strop-tests): Add memcmp.
67029         * string/test-wmemcmp.c: New file.
67030         * string/test-memcmp.c: Add wmemcmp support.
67032 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67034         [BZ #13153]
67035         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67036         2011-07-19 change.
67038         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67039         garbage value in a __mach_port_mod_refs call in the cases of the
67040         task-self and thread-self ports.
67042 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67044         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67046 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67048         * elf/dl-load.c (lose): Check for non-null L.
67050 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67052         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67054         * elf/dl-libc.c (dlerror_run): Pass back error code from
67055         dl_catch_error.
67057         [BZ #13123]
67058         * elf/dl-load.c (lose): Free l_origin if it is valid.
67060         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67061         names.
67062         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67063         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67064         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67065         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67066         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67067         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67069 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67071         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67072         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67073         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67074         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67075         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67076         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67077         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67078         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67079         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67080         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67082 2011-08-15  Alan Modra  <amodra@gmail.com>
67084         [BZ #13092]
67085         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67086         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67087         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67088         ppc_mcount to static-only-routines.
67089         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67090         __mcount_internal.
67091         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67092         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67094 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67096         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67097         for finite and infinity parameters.
67099 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67101         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67102         and add nop instructions for throughput optimization.
67103         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67105 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67107         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67108         aligned copy for power7 with vector-scalar instructions.
67109         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67111 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67113         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67114         AVX check.
67116 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67118         [BZ #13144]
67119         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67120         last change.
67122 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67124         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67125         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67126         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67127         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67128         clock_gettime.
67130 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67132         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67133         Forgot to demangle the pointer.
67135         * sysdeps/i386/sysdep.h: Define atom_text_section.
67136         * sysdeps/x86_64/sysdep.h: Likewise.
67137         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67138         section with atom_text_section.
67139         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67140         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67141         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67142         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67143         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67145         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67146         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67147         already be defined.  Change to take two parameters and don't assign
67148         result to variable.  Adjust all users.
67149         Define INTERNAL_GETTIME if not already defined.
67150         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67151         call.
67152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67153         HAVE_CLOCK_GETTIME_VSYSCALL.
67154         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67156         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67157         gettimeofday vsyscall, just use time.
67159 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67161         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67162         <errno.h>.
67164 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67166         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67167         syscall on x86-64.
67168         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67169         syscall.
67170         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67171         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67172         syscall if possible.
67174 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67176         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67177         e_ident.  Don't pass to find_mapsXX.
67178         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67180 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67183         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67184         * sysdeps/x86_64/multiarch/strchr.S: Update.
67185         Check bit_slow_BSF bit.
67186         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67187         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67188         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67190 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67192         [BZ #13134]
67193         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67194         before glibc 2.15.
67195         (tryshell): Define.
67196         (__spawni): Change last parameter to be flag.  Test
67197         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67198         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67199         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67200         * posix/spawni.c: Likewise.
67201         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67202         * posix/spawnp.c: Likewise.  Change normal version to use
67203         SPAWN_XFLAGS_USE_PATH.
67204         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67205         SPAWN_XFLAGS_TRY_SHELL.
67207         [BZ #13150]
67208         * posix/glob.h: Remove gcc 1.x support.
67210         [BZ #13068]
67211         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67213 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67215         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67216         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67217         strrchr-sse2-bsf
67218         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67219         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67220         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67221         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67222         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67223         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67225 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67227         * sysdeps/x86_64/wcscmp.S: New file.
67229         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67230         wcscmp-c wcscmp-sse2
67231         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67232         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67233         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67234         * wcsmbs/wcscmp.c: Allow renaming.
67236 2011-09-05  David S. Miller  <davem@davemloft.net>
67238         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67239         stack slot, rather than the struct return pointer slot.
67240         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67241         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67243         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67245 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67247         * po/ja.po: Update from translation team.
67249         [BZ #13144]
67250         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67251         kernel in 64-bit binaries.
67253 2011-09-01  David S. Miller  <davem@davemloft.net>
67255         * elf/elf.h (HWCAP_SPARC_*): Move to..
67256         * sysdeps/sparc/sysdep.h: this new file and add new values.
67257         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67258         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67259         _DL_HWCAP_COUNT to 24.
67260         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67261         entries.
67262         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67263         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67264         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67265         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67266         instead of magic constants.
67267         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67269 2011-08-31  David S. Miller  <davem@davemloft.net>
67271         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67272         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67273         Reimplement to do errno handling inline.
67274         (SYSCALL_ERROR_HANDLER): New macro.
67275         (__SYSCALL_STRING): Do not do errno handling in asm.
67276         (__CLONE_SYSCALL_STRING): Delete.
67277         (__INTERNAL_SYSCALL_STRING): Delete.
67278         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67279         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67280         (PSEUDO): Reimplement to do errno handling inline.
67281         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67282         (SYSCALL_ERROR_HANDLER): New macro.
67283         (__SYSCALL_STRING): Do not do errno handling in asm.
67284         (__CLONE_SYSCALL_STRING): Delete.
67285         (__INTERNAL_SYSCALL_STRING): Delete.
67286         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67287         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67288         i386.
67289         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67290         (inline_syscall*): Add 'err' argument.
67291         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67292         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67293         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67294         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67296         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67297         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67299 2011-08-30  Andreas Schwab  <schwab@redhat.com>
67301         * elf/rtld.c (dl_main): Relocate objects in dependency order.
67303 2011-08-29  Jiri Olsa <jolsa@redhat.com>
67305         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67306         directive.
67308 2011-08-24  David S. Miller  <davem@davemloft.net>
67310         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67312 2011-08-24  Andreas Schwab  <schwab@redhat.com>
67314         * elf/Makefile: Add rules to build and run unload8 test.
67315         * elf/unload8.c: New file.
67316         * elf/unload8mod1.c: New file.
67317         * elf/unload8mod1x.c: New file.
67318         * elf/unload8mod2.c: New file.
67319         * elf/unload8mod3.c: New file.
67321         * elf/dl-close.c (_dl_close_worker): Reset private search list if
67322         it wasn't used.
67324 2011-08-23  David S. Miller  <davem@davemloft.net>
67326         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67327         subtract stack bias.
67328         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67329         %sp not %fp in calculations.
67330         (_JMPBUF_UNWINDS_ADJ): Likewise.
67332         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67333         (aio_suspend): Call it to force an exception region around the
67334         AIO_MISC_WAIT() invocation.
67336 2011-08-23  Andreas Schwab  <schwab@redhat.com>
67338         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67339         backslash.
67341 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
67343         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67344         protection macro.
67345         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67346         and <dl-machine.h>.
67347         (Elf64_FuncDesc): Remove.
67349 2011-08-22  David S. Miller  <davem@davemloft.net>
67351         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67352         sigaltstack check, add missing cfi directives.
67353         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67354         missing cfi directives, and sigaltstack handling.
67356 2011-08-16  Andreas Schwab  <schwab@redhat.com>
67358         [BZ #11724]
67359         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67360         object is seen twice.
67361         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67363         * elf/Makefile (distribute): Add tst-initorder2.c.
67364         (tests): Add tst-initorder2.
67365         (modules-names): Add tst-initorder2a tst-initorder2b
67366         tst-initorder2c tst-initorder2d.  Add rules to build them.
67367         ($(objpfx)tst-initorder2.out): New rule.
67368         * elf/tst-initorder2.c: New file.
67369         * elf/tst-initorder2.exp: New file.
67371 2011-08-22  Andreas Schwab  <schwab@redhat.com>
67373         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67375         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67376         dependencies back to end of function.
67378         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67379         $(elfobjdir)/ld.so.
67381 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
67383         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67384         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67385         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67386         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67387         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67388         of __vdso_gettimeofday.
67389         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67390         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
67391         attribute_hidden.
67392         (_libc_vdso_platform_setup): Remove initialization of
67393         __vdso_gettimeofday and __vdso_time.
67395 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67397         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67398         and fgetc_unlocked.
67399         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67400         getc_unlocked.
67402         * elf/dl-open.c (add_to_global): Report additions to the global scope
67403         for LD_DEBUG=scopes.
67404         (dl_open_worker): Also print scope of newly loaded dependencies.
67405         (_dl_show_scope): Indicate if there is no scope.
67407         [BZ #13114]
67408         * stdio-common/Makefile (tests): Add bug24.
67409         * stdio-common/bug24.c: New file.
67411 2011-08-19  Andreas Jaeger  <aj@suse.de>
67413         [BZ #13114]
67414         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67415         non-existant file when using close-on-exec mode.
67417 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67419         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67420         the very first instruction.
67422         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67423         the CFI state in the end.
67424         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67425         inclusion of dl-trampoline.h.
67426         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67428 2011-08-19  Andreas Schwab  <schwab@redhat.com>
67430         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67431         expectations for long double.
67433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67434         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67436 2011-08-14  David S. Miller  <davem@davemloft.net>
67438         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67439         artificual limit depends upon the system page size.
67441 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67443         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67444         * resolv/Makefile: Define CFLAGS-libresolv.
67446 2011-08-17  Andreas Schwab  <schwab@redhat.com>
67448         * nss/makedb.c (compute_tables): Make variables used in nested
67449         function static.
67451 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67453         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67454         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67455         if buffer was too small.
67457         * elf/pldd.c (main): Attach to all threads in the process.
67458         Rewrite /proc handling to use *at functions.
67460 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
67462         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67463         specifies first scope to show.
67464         (dl_open_worker): Update callers.  Move printing scope of new
67465         object to before the relocation.
67466         * elf/rtld.c (dl_main): Update _dl_show_scope call.
67467         * sysdeps/generic/ldsodefs.h: Update declaration.
67469         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67470         string for the scope number.
67472 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
67474         * nscd/servicescache.c (cache_addserv): Make sure written is always
67475         initialized.
67477 2011-08-14  Roland McGrath  <roland@hack.frob.com>
67479         * sysdeps/i386/i486/bits/atomic.h
67480         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67481         statement expression, so as to suppress "set but not used" warning.
67482         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67484         * string/strncat.c (STRNCAT): Use prototype definition.
67486         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67487         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67488         -Iprograms here.
67489         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67490         (localedef-modules): Add localedef.
67491         (locale-modules): Add locale.
67493         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67494         * elf/rtld.c (dl_main): Invert order of assignment in last change,
67495         to avoid a warning.
67497 2011-08-14  David S. Miller  <davem@davemloft.net>
67499         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67500         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67502 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
67504         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67505         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67506         * elf/rtld.c (dl_main): Set l_name of vDSO.
67507         Call _dl_show_scope when DL_DEBUG_SCOPES.
67508         (process_dl_debug): Recognize scopes flag and also set it for all.
67509         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67510         Declare _dl_show_scope.
67512         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67513         (do_dlopen): Pass caller_dlopen to dl_open.
67514         (__libc_dlopen_mode): Initialize caller_dlopen.
67516         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
67517         of libc.  Make tolower call locale-independent.  Optimize a bit by
67518         using isdigit instead of isalnum.
67519         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
67521 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
67523         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
67524         was a dependency or dynamically loaded.
67526 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
67528         * intl/l10nflist.c: Allow architecture-specific pop function.
67529         * sysdeps/x86_64/l10nflist.c: New file.
67531         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
67532         classification.
67534 2011-08-10  Andreas Schwab  <schwab@redhat.com>
67536         * include/dirent.h: Add libc_hidden_proto for scandirat and
67537         scandirat64.  Don't declare __scandirat64.
67538         * dirent/scandirat.c: Add libc_hidden_def.
67539         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
67540         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
67542 2011-08-10  David S. Miller  <davem@davemloft.net>
67544         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
67545         enum.
67546         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67547         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67548         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67550 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
67552         * Versions.def [libc]: Add GLIBC_2.15.
67553         * dirent/Makefile (routines): Add scandirat and scandirat64.
67554         * dirent/Versions [libc]: Export scandirat and scandirat64 for
67555         GLIBC_2.15.
67556         * dirent/dirent.h: Declare scandirat and scandirat64.
67557         * dirent/scandirat.c: New file.
67558         * dirent/scandirat64.c: New file.
67559         * sysdeps/wordsize-64/scandirat.c: New file.
67560         * sysdeps/wordsize-64/scandirat64.c: New file.
67561         * dirent/opendir.c: Define opendirat.
67562         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
67563         using scandirat.
67564         * dirent/scandir64.c: Adjust for scandir.c change.
67565         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
67566         __scandirat64, and __scandir_cancel_handler.
67567         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
67568         additional parameter and use openat instead of open (outside of ld.so).
67569         Add new __opendir as wrapper around __opendirat.
67570         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
67571         here without requiring old scandirat implementation.
67573 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
67575         * dirent/scandir.c (cancel_handler): Renamed to
67576         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
67577         defined.  Adjust users.
67578         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
67579         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
67581 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
67583         * string/test-string.h (IMPL): Use __STRING to expand name and then
67584         stringify it.
67586         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
67587         of cleanups.
67589 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67591         * string/Makefile: Update.
67592         (strop-tests): Append strncat.
67593         * string/test-wcscmp.c: New file.
67594         New comprehensive test for wcscmp.
67595         * string/test-strcmp.c: Update.
67596         (WIDE): New define.
67598 2011-07-22  Andreas Schwab  <schwab@redhat.com>
67600         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67601         line.
67603 2011-07-26  Andreas Schwab  <schwab@redhat.com>
67605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67606         encoding to ACE if AI_IDN.
67608 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
67610         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67611         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67613 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67615         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67616         Fix overflow bug in strncat.
67617         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67619         * string/test-strncat.c: Update.
67620         Add new tests for checking overflow bugs.
67622 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67624         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67625         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67626         * sysdeps/i386/i686/multiarch/strcat.S: New file.
67627         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67628         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67629         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67630         * sysdeps/i386/i686/multiarch/strncat.S: New file.
67631         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67632         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67634         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67635         (USE_AS_STRCAT): Define.
67636         Add strcat and strncat support.
67637         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67639 2011-07-25  Andreas Schwab  <schwab@redhat.com>
67641         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
67642         __n bigger than INT_MAX+1.
67643         (__strncmp_g): Likewise.
67645 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
67647         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
67648         * libio/stido.h: Likewise.
67650         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
67651         (AF_NFC): Define.
67652         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
67653         (AF_NFC): Define.
67655         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
67656         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67657         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67658         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
67659         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67661         [BZ #13021]
67662         * scripts/test-installation.pl: Don't expect libnss_test1 to be
67663         installed.
67665         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
67666         typo.
67667         (_dl_x86_64_save_sse): Likewise.
67669 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
67671         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
67672         OSXSAVE.
67673         (_dl_x86_64_save_sse): Likewise.
67675         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
67677         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
67679 2011-07-21  Andreas Schwab  <schwab@redhat.com>
67681         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
67682         change.
67683         (_dl_x86_64_save_sse): Use correct AVX check.
67685 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67687         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
67688         bug in strncpy/strncat.
67689         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
67691 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
67693         * string/tester.c (test_strcat): Add tests for different alignments
67694         of source and destination.
67695         (test_strncat): Likewise.
67697 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67699         [BZ #12852]
67700         * posix/glob.c (glob): Check passed in values before using them in
67701         expressions to avoid some overflows.
67702         (glob_in_dir): Likewise.
67704         [BZ #13007]
67705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67706         check for AVX enablement so that we don't crash with old kernels and
67707         new hardware.
67708         * elf/tst-audit4.c: Add same checks here.
67709         * elf/tst-audit6.c: Likewise.
67711         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67713 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67715         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67717 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67719         * po/cs.po: Update from translation team.
67720         * po/bg.po: Likewise.
67722 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67724         * misc/sys/cdefs.h: Add support for const attribute.
67725         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67726         to gnu_dev_{major,minor,makedev} functions.
67728 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67730         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67732 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67734         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67735         strlen results.
67737 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67739         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67740         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67741         register in order to avoid conflicts with the soft frame pointer
67742         being held in r11 when necessary.
67743         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67744         (INTERNAL_VSYSCALL_NCS): Likewise.
67746 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67748         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67749         * elf/dl-fini.c (_dl_fini): Adjust caller.
67750         * elf/dl-close.c (_dl_close_worker): Likewise.
67751         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67753 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67755         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67756         "aux_cache->nlibs < 0".
67758         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67759         in the reload-count case.
67761 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67764         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67765         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67766         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67767         * sysdeps/x86_64/multiarch/strcat.S: New file.
67768         * sysdeps/x86_64/multiarch/strncat.S: New file.
67769         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67770         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67771         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67772         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67773         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67774         (USE_AS_STRCAT): Define.
67775         Add strcat and strncat support.
67776         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67777         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67778         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67779         * string/strncat.c: Update.
67780         (USE_AS_STRNCAT): Define.
67781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67782         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67783         and i7.
67784         * sysdeps/x86_64/multiarch/init-arch.h
67785         (bit_Prefer_PMINUB_for_stringop): New.
67786         (index_Prefer_PMINUB_for_stringop): Likewise.
67787         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67788         bit_Prefer_PMINUB_for_stringop.
67790 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67792         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67793         buffer64.
67794         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67795         of casting of buffer.
67796         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67797         buffer32 and buffer64.
67798         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67799         writes instead of casting of buffer.
67800         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67801         buffer32.
67802         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67803         casting of buffer.
67805 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67807         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67809 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67811         * nscd/nscd.c (termination_handler): Don't do anything for a database
67812         if it has not yet been initialized.
67814 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67816         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67818 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67820         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67822 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67824         * po/nl.po: Update from translation team.
67825         * po/sv.po: Likewise.
67827 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67829         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67830         now disallowed by GCC.
67832         * configure.in (use-default-link): Default to yes if a test -shared
67833         link meets our qualifications.
67834         * configure: Regenerated.
67836         * config.make.in (output-format): New variable.
67837         * configure.in: Check for ld --print-output-format support.
67838         * configure: Regenerated.
67839         * Makerules ($(common-objpfx)format.lds)
67840         [$(output-format) != unknown]: Just use $(output-format),
67841         instead of the linker-script munging.
67843 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67845         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67846         of $(common-objpfx)shlib.lds.
67847         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67849         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67850         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67852         * configure.in (-z relro check): Adjust test code to add a large
67853         writable data section after it.
67854         * configure: Regenerated.
67856 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67858         * configure.in (-z relro check): Fix test code to make the variable
67859         truly const.
67860         * configure: Regenerated.
67862 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67864         * nscd/nscd.h (struct traced_file): Define.
67865         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67866         elements.  Add traced_files.
67867         (inotify_fd): Declare.
67868         (register_traced_file): Declare.
67869         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67870         (inotify_fd): Export.
67871         (resolv_conf_descr): Remove.
67872         (nscd_init): Move inotify descriptor creation to main.
67873         Don't register files for notification here.
67874         (register_traced_file): New function.
67875         (invalidate_cache): Don't use reset_res to determine whether to call
67876         res_init, go through the list of registered files.
67877         (main_loop_poll): The inotify descriptors are now stored in the
67878         structures for the traced files.
67879         (main_loop_epoll): Likewise
67880         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67881         to __nss_disable_nscd.
67882         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67883         for a database anymore.  Check the records for all the registered
67884         files instead.
67885         * nss/Makefile (libnss_files-routines): Add files-init.
67886         (libnss_db-routines): Add db-init.
67887         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67888         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67889         * nss/nss_db/db-init.c: New file.
67890         * nss/nss_files/files-init.c: New file.
67891         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67892         __nss_lookup_function.
67893         (__nss_lookup_function): Call nss_load_library.
67894         (nss_load_all_libraries): New function.
67895         (__nss_disable_nscd): Take parameter with callback function for files
67896         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67897         used for the cached services.
67898         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67899         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67900         options for features to all the files in nscd.
67902         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67904 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67906         * csu/elf-init.c (__libc_csu_init): Comment typo.
67908 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67910         * po/pl.po: Update from translation team.
67911         * po/ja.po: Likewise.
67912         * po/ru.po: Likewise.
67913         * po/ko.po: Likewise.
67914         * po/fr.po: Likewise.
67916 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67918         * configure.in (.ctors/.dtors header and trailer check):
67919         Use an empirical test on a built program.
67920         * configure: Regenerated.
67922         * configure.in (-z relro check): Use an empirical test on a built DSO.
67923         Detect, but do not require, on ia64.
67924         * configure: Regenerated.
67926         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67927         Update tests that use readelf to use $READELF instead.
67928         * configure: Regenerated.
67930 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67932         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67933         if the result is not used.
67935 2011-07-05  Andreas Jaeger  <aj@suse.de>
67937         [BZ#9696]
67938         * stdlib/tst-strtod.c: Add testcase.
67940 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67942         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67943         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67944         The latter has a higher limit.  Take additional parameter to pass to
67945         the new function.
67946         (__pathconf): Pass file to __statfs_link_max.
67947         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67948         __statfs_link_max.
67949         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67950         __statfs_link_max.
67952         [BZ #12868]
67953         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67954         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67955         Handle Lustre.
67956         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67957         (__statfs_filesize_max): Likewise.
67958         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67960 2011-07-05  Andreas Jaeger  <aj@suse.de>
67962         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67964 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67966         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67967         `status' variable.
67968         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67969         Likewise.
67971 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67973         * Makefile (strop-tests): Add strncat.
67974         * string/test-strncat.c: New file.
67976 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67978         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67980 2011-06-21  Andreas Jaeger  <aj@suse.de>
67982         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67983         Copy rule from iconvdata/Makefile.
67985 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67987         [BZ #12922]
67988         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67989         but no long options are defined, just return 'W'.
67991 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67993         [BZ #9696]
67994         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67996 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67998         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67999         netgroups to read.
68000         (innetgr): Likewise.
68002 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68004         * config.make.in (install_root): Default to $(DESTDIR).
68006 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68008         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68010 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68012         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68014         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68015         containing directory rather than embedding absolute directory names.
68017         * scripts/check-local-headers.sh: Rewritten using awk.
68018         Match by word, not by line.  Print error messages for matches.
68019         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68021         * Makerules [shlib-lds-flags empty]:
68022         ($(common-objpfx)libc_pic.opts): New target.
68023         ($(common-objpfx)libc_pic.os.clean): New target.
68024         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68026         * config.make.in (OBJCOPY): New variable.
68027         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68028         * configure: Regenerated.
68030         * config.make.in (use-default-link): New variable.
68031         * configure.in (use_default_link): Grok --with-default-link to set it.
68032         * configure: Regenerated.
68033         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68034         (shlib-lds, shlib-lds-flags): Define to empty.
68036         * Makerules (shlib-lds): New variable.
68037         (shlib-lds-flags): New variable.
68038         (build-shlib, build-moduile, build-module-asneeded): Use it.
68039         ($(common-objpfx)libc.so): Use $(shlib-lds).
68040         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68041         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68043         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68044         DT_FLAGS/DT_FLAGS_1 with zero flags.
68046         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68047         linker script munging.
68049 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68051         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68052         as 128-bit value.
68053         * crypt/sha512.c (sha512_process_block): Perform total addition using
68054         128-bit if possible.
68055         (__sha512_finish_ctx): Likewise.
68056         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68057         as 64-bit value.
68058         * crypt/sha256.c (SWAP64): Define.
68059         (sha256_process_block): Perform total addition using 64-bit if
68060         possible.
68061         (__sha256_finish_ctx): Likewise.
68063 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68065         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68066         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68067         * nscd/hstcache.c (cache_addhst): Likewise.
68068         * nscd/grpcache.c (cache_addgr): Likewise.
68069         * nscd/aicache.c (addhstaiX): Likewise
68070         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68072 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68074         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68075         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68076         * nscd/hstcache.c (cache_addhst): Likewise.
68077         * nscd/grpcache.c (cache_addgr): Likewise.
68078         * nscd/aicache.c (addhstaiX): Likewise
68080 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68082         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68083         domain only when needed.
68085 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68088         is always restored.
68090 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68092         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68093         are re-adding the entry.
68094         * nscd/servicescache.c (cache_addserv): Likewise.
68096 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68098         * sysdeps/generic/dl-irel.h: fix protection against multiple
68099         inclusions.
68100         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68102 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68104         [BZ #12935]
68105         * malloc/memusage.sh: Fix quoting in message.
68106         * debug/xtrace.sh: Likewise.
68108         * configure.in: Remove support for --experimental-malloc option, make
68109         it the default.
68110         * config.make.in: Likewise.
68111         * malloc/Makefile: Likewise.
68113 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68115         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68116         two-byte characters.
68118 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68120         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68121         AC_CACHE_CHECK invocation.
68122         * configure: Regenerated.
68124         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68126 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68128         [BZ #12350]
68129         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68130         bit from old_res_options.
68132         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68134         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68135         value type for setfct.
68137 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68139         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68140         __gettimeofday instead of gettimeofday.
68142 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68144         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68146 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68148         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68150         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68151         info.
68153 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68155         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68156         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68157         strcpy-sse2-unaligned strncpy-sse2-unaligned
68158         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68159         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68160         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68161         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68162         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68163         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68164         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68165         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68166         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68167         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68168         (STRCPY): Support SSE2 and SSSE3 versions.
68170 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68172         [BZ #12874]
68173         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68174         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68175         kernels which artificially limit size of requests.
68177 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68179         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68180         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68181         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68182         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68183         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68184         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68185         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68186         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68187         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68188         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68189         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68190         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68191         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68192         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68193         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68194         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68195         Enable unaligned load optimization for Intel Core i3, i5 and i7
68196         processors.
68197         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68198         Define.
68199         (index_Fast_Unaligned_Load): Define.
68200         (HAS_FAST_UNALIGNED_LOAD): Define.
68202 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68204         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68206 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68208         [BZ #12907]
68209         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68210         until it is clear that the information is realy needed.
68211         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68213 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68217 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68219         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68220         /sys/devices/system/cpu/online if it is usable.
68222         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68223         reading the information from the /proc filesystem to once a second.
68225 2011-06-21  Andreas Jaeger  <aj@suse.de>
68227         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68228         NULL after inclusion of kernel headers.
68230 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
68232         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68233         calls to internal_setent.
68235         [BZ #12885]
68236         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68237         addresses using gethostbyname4_r ignore IPv4 addresses.
68239         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68240         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
68242         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68244 2011-06-20  David S. Miller  <davem@davemloft.net>
68246         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68247         inclusions.
68248         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68250         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68251         (elf_irel): Use it.
68252         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68253         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68254         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68255         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68256         * sysdeps/x86_64/dl-irel.h: Likewise.
68258         * elf/dl-runtime.c: Use elf_ifunc_invoke.
68259         * elf/dl-sym.c: Likewise.
68261 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68263         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
68264         need to dereference resplen2.
68266 2011-06-14  Andreas Schwab  <schwab@redhat.com>
68268         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68270 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68272         * Makeconfig: Define vardbdir and inst_vardbdir.
68273         * nss/Makefile: Add rules to install db-Makefile.
68275         * nss/nss_db/db-XXX.c: Cleanup.
68277         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68278         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68279         GLIBC_PRIVATE.
68280         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68281         * nss/makedb.c: Implement -g option to specify that value strings
68282         are generated and should not be added to table iterated over for
68283         get*ent calls.
68284         * nss/nss_db/db-initgroups.c: New file.
68286         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68287         interface.
68289         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68290         (internal_getgrouplist): Adjust to name change.
68291         Update use_initgroups_entry if this is not the first call.
68292         * nss/databases.def: Add initgroups entry.
68294         * nss/makedb.c (compute_tables): Check result of multiple hash table
68295         sizes to minimize maximum chain length.
68297 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
68299         * Versions.def: Add entry for libnss_db.
68300         * shlib-versions: Likewise.
68301         * nss/Makefile: Add rules to build libnss_db.
68302         * nss/Versions: Add libnss_db information.  Organize libnss_files
68303         entries better.
68304         * nss/db-Makefile: Add gshadow support.  Change rules for the new
68305         makedb progra.  Some minor improvements to generate smaller files.
68306         * nss/nss_db/nss_db.h: Move NSS database header data structures to
68307         here from...
68308         * nss/makedb.c: ...here.
68309         Improve database format to be smaller and require less memory at
68310         runtime.
68311         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
68312         db anymore.
68313         * nss/nss_db/db-netgrp.c: Likewise.
68314         * nss/nss_db/db-open.c: Likewise.
68315         * nss/nss_files/flies-XXX.x: Adjust comments.
68316         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68317         * nss/nss_files/files-grp.c: Likewise.
68318         * nss/nss_files/files-hosts.c: Likewise.
68319         * nss/nss_files/files-network.c: Likewise.
68320         * nss/nss_files/files-proto.c: Likewise.
68321         * nss/nss_files/files-pwd.c: Likewise.
68322         * nss/nss_files/files-rpc.c: Likewise.
68323         * nss/nss_files/files-service.c: Likewise.
68324         * nss/nss_files/files-sgrp.c: Likewise.
68325         * nss/nss_files/files-spwd.c: Likewise.
68326         * nss/nss_db/db-alias.c: Removed.
68327         * nss/nss_db/dummy-db.h: Removed.
68329 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
68331         * nss/makedb.c: Rewritten to not use database library.
68332         * nss/Makefile: Update to build new makedb program.
68334 2011-06-14  Andreas Jaeger  <aj@suse.de>
68336         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68337         memset declaration.
68339 2011-06-10  Andreas Schwab  <schwab@redhat.com>
68341         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68342         tmpbuf.
68344 2011-06-10  Roland McGrath  <roland@hack.frob.com>
68346         * Makerules (shlib.lds): Fail if the linker script comes out empty.
68347         * elf/Makefile ($(objpfx)ld.so): Likewise.
68349         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68350         Don't list ld.so twice in dependencies.
68352         * posix/bug-regex31.c: Include <stdlib.h>.
68354         * nscd/hstcache.c (cache_addhst): Remove unused variable.
68356         * nis/nss_compat/compat-spwd.c
68357         (getspent_next_nss_netgr): Remove unused variable.
68358         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68360         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68361         nonmembers" output to use the right array.
68363         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68365         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68367         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68368         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68369         * catgets/gencat.c (read_input_file): Likewise.
68370         * locale/programs/locarchive.c (enlarge_archive): Likewise.
68372         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68373         variable definition inside #if's controlling its use.
68375         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68377         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68379         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68381         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68382         unreachable code.
68384         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68386         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68387         * configure: Regenerated.
68389         * Makerules: Revert last change.
68390         * elf/Makefile: Likewise.
68392 2011-06-09  Roland McGrath  <roland@hack.frob.com>
68394         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68395         * elf/Makefile ($(objpfx)librtld.os): Likewise.
68396         (reloc-link): Likewise.
68398 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
68400         * elf/Makefile: Add rules to build pldd.
68401         * elf/pldd.c: New file.
68402         * elf/pldd-xx.c: New file.
68404 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
68406         * version.h: Update for 2.15 development version.
68408 2011-06-07  David S. Miller  <davem@davemloft.net>
68410         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68411         ifuncs.
68412         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68413         elf_machine_lazy_rel): Likewise.
68414         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68415         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68416         elf_machine_lazy_rel): Likewise.
68417         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68418         dl_hwcap via passed in argument.
68419         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68420         Likewise.
68422 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68424         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
68426 2011-06-06  Roland McGrath  <roland@hack.frob.com>
68428         [BZ #12849]
68429         * manual/fdl-1.1.texi: New file, verbatim from:
68430         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68431         * manual/lgpl-2.1.texi: New file, verbatim from:
68432         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68433         * manual/Makefile (licenses): New variable, list those new file names.
68434         (texis): Use it.
68435         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68437         * manual/fdl.texi: File removed.
68438         * manual/lesser.texi: File removed.
68439         * manual/libc.texinfo (Copying, Documentation License):
68440         Use new @include file names, put @appendix directive before @include.
68442 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
68444         [BZ #12841]
68445         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68446         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68447         (mq_open): Add __NTH.
68449 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
68451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68452         Assume Intel Core i3/i5/i7 processor if AVX is available.
68454 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68456         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68457         typo.
68459 2011-05-31  Andreas Schwab  <schwab@redhat.com>
68461         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68462         memory.  Use alloca_account.  Fix memory leak when retrying.
68464 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68466         * version.h (RELEASE): Bump for 2.14 release.
68467         * include/features.h (__GLIBC_MINOR__): Bump to 14.
68469         * config.make.in (RANLIB): Remove entry.
68471 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
68473         * po/Makefile (po-sed-cmd): Add ksh to extensions.
68474         (libc.pot): Work around missing support for .ksh extension in xgettext.
68476         [BZ #12684]
68477         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68478         if both request failed.
68479         (send_dg): In case of server errors clear resplen or *resplen2.
68481         [BZ #12454]
68482         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68483         when there are multiple maps.
68484         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68485         (_dl_fini): Remove test here.
68487         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68489 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
68491         [BZ #12350]
68492         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68493         bit from old_res_options.
68494         (gaih_inet): Likewise.
68496         [BZ #11099]
68497         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68498         as signed.
68500         * resolv/res_init.c (res_setoptions): Make the code more compact.
68502         [BZ #11558]
68503         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68504         set RES_USEVC.
68506         [BZ #11634]
68507         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68509         * malloc/malloc.h: Mark malloc hook variables as deprecated.
68511         [BZ #11781]
68512         * malloc/malloc.h: Declare malloc hook variables as volatile.
68514         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
68515         in last patch.
68517         [BZ #11799]
68518         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
68519         raise in the comment.
68520         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68521         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68522         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
68524 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
68526         [BZ #12811]
68527         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
68528         grow the buffers more if it already has to be sufficient.
68529         (build_wcs_upper_buffer): Likewise.
68530         * posix/regexec.c (check_matching): Likewise.
68531         (clean_state_log_if_needed): Likewise.
68532         (extend_buffers): Don't enlarge buffers beyond size of the input
68533         buffer.
68534         Patches mostly by Emil Wojak <emil@wojak.eu>.
68535         * posix/bug-regex32.c: New file.
68536         * posix/Makefile (tests): Add bug-regex32.
68538         * locale/findlocale.c (_nl_find_locale): Return right away if
68539         _nl_explode_name failed.
68540         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
68542         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
68544         * debug/xtrace.sh: Unify messages.
68545         * malloc/memusage.sh: Likewise.
68547         [BZ #12813]
68548         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
68549         time symbol from vDSO.  Substitute with vsyscall if not available.
68550         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
68551         __vdso_time.
68553         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
68554         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
68555         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
68556         Add sendmmsg and internal_sendmmsg.
68557         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
68558         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
68559         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
68561         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
68562         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
68563         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
68565 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
68567         [BZ #12813]
68568         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
68569         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
68570         available.
68571         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
68572         __vdso_getcpu.
68574         [BZ #12814]
68575         * iconvdata/Makefile (tests): Add bug-iconv9.
68576         * iconvdata/bug-iconv9.c: New file.
68578 2011-05-27  Andreas Schwab  <schwab@redhat.com>
68580         [BZ #12814]
68581         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
68583 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
68585         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68586         (struct user_regs_struct): Change intcs field back to cs.
68588 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
68590         * po/ja.po: Update from translation team.
68592 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
68594         [BZ #12795]
68595         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68596         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68598 2011-05-20  Andreas Schwab  <schwab@redhat.com>
68600         * stdlib/longlong.h: Update from GCC.
68602 2011-05-23  Andreas Schwab  <schwab@redhat.com>
68604         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68605         parameter name.
68606         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68607         Add parameter name.
68608         (__sysconf): Pass it down.
68610 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
68612         [BZ #12671]
68613         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68614         some situations.
68615         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68616         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68617         add in in __libc_use_alloca calls.  Adjust callers.
68618         (glob): Use malloc in some situations.
68620         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68621         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68622         pltexit.
68624 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
68626         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68627         and CLOCK_BOOTTIME_ALARM.
68629         [BZ #12782]
68630         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68631         is returned.
68633         * string/_strerror.c (__strerror_r): Print negative errors as signed
68634         numbers.
68636         [BZ #12777]
68637         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68638         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68639         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
68641         * configure.in: Fix typo in redirection and correct removal of test
68642         files in two cases.
68644         [BZ #12788]
68645         * locale/setlocale.c (new_composite_name): Fix test to check for
68646         identical name of all categories.
68648         [BZ #12792]
68649         * libio/filedoalloc.c (local_isatty): New function.
68650         (_IO_file_doallocate): Use local_isatty.
68651         * stdio-common/perror.c (perror): In case a new stream is used
68652         forward the stream error.
68653         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
68654         error flag.
68656 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
68658         [BZ #11884]
68659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
68660         alloca.
68661         * include/alloca.h (extend_alloca_account): Define.
68663         [BZ #11857]
68664         * posix/regex.h: Fix comments with documentation of user-accessible
68665         fields after compilation and describe correct free'ing of pattern
68666         after re_compile_pattern.
68667         Patch by Reuben Thomas <rrt@sc3d.org>.
68669 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
68671         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
68672         and -mno-altivec to prevent the compiler from using Altivec and/or
68673         VSX instructions when the corresponding registers are not available.
68675 2011-05-19  Andreas Schwab  <schwab@redhat.com>
68677         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
68679 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
68681         * libio/freopen.c (freopen): Use __dup2, not dup2.
68682         * libio/freopen64.c (freopen64): Likewise.
68684 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68686         [BZ #12775]
68687         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
68688         * math/Makefile (tests): Add test-powl.
68689         (CFLAGS-test-powl.c): Define.
68690         * math/test-powl.c: New file.
68692 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68694         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
68696 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
68698         [BZ #11837]
68699         * iconvdata/gb18030.c: Update to GB18020-2005.
68701 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
68703         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68704         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68705         Patch by Aharon Robbins <arnold@skeeve.com>.
68707         [BZ #11892]
68708         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68709         on the stack.
68711         [BZ #11895]
68712         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68713         through underflows.
68715         [BZ #12766]
68716         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68717         point to strings before performing equality test for error_one_per_line
68718         mode.
68720         [BZ #11697]
68721         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68723         [BZ #11820]
68724         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68725         (struct user_fpregs_struct): Avoid __uint*_t types.
68727         [BZ #6420]
68728         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68729         symbol info.  Use it instead of calling _dl_addr locally.
68730         (lock_and_info): New function.
68731         (tr_freehook): Call lock_and_info and pass symbol info as additional
68732         parameter to tr_where.
68733         (tr_mallochook): Likewise.
68734         (tr_reallochook): Likewise.
68735         (tr_memalignhook): Likewise.
68737         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68738         used and couldn't be at all thread-safe.
68740 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68742         * libio/freopen.c (freopen): Don't close old file descriptor
68743         before the new one is opened.  Instead dup the new file descriptor
68744         to the old one after the new stream is created.
68745         * libio/freopen64.c (freopen64): Likewise.
68746         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68747         * libio/fileops.c (_IO_new_file_close_it): Handle new
68748         _IO_FLAGS2_NOCLOSE flag.
68749         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68750         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68751         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68752         _IO_FLAGS2_NOCLOSE flag.
68753         * include/unistd.h: Add hidden_proto for dup3.
68754         Define __have_dup3.
68755         * io/dup3.c: Define hidden symbol.
68756         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68758         [BZ #7101]
68759         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68760         when an incomplete long option is used.
68761         * posix/tst-getopt_long1.c: New file.
68762         * posix/Makefile (tests): Add tst-getopt_long1.
68764         [BZ #10138]
68765         * scripts/config.guess: Update from autoconf-2.68.
68766         * scripts/config.sub: Likewise.
68768         [BZ #10157]
68769         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68770         tests into ...
68771         (has_cpuclock): ...this.  New function.
68772         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68773         macro here based on has_cpuclock code.
68775         [BZ #10149]
68776         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68777         First byte (not low byte) is now always NUL.
68778         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68780         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68781         Use non-cancelable interfaces.
68783         [BZ #9809]
68784         * locale/iso-639.def: Add entry for Sorani.
68786         [BZ #11901]
68787         * include/stdlib.h: Move include protection to the right place.
68788         Define abort_msg_s.  Declare __abort_msg with it.
68789         * stdlib/abort.c (__abort_msg): Adjust type.
68790         * assert/assert.c (__assert_fail_base): New function.  Majority
68791         of code from __assert_fail.  Allocate memory for __abort_msg with
68792         mmap.
68793         (__assert_fail): Now call __assert_fail_base.
68794         * assert/assert-perr.c: Remove bulk of implementation.  Use
68795         __assert_fail_base.
68796         * include/assert.hL Declare __assert_fail_base.
68797         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68798         mmap.
68799         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68801 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68803         [BZ #11952]
68804         [BZ #12453]
68805         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68806         until all modules are registered in the DTV.
68807         * elf/Makefile: Add rules to build and run tst-tls19.
68808         * elf/tst-tls19.c: New file.
68809         * elf/tst-tls19mod1.c: New file.
68810         * elf/tst-tls19mod2.c: New file.
68811         * elf/tst-tls19mod3.c: New file.
68812         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68814         [BZ #12083]
68815         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68816         correctly.
68818         [BZ #12601]
68819         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68820         two-byte sequence errors.
68821         * iconvdata/Makefile (tests): Add bug-iconv8.
68822         * iconvdata/bug-iconv8.c: New file.
68824         [BZ #12626]
68825         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68826         buf2 definition.
68828         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68830         [BZ #12432]
68831         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68832         (dummy_getcfa): New function.
68833         (init): Get _Unwind_GetCFA address, use dummy if not found.
68834         (backtrace_helper): In recursion check, also check whether CFA changes.
68835         (__backtrace): Completely initialize arg.
68837         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68838         storing incomplete byte sequence in state object.  Avoid testing for
68839         guaranteed too small input if we know there is enough data available.
68841 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68843         * Makeconfig (+link-pie): Indent.
68844         * Rules (binaries-pie): Define if $(have-fpie) and
68845         $(build-shared).
68846         (binaries-shared): Also filter out $(binaries-pie).
68847         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68848         * nscd/Makefile (others-pie): Add nscd.
68849         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68850         ($(objpfx)nscd): Remove command override.
68851         * login/Makefile (others-pie): Add pt_chown.
68852         ($(objpfx)pt_chown): Remove command override.
68853         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68854         remove command overrides.
68856 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68858         * libio/tst_putwc.c: Fix error messages.
68860         [BZ #12724]
68861         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68862         currently writing and seek to current position when not.
68863         * libio/Makefile (tests): Add bug-fclose1.
68864         * libio/bug-fclose1.c: New file.
68866 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68868         [BZ #12511]
68869         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68870         don't set DF_1_NODELETE here.
68871         (do_lookup_x): When entering new entry test for copy relocation
68872         and if necessary set DF_1_NODELETE flag.
68873         * elf/tst-unique4.cc: New file.
68874         * elf/tst-unique4.h: New file.
68875         * elf/tst-unique4lib.cc: New file.
68876         * elf/Makefile: Add rules to build and run tst-unique4.
68877         Patch by Piotr Bury <pbury@goahead.com>.
68879 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68881         [BZ #12052]
68882         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68884         [BZ #12625]
68885         * misc/mntent_r.c (addmntent): Flush the stream after the output
68887         [BZ #12393]
68888         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68889         (is_trusted_path_normalize): Skip initial colon.  Append slash
68890         to empty buffer.  Duplicate is_trusted_path code but allow
68891         constructed patch to be prefix.
68892         (is_dst): Allow $ORIGIN followed by /.
68893         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68894         Correct testing of result of is_trusted_path_normalize
68895         (decompose_rpath): Fix warning.
68897 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68899         [BZ #11257]
68900         * grp/initgroups.c (internal_getgrouplist): When we found the service
68901         list through the initgroups entry in nsswitch.conf do not always
68902         continue on a successful lookup.  Don't always use the
68903         __nss_group_database value if it is set.
68904         * nss/nsswitch.conf (initgroups): Change action for successful db
68905         lookup to continue for compatibility.
68907 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68909         [BZ #11532]
68910         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68911         and CP774 modules.
68912         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68913         and CP774 modules.
68914         * iconvdata/tst-tables.sh: Likewise.
68915         * iconvdata/cp770.c: New file.
68916         * iconvdata/cp771.c: New file.
68917         * iconvdata/cp772.c: New file.
68918         * iconvdata/cp773.c: New file.
68919         * iconvdata/cp774.c: New file.
68920         * iconvdata/testdata/CP770: New file.
68921         * iconvdata/testdata/CP770..UTF8: New file.
68922         * iconvdata/testdata/CP771: New file.
68923         * iconvdata/testdata/CP771..UTF8: New file.
68924         * iconvdata/testdata/CP772: New file.
68925         * iconvdata/testdata/CP772..UTF8: New file.
68926         * iconvdata/testdata/CP773: New file.
68927         * iconvdata/testdata/CP773..UTF8: New file.
68928         * iconvdata/testdata/CP774: New file.
68929         * iconvdata/testdata/CP774..UTF8: New file.
68931         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68932         END CHARMAP line.
68933         * iconvdata/gen-8bit-gap.sh: Likewise.
68934         * iconvdata/gen-8bit.sh: Likewise.
68936         * locale/iso-639.def: Add ary entry.
68938         [BZ #11258]
68939         * locale/C-translit.h.in: Add U20A1 transliteration.
68941         [BZ #12178]
68942         * locale/iso-639.def: Add wae entry.
68943         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68945         [BZ #12545]
68946         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68947         for n.
68949         [BZ #12711]
68950         * locale/C-translit.h.in: Add entry for U20B9.
68951         Patch by pravin.d.s@gmail.com.
68953 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68955         [BZ #12713]
68956         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68957         ENAMETOOLONG use generic getcwd.
68958         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68959         in rtld.  Use *stat64.
68960         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68961         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68962         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68963         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68964         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68965         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68966         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68967         __fstatat64 macros.
68968         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68969         * dirent/rewinddir.c: Add libc_hidden_def.
68970         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68971         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68973         * include/dirent.h (__alloc_dir): Add flags parameter.
68974         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68975         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68976         __alloc_dir.
68977         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68978         from fdopendir if O_CLOEXEC is already set.
68980 2011-03-15  Alan Modra  <amodra@gmail.com>
68982         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68983         l_tls_firstbyte_offset non-zero.  Save padding offset in
68984         l_tls_firstbyte_offset for later use.
68985         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68986         freeing static tls block.
68988 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68990         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68991         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68992         being defined by the kernel headers.
68994 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68996         [BZ #12734]
68997         * resolv/resolv.h: Define RES_NOTLDQUERY.
68998         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68999         no-tld-query and set RES_NOTLDQUERY.
69000         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69001         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69002         modern BIND to search name as TLD unless forbidden.
69004 2011-05-07  Petr Baudis  <pasky@suse.cz>
69005             Ulrich Drepper  <drepper@gmail.com>
69007         [BZ #12393]
69008         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69009         (is_trusted_path): ...to here.
69010         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69011         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69012         using is_trusted_path_normalize() in setuid scripts.
69014 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69016         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69017         __BEGIN/__END_DECLS.
69019 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69021         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69022         NSS_STATUS_NOTFOUND if no record was found.
69024 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69026         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69027         (headers-not-in-tirpc): Remove rpc/netdb.h
69028         * resolv/netdb.h: Revert last change.
69030 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69032         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69033         circular dependency between libgcc.a and libc.a.
69035 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69037         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69038         * nis/Makefile: Don't install rpcsvc/*.
69039         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69040         instead of <rpc/types.h>.
69041         (MAXHOSTNAMELEN): Define.
69043 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69045         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69047 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69049         [BZ #12714]
69050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69051         gethostbyname4_r when IPv6 results are possible.
69053 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69055         [BZ #12723]
69056         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69057         _PC_PIPE_BUF handling.
69059 2011-04-30  Bruno Haible  <bruno@clisp.org>
69061         [BZ #12717]
69062         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69063         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69064         to 'int'.
69065         * inet/getnameinfo.c (getnameinfo): Likewise.
69067 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69069         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69070         to groups setting in database lookup.
69071         * nss/nsswitch.conf: Add initgroups entry.
69073 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69075         [BZ #12685]
69076         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69077         mode string.
69078         Patch by Eric Blake <eblake@redhat.com>.
69080 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69082         * sunrpc/Makefile (need-export-routines): Add svc_run.
69083         (routines): Remove svc_run.
69084         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69085         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69086         * sunrpc/svc_run.c (svc_run): Likewise.
69087         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69089 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69091         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69092         problem in reallocation in last patch.
69094 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69096         * sunrpc/Makefile: Move inclusion of Rules.
69098 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69100         * nss/nss_files/files-initgroups.c: New file.
69101         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69102         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69103         _nss_files_initgroups_dyn.
69105 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69107         * elf/elf.h (R_ARM_IRELATIVE): Define.
69109 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69111         * po/ru.po: Update from translation team.
69113 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69115         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69116         dependencies.
69118 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69120         [BZ #12653]
69121         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69122         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69123         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69124         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69125         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69127 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69129         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69130         differing bytes.
69131         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69132         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69133         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69135 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69137         [BZ #12420]
69138         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69139         storing it.
69140         * stdlib/bug-getcontext.c: New file.
69141         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69143 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69145         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69146         instructions into .machine "z9-109".
69147         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69148         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69150 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69152         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69153         between environment variables and auxiliary vector.
69155 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
69157         * Makefile: Add rules to build linkobj/libc.so.
69158         * include/libc-symbols.h: Define libc_hidden_nolink.
69159         * include/rpc/auth.h: Mark functions which are to be hidden.
69160         * include/rpc/auth_des.h: Likewise.
69161         * include/rpc/auth_unix.h: Likewise.
69162         * include/rpc/clnt.h: Likewise.
69163         * include/rpc/des_crypt.h: Likewise.
69164         * include/rpc/key_prot.h: Likewise.
69165         * include/rpc/pmap_clnt.h: Likewise.
69166         * include/rpc/pmap_prot.h: Likewise.
69167         * include/rpc/pmap_rmt.h: Likewise.
69168         * include/rpc/rpc_msg.h: Likewise.
69169         * include/rpc/svc.h: Likewise.
69170         * include/rpc/svc_auth.h: Likewise.
69171         * include/rpc/xdr.h: Likewise.
69172         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69173         * nss/Makefile: Likewise.
69174         * sunrpc/Makefile: Don't install headers.  Build library with normal
69175         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69176         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69177         for the compat linking library.  Remove use of INTDEF/INTUSE.
69178         * sunrpc/auth_none.c: Likewise.
69179         * sunrpc/auth_unix.c: Likewise.
69180         * sunrpc/authdes_prot.c: Likewise.
69181         * sunrpc/authuxprot.c: Likewise.
69182         * sunrpc/clnt_gen.c: Likewise.
69183         * sunrpc/clnt_perr.c: Likewise.
69184         * sunrpc/clnt_raw.c: Likewise.
69185         * sunrpc/clnt_simp.c: Likewise.
69186         * sunrpc/clnt_tcp.c: Likewise.
69187         * sunrpc/clnt_udp.c: Likewise.
69188         * sunrpc/clnt_unix.c: Likewise.
69189         * sunrpc/des_crypt.c: Likewise.
69190         * sunrpc/des_soft.c: Likewise.
69191         * sunrpc/get_myaddr.c: Likewise.
69192         * sunrpc/key_call.c: Likewise.
69193         * sunrpc/key_prot.c: Likewise.
69194         * sunrpc/netname.c: Likewise.
69195         * sunrpc/pm_getmaps.c: Likewise.
69196         * sunrpc/pm_getport.c: Likewise.
69197         * sunrpc/pmap_clnt.c: Likewise.
69198         * sunrpc/pmap_prot.c: Likewise.
69199         * sunrpc/pmap_prot2.c: Likewise.
69200         * sunrpc/pmap_rmt.c: Likewise.
69201         * sunrpc/publickey.c: Likewise.
69202         * sunrpc/rpc_cmsg.c: Likewise.
69203         * sunrpc/rpc_common.c: Likewise.
69204         * sunrpc/rpc_dtable.c: Likewise.
69205         * sunrpc/rpc_prot.c: Likewise.
69206         * sunrpc/rpc_thread.c: Likewise.
69207         * sunrpc/rtime.c: Likewise.
69208         * sunrpc/svc.c: Likewise.
69209         * sunrpc/svc_auth.c: Likewise.
69210         * sunrpc/svc_authux.c: Likewise.
69211         * sunrpc/svc_raw.c: Likewise.
69212         * sunrpc/svc_run.c: Likewise.
69213         * sunrpc/svc_simple.c: Likewise.
69214         * sunrpc/svc_tcp.c: Likewise.
69215         * sunrpc/svc_udp.c: Likewise.
69216         * sunrpc/svc_unix.c: Likewise.
69217         * sunrpc/svcauth_des.c: Likewise.
69218         * sunrpc/xcrypt.c: Likewise.
69219         * sunrpc/xdr.c: Likewise.
69220         * sunrpc/xdr_array.c: Likewise.
69221         * sunrpc/xdr_float.c: Likewise.
69222         * sunrpc/xdr_intXX_t.c: Likewise.
69223         * sunrpc/xdr_mem.c: Likewise.
69224         * sunrpc/xdr_rec.c: Likewise.
69225         * sunrpc/xdr_ref.c: Likewise.
69226         * sunrpc/xdr_sizeof.c: Likewise.
69227         * sunrpc/xdr_stdio.c: Likewise.
69229 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
69231         [BZ #12650]
69232         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69233         * sysdeps/ia64/dl-tls.h: Likewise.
69234         * sysdeps/powerpc/dl-tls.h: Likewise.
69235         * sysdeps/s390/dl-tls.h: Likewise.
69236         * sysdeps/sh/dl-tls.h: Likewise.
69237         * sysdeps/sparc/dl-tls.h: Likewise.
69238         * sysdeps/x86_64/dl-tls.h: Likewise.
69239         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69241 2011-03-14  Andreas Schwab  <schwab@redhat.com>
69243         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69244         rpath element also skip the following colon.
69245         (expand_dynamic_string_token): Add is_path parameter and pass
69246         down to DL_DST_REQUIRED and _dl_dst_substitute.
69247         (decompose_rpath): Call expand_dynamic_string_token with
69248         non-zero is_path.  Ignore empty rpaths.
69249         (_dl_map_object_from_fd): Call expand_dynamic_string_token
69250         with zero is_path.
69252 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
69254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69255         Make cancelable.
69257 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
69259         [BZ #12655]
69260         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69261         Patch by Filipe David Manana <fdmanana@apache.org>.
69263 2011-04-07  Andreas Schwab  <schwab@redhat.com>
69265         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69266         Maintain aligned stack.
69267         (CHECK_RSP): Remove unused macro.
69269 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
69271         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69272         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69274 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
69276         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69278         * include/features.h: Mention __USE_XOPEN2K8 in comment.
69280 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
69282         [BZ #12518]
69283         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69284         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69285         * sysdeps/x86_64/memmove.c: New file.
69286         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69287         (memcpy): Renamed to ...
69288         (__new_memcpy): This.
69289         (memcpy): Provide GLIBC_2_14 memcpy.
69290         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69291         (memcpy): Provide GLIBC_2_2_5 memcpy.
69293 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69295         [BZ #12631]
69296         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69298 2011-03-30  Andreas Schwab  <schwab@redhat.com>
69300         * misc/syncfs.c: New file.
69301         * misc/Makefile (routines): Add syncfs.
69302         * posix/unistd.h: Declare syncfs.
69303         * sysdeps/unix/syscalls.list: Add syncfs.
69305 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69307         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69308         open_by_handle_at.
69309         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69310         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69311         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69312         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69313         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69314         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69315         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69317 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69319         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69320         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69321         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69322         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69323         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69324         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69325         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69327         * io/Makefile: Compile fallocate.c, fallocate64.c, and
69328         sync_file_range.c with -fexceptions.
69329         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69330         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69331         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69332         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69333         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69334         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69335         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69336         sync_file_range as cancellation point
69337         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
69338         now a wrapper around __call_sync_file_range with cancellation handling.
69339         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69340         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
69341         function name to __call_sync_file_range.
69342         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69343         Add call_sync_file_range.
69345 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69348         bits/timex.h.
69350 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69352         * iconv/iconv.h: Fix typo in comment.
69353         * io/fcntl.h: Likewise.
69354         * libio/stdio.h: Likewise.
69355         * posix/spawn.h: Likewise.
69356         * posix/unistd.h: Likewise.
69357         * stdlib/stdlib.h: Likewise.
69358         * time/time.h: Likewise.
69359         * wcsmbs/wchar.h: Likewise.
69361         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69362         open_by_handle): Add.
69363         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69364         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
69365         Augment a few comments.
69366         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69367         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69368         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69369         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69370         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69371         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69372         open_by_handle.
69374         * io/fcntl.h (AT_EMPTY_PATH): Define.
69376 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
69378         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69379         * sysdeps/unix/sysv/linux/bits/time.h: New file.
69380         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69381         to...
69382         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
69383         * Versions.def: Add GLIBC_2.14.
69384         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69385         Export.
69387 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
69389         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69390         round counter.
69391         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69393 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69395         [BZ #12597]
69396         * string/test-strncmp.c (do_page_test): New function.
69397         (check2): Likewise.
69398         (test_main): Call check2.
69399         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69401 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
69403         [BZ #12587]
69404         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69405         Handle cache information in CPU leaf 4.
69406         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69408 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
69410         [BZ #12583]
69411         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69412         character representation.
69413         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69415 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
69417         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69418         END(__isnan) to END(__isnanf) to match function entry point/label
69419         EALIGN(__isnanf,...).
69421 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
69423         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69425 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
69427         [BZ #12510]
69428         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69429         copy from the symbol referenced in the relocation to initialize the
69430         used variable.
69431         Patch by Piotr Bury <pbury@goahead.com>.
69432         * elf/Makefile: Add rules to build and tst-unique3.
69433         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69434         * elf/tst-unique3.cc: New file.
69435         * elf/tst-unique3.h: New file.
69436         * elf/tst-unique3lib.cc: New file.
69437         * elf/tst-unique3lib2.cc: New file.
69439         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69441 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
69443         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69444         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
69445         to _start.
69447 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
69449         * elf/dl-load.c (_dl_map_object): If we are looking for the first
69450         to-be-loaded object along a path to loader is ld.so.
69452 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69453             Ulrich Drepper  <drepper@gmail.com>
69455         * sysdeps/x86_64/memset.S: After aligning destination, code
69456         branches to different locations depending on the value of
69457         misalignment, when multiarch is enabled. Fix this.
69459 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69461         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69462         Set _x86_64_preferred_memory_instruction for AMD processsors.
69463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69464         Set bit_Prefer_SSE_for_memop for AMD processors.
69466 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
69468         * libio/fmemopen.c (fmemopen): Optimize a bit.
69470 2011-03-03  Andreas Schwab  <schwab@redhat.com>
69472         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69474 2011-03-03  Roland McGrath  <roland@redhat.com>
69476         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69478 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
69480         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69481         __bzero_ultra1 instead of __memset_ultra1.
69483 2011-02-23  Andreas Schwab  <schwab@redhat.com>
69484             Ulrich Drepper  <drepper@gmail.com>
69486         [BZ #12509]
69487         * include/link.h (struct link_map): Add l_orig_initfini.
69488         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69489         returning unsuccessfully.
69490         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69491         close of a file loaded at startup, restore the original l_initfini
69492         list.
69493         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69494         list, store the pointer.
69495         * elf/Makefile ($(objpfx)noload-mem): New rule.
69496         (noload-ENV): Define.
69497         (tests): Add $(objpfx)noload-mem.
69498         * elf/noload.c: Include <memcheck.h>.
69499         (main): Call mtrace.  Close all opened handles.
69501 2011-02-17  Andreas Schwab  <schwab@redhat.com>
69503         [BZ #12454]
69504         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69505         dependencies are missing.
69507 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69509         Fix __if_freereq crash: Unlike the generic version which uses free,
69510         Hurd needs munmap.
69511         * sysdeps/mach/hurd/ifreq.h: New file.
69513 2011-01-27  Petr Baudis  <pasky@suse.cz>
69514             Ulrich Drepper  <drepper@gmail.com>
69516         [BZ 12445]#
69517         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
69518         to extend_alloca().
69519         * stdio-common/bug23.c: New file.
69520         * stdio-common/Makefile (tests): Add bug23.
69522 2010-09-28  Andreas Schwab  <schwab@redhat.com>
69523             Ulrich Drepper  <drepper@gmail.com>
69525         [BZ #12489]
69526         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
69527         before performing relro protection.  At old place add assertion
69528         to make sure nothing changed.
69530 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
69531             Glauber de Oliveira Costa  <glommer@gmail.com>
69533         * elf/elf.h: Add new ARM TLS relocs.
69535 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
69537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69538         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
69539         cast from r3.
69540         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
69541         'tests' variable.
69542         * sysdeps/wordsize-64/tst-writev.c: New file.
69544 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
69546         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
69547         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
69548         insns in _dl_start to prevent a TOC reference before relocs are
69549         resolved.
69551 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
69553         [BZ #12469]
69554         * Makeconfig: Remove RANLIB definition.
69555         * Makerules: Don't use RANLIB.
69556         * aclocal.m4: Remove ranlib test.
69557         * configure.in: No need to check for ranlib.
69558         * elf/rtld-Rules: Don't use RANLIB.
69560 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69562         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
69563         protection macro.
69564         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
69565         inclusion protection macro.
69567         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
69568         SIGRTMIN and SIGRTMAX and print information in that case only when
69569         SIGRTMIN is defined.
69571 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
69573         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
69574         arginfo fn returning -1.
69576         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
69577         and thousands string is zero terminated.
69579 2011-02-03  Andreas Schwab  <schwab@redhat.com>
69581         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
69582         sysdeps/unix/sysv/linux/bits/socket.h.
69584 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69586         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69587         (__CPU_COUNT): Remove old macros.
69588         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69589         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69590         (__CPU_ALLOC, __CPU_FREE): Add macros.
69591         (__sched_cpualloc, __sched_cpufree): Add declarations.
69593 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
69595         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69596         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69597         * nscd/aicache.c (addhstaiX): Return timeout of added value.
69598         (readdhstai): Return value of addhstaiX call.
69599         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69600         (addgrbyX): Return value returned by cache_addgr.
69601         (readdgrbyname): Return value returned by addgrbyX.
69602         (readdgrbygid): Likewise.
69603         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69604         (addpwbyX): Return value returned by cache_addpw.
69605         (readdpwbyname): Return value returned by addhstbyX.
69606         (readdpwbyuid): Likewise.
69607         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69608         (addservbyX): Return value returned by cache_addserv.
69609         (readdservbyname): Return value returned by addservbyX:
69610         (readdservbyport): Likewise.
69611         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69612         (addhstbyX): Return value returned by cache_addhst.
69613         (readdhstbyname): Return value returned by addhstbyX.
69614         (readdhstbyaddr): Likewise.
69615         (readdhstbynamev6): Likewise.
69616         (readdhstbyaddrv6): Likewise.
69617         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69618         (readdinitgroups): Return value returned by addinitgroupsX.
69619         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69620         (prune_cache): Keep track of timeout value of re-added entries.
69621         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69622         * nscd/nscd.h: Adjust prototypes of readd* functions.
69624 2011-02-04  Roland McGrath  <roland@redhat.com>
69626         * nis/nis_server.c (nis_servstate): Use the right name for 0.
69627         (nis_stats): Likewise.
69628         * nis/nis_modify.c (nis_modify): Likewise.
69629         * nis/nis_remove.c (nis_remove): Likewise.
69630         * nis/nis_add.c (nis_add): Likewise.
69632         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69634         * posix/fnmatch_loop.c: Add some consts.
69636         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69638 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
69640         [BZ #12460]
69641         * config.make.in (config-cflags-novzeroupper): Define.
69642         * configure.in: Substitute libc_cv_cc_novzeroupper.
69643         * elf/Makefile (AVX-CFLAGS): Define.
69644         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
69645         (CFLAGS-tst-auditmod4a.c): Likewise.
69646         (CFLAGS-tst-auditmod4b.c): Likewise.
69647         (CFLAGS-tst-auditmod6b.c): Likewise.
69648         (CFLAGS-tst-auditmod6c.c): Likewise.
69649         (CFLAGS-tst-auditmod7b.c): Likewise.
69650         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
69652 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
69654         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
69655         function to the callback.
69656         Patch partly by Jiri Olsa <jolsa@redhat.com>.
69658 2011-02-02  Andreas Schwab  <schwab@redhat.com>
69660         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
69661         of errno.
69663 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
69665         [BZ #11724]
69666         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
69667         of constructors.
69668         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
69669         of destructors.
69670         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
69672         [BZ #11724]
69673         * elf/Makefile: Add rules to build and run new test.
69674         * elf/tst-initorder.c: New file.
69675         * elf/tst-initorder.exp: New file.
69676         * elf/tst-initordera1.c: New file.
69677         * elf/tst-initordera2.c: New file.
69678         * elf/tst-initordera3.c: New file.
69679         * elf/tst-initordera4.c: New file.
69680         * elf/tst-initorderb1.c: New file.
69681         * elf/tst-initorderb2.c: New file.
69682         * elf/tst-order-a1.c: New file.
69683         * elf/tst-order-a2.c: New file.
69684         * elf/tst-order-a3.c: New file.
69685         * elf/tst-order-a4.c: New file.
69686         * elf/tst-order-b1.c: New file.
69687         * elf/tst-order-b2.c: New file.
69688         * elf/tst-order-main.c: New file.
69689         New test case by George Gensure <werkt0@gmail.com>.
69691 2010-10-01  Andreas Schwab  <schwab@redhat.com>
69693         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69694         decoding ACE if AI_CANONIDN.
69696 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
69698         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69700 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
69702         * version.h (RELEASE): Bump for 2.13 release.
69703         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69705         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69707         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69708         MADV_NOHUGEPAGE.
69709         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69710         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69711         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69712         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69713         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69714         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69716         * posix/getconf.c: Update copyright year.
69717         * catgets/gencat.c: Likewise.
69718         * csu/version.c: Likewise.
69719         * debug/catchsegv.sh: Likewise.
69720         * debug/xtrace.sh: Likewise.
69721         * elf/ldconfig.c: Likewise.
69722         * elf/ldd.bash.in: Likewise.
69723         * elf/sprof.c (print_version): Likewise.
69724         * iconv/iconv_prog.c: Likewise.
69725         * iconv/iconvconfig.c: Likewise.
69726         * locale/programs/locale.c: Likewise.
69727         * locale/programs/localedef.c: Likewise.
69728         * malloc/memusage.sh: Likewise.
69729         * malloc/mtrace.pl: Likewise.
69730         * nscd/nscd.c (print_version): Likewise.
69731         * nss/getent.c: Likewise.
69733         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69734         PF_CAIF, and PF_ALG.
69735         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69737 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69739         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69740         (modules-names): Use them.
69741         (ifunc-test-modules, ifunc-pie-tests): Define.
69742         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69743         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69744         (test-extras): Likewise.
69745         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69746         $(compile-command.c).
69747         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69748         (all-built-dso): Define.
69749         (check-textrel.out, check-execstack.out): Depend on it.
69751         * configure.in: Don't override --enable-multi-arch.
69753 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69755         [BZ #6812]
69756         * nscd/hstcache.c (tryagain): Define.
69757         (cache_addhst): Return tryagain not notfound for temporary errors.
69758         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69759         failed.
69761 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69763         [BZ #10563]
69764         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69765         to make the syscall.
69766         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69768         [BZ #12378]
69769         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69770         and fall back to matching as normal character if the string ends before
69771         the matching ']' is found.  This is what POSIX requires.
69772         * posix/testfnm.c: Adjust test result.
69773         * posix/globtest.sh: Adjust test result.  Add new test.
69774         * posix/tst-fnmatch.input: Likewise.
69775         * posix/tst-fnmatch2.c: Add new test.
69777 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69779         * elf/Makefile (check-execstack): Revert last change.  Depend on
69780         check-execstack.h.
69781         (check-execstack.h): New target.
69782         (generated): Add check-execstack.h.
69783         * elf/check-execstack.c: Include "check-execstack.h".
69784         (main): Revert last change.
69785         (handle_file): Return zero if GNU_STACK is absent and
69786         DEFAULT_STACK_PERMS doesn't include PF_X.
69788 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69790         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69791         in child fails because the descriptor is already closed.
69792         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69793         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69794         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69796         [BZ #12397]
69797         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69798         syscall.
69800         [BZ #10484]
69801         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69802         temporary buffer used to handle multi lookups locally.
69803         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69805 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69807         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69808         loader is ld.so.
69810 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69812         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69813         alignment for SSE2.
69815 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69817         [BZ #12394]
69818         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69819         characters.  When rounding increased number of integer digits recompute
69820         number of groups.
69821         * stdio-common/tst-grouping.c: New file.
69822         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69824 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69826         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69827         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69829         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69830         void.
69831         * bits/select.h: Likewise.
69833 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69835         * po/ja.po: Update from translation team.
69837 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69839         [BZ #11155]
69840         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69841         implementation just like for lxstat, fxstatat, et al.
69843 2010-12-27  Jim Meyering  <meyering@redhat.com>
69845         [BZ #12348]
69846         * posix/regexec.c (build_trtable): Return failure indication upon
69847         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69849 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69851         [BZ #12201]
69852         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69853         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69854         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69855         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69857         [BZ #12207]
69858         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69860         [BZ #12204]
69861         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69862         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69864 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69866         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69867         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69868         script has SORT_BY_INIT_PRIORITY.
69869         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69870         NO_CTORS_DTORS_SECTIONS is defined.
69871         * elf/soinit.c: Likewise.
69872         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69873         NO_CTORS_DTORS_SECTIONS is defined.
69874         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69875         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69876         * sysdeps/sh/init-first.c: Likewise.
69877         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69879 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69881         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69882         always use the slow path.
69884 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69886         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69887         similar rule which adds the sysdep directories to the header search in
69888         order to pick up the correct platform stackinfo.h.
69889         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69890         perform test if it is, otherwise return successfully without testing.
69891         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69892         DEFAULT_STACK_PERMS define in stackinfo.h.
69893         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69894         defined in stackinfo.h.
69895         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69896         DEFAULT_STACK_PERMS defined in stackinfo.h.
69897         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69898         * sysdeps/ia64/stackinfo.h: Likewise.
69899         * sysdeps/s390/stackinfo.h: Likewise.
69900         * sysdeps/sh/stackinfo.h: Likewise.
69901         * sysdeps/sparc/stackinfo.h: Likewise.
69902         * sysdeps/x86_64/stackinfo.h: Likewise.
69903         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69904         PF_X for powerpc64.  Retain PF_X for powerpc32.
69906 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69908         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69909         accurately.
69910         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69911         GETDENTS_64BIT_ALIGNED.
69913 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69915         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69917 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69919         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69920         _GNU_SOURCE.
69922         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69923         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69924         Remove __restrict.
69925         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69926         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69928 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69930         [BZ #11655]
69931         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69932         are initialized.
69934 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69936         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69938 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69940         * po/it.po: Update from translation team.
69942 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69944         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69945         unused codes.
69947 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69949         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69951 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69953         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69954         specially.
69955         (gaih_getanswer_slice): Likewise.
69957 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69959         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69961 2010-05-31  Petr Baudis  <pasky@suse.cz>
69963         [BZ #11149]
69964         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69965         silently even in the chroot mode.
69967 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69969         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69970         last patch a bit.  Pretty printing
69972 2010-05-31  Petr Baudis <pasky@suse.cz>
69974         [BZ #10085]
69975         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69976         initialization of skip_initgroups_dyn.
69978 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69980         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69981         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69983 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69985         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69987 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69989         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69990         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69991         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69992         ($(objpfx)tst-fnmatch-mem): New rule.
69993         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69994         * posix/tst-fnmatch.c (main): Call mtrace.
69996 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69998         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69999         Support Intel processor model 6 and model 0x2c.
70001 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70003         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70004           signed comparison.
70006 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70008         [BZ #12205]
70009         * string/test-strncasecmp.c (check_result): New function.
70010         (do_one_test): Use it.
70011         (check1): New function.
70012         (test_main): Use it.
70013         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70014         Support strcasecmp and strncasecmp.
70016 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70018         [BZ #12194]
70019         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70020         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70022 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70024         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70025         IFUNC support.
70026         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70027         memset-x86-64.
70028         * sysdeps/x86_64/multiarch/bzero.S: New file.
70029         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70030         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70031         * sysdeps/x86_64/multiarch/memset.S: New file.
70032         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70034         Set bit_Prefer_SSE_for_memop for Intel processors.
70035         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70036         Define.
70037         (index_Prefer_SSE_for_memop): Define.
70038         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70040 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70042         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70043         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70045 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70047         [BZ #12191]
70048         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70049         (__x86_64_raw_data_cache_size_half): Likewise.
70050         (__x86_64_raw_shared_cache_size): Likewise.
70051         (__x86_64_raw_shared_cache_size_half): Likewise.
70053         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70054         (__x86_64_raw_data_cache_size_half): Likewise.
70055         (__x86_64_raw_shared_cache_size): Likewise.
70056         (__x86_64_raw_shared_cache_size_half): Likewise.
70057         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70058         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70059         and __x86_64_raw_shared_cache_size_half.  Round
70060         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70061         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70062         to multiple of 256 bytes.
70064 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70066         [BZ #12167]
70067         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70068         of inacessible symlinks.  Verify result of symlink before returning it.
70069         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70070         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70072 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70074         * math/math.h (isinf): Fix typo in comment.
70076 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70078         * po/da.po: Update from translation team.
70080 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70082         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70083         is added to the list.
70085 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70086             Ulrich Drepper  <drepper@gmail.com>
70088         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70089         the global list here.  Move code to...
70090         (_dl_add_to_namespace_list): ...here.  New function.
70091         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70092         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70093         * elf/dl-load.c (lose): Don't remove the element from the list.
70094         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70095         (_dl_map_object): Likewise.
70097 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70099         [BZ #12159]
70100         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70101         into all bytes of SSE register.
70102         Patch by Richard Li <richardpku@gmail.com>.
70104 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70106         [BZ #12140]
70107         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70108         perturbing.
70110 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70112         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70113         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70114         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70115         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70117         submachine.
70118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70120 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70122         * include/dlfcn.h (__RTLD_SECURE): Define.
70123         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70124         mode & __RTLD_SECURE instead.
70125         (open_path): Rename preloaded parameter to secure.
70126         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70127         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70128         * elf/dl-deps.c (openaux): Likewise.
70129         * elf/rtld.c (struct map_args): Remove is_preloaded.
70130         (map_doit): Don't use it.
70131         (dl_main): Likewise.
70132         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70133         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70135 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70137         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70138         (sysd-rules-targets): Remove duplicates.
70139         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70140         rtld-%.$o dependency.
70142 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70144         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70145         _dl_map_object do it.
70147 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70149         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70150         fast fma builtins, define the macros in the C99 standard.
70151         (FP_FAST_FMAF): Likewise.
70152         (FP_FAST_FMAL): Likewise.
70153         * sysdeps/x86_64/bits/mathdef.h: Likewise.
70155         * bits/mathdef.h: Update copyright year.
70156         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70158 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70160         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70161         builtins, define the macros in the C99 standard.
70162         (FP_FAST_FMAF): Likewise.
70163         (FP_FAST_FMAL): Likewise.
70164         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70165         multiply/add.
70166         (FP_FAST_FMAF): Likewise.
70168 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70170         [BZ #3268]
70171         * math/libm-test.inc (fma_test): Some new testcases.
70172         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70173         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70174         y and infinite z.  Do multiplication by C already in long double.
70175         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70177         y and infinite z.  Do bitwise or of inexact bit into u.d.
70178         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70179         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70180         * sysdeps/i386/fpu/s_fma.S: Removed.
70181         * sysdeps/i386/fpu/s_fmal.S: Removed.
70183 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70185         [BZ #3268]
70186         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70187         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70188         computation is not scheduled after fetestexcept.  Fix value
70189         of minimum denormal long double.
70191 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70193         [BZ #3268]
70194         * math/libm-test.inc (fma_test): Add some more tests.
70195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70196         correctly.
70198 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70200         * scripts/data/localplt-s390-linux-gnu.data: New file.
70201         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70203 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70205         [BZ #3268]
70206         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70207         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70208         instead of dbl-64.
70209         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70210         inlines.
70211         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70213         if one of x and y is very large and the other is subnormal.
70214         * sysdeps/s390/fpu/s_fmaf.c: New file.
70215         * sysdeps/s390/fpu/s_fma.c: New file.
70216         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70217         * sysdeps/powerpc/fpu/s_fma.S: New file.
70218         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70219         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70220         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70222 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
70224         [BZ #3268]
70225         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70226         fma tests.
70227         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70228         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70229         * sysdeps/i386/i686/multiarch/s_fma.c: Include
70230         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70231         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70232         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70233         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70235 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
70237         [BZ #12078]
70238         * posix/regcomp.c (parse_branch): One more memory leak plugged.
70239         * posix/bug-regex31.input: Add test case.
70241 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70243         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70244         * posix/bug-regex31.input: New file.
70246         [BZ #12078]
70247         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70248         (parse_sub_exp): Fix last change, use postorder.
70250         * posix/bug-regex31.c: New file.
70251         * posix/Makefile: Add rules to build and run bug-regex31.
70253         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70255         [BZ #12078]
70256         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70258         [BZ #12108]
70259         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70260         to have entries in sys_siglist.
70262         [BZ #12093]
70263         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70264         be NULL.
70266 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
70268         [BZ #3268]
70269         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70270         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70271         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70272         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70273         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70274         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70275         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70276         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70277         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70278         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70279         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70280         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70281         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70282         * math/ftestexcept.c (fetestexcept): Likewise.
70283         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70284         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70285         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70286         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70287         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70288         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70289         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70291 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70293         [BZ #12107]
70294         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70295         newline.
70297 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
70299         * string/bug-strstr1.c: New file.
70300         * string/Makefile: Add rules to build and run bug-strstr1.
70302 2010-10-05  Eric Blake  <eblake@redhat.com>
70304         [BZ #12092]
70305         * string/str-two-way.h (two_way_long_needle): Always clear memory
70306         when skipping input due to the shift table.
70308 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
70310         [BZ #12005]
70311         * malloc/mcheck.c: Handle large requests.
70313         [BZ #12077]
70314         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70315         for strncmp and strncasecmp.
70316         * string/stratcliff.c: Add tests for strcmp and strncmp.
70317         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70319 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70321         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70322         __set_fpscr.
70324 2010-09-30  Andreas Jaeger  <aj@suse.de>
70326         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70327         (CGROUP_SUPER_MAGIC): Define.
70328         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70329         Handle btrfs and cgroup file systems.
70330         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70331         Likewise.
70333 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70335         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70336         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70338 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70340         [BZ #12067]
70341         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70342         trying to locate the ELF header.
70344 2010-09-27  Andreas Schwab  <schwab@redhat.com>
70346         [BZ #11611]
70347         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70348         Mask out sign-bit copies when constructing f_fsid.
70350 2010-09-24  Petr Baudis <pasky@suse.cz>
70352         * debug/stack_chk_fail_local.c: Add missing licence exception.
70353         * debug/warning-nop.c: Likewise.
70355 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
70357         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70358         implementing getdents64 using getdents syscall, set d_type if
70359         __ASSUME_GETDENTS32_D_TYPE.
70361 2010-09-16  Andreas Schwab  <schwab@redhat.com>
70363         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70364         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70366 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
70368         [BZ #12037]
70369         * posix/unistd.h: Undo change of feature selection for ftruncate from
70370         2010-01-11.
70372 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
70374         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70375         detection.
70377 2010-09-20  Andreas Schwab  <schwab@redhat.com>
70379         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70380         fanotify_mark.
70381         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70383 2010-09-14  Andreas Schwab  <schwab@redhat.com>
70385         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70386         variables after CHECK_SP call.
70387         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70389 2010-09-13  Andreas Schwab  <schwab@redhat.com>
70390             Ulrich Drepper  <drepper@redhat.com>
70392         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70393         re-relocationg ld.so.
70394         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70395         _dl_init_paths call.
70396         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
70397         here anymore.
70399 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
70401         * resolv/res_init.c (__res_vinit): Count the default server we added.
70403 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
70404             Ulrich Drepper  <drepper@redhat.com>
70406         [BZ #11968]
70407         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70408         (____longjmp_chk): Use %ebx for saving value across system call.
70409         Add unwind info.
70411 2010-09-06  Andreas Schwab  <schwab@redhat.com>
70413         * manual/Makefile: Don't mix pattern rules with normal rules.
70415 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70417         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70418         operation.
70419         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70420         * libio/iofopncook.c (_IO_cookie_init): Likewise.
70421         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70422         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70423         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70424         Likewise.
70426 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
70428         [BZ #11979]
70429         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70430         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70432 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
70434         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70435         * sysdeps/x86_64/addmul_1.S: Likewise.
70436         * sysdeps/x86_64/lshift.S: Likewise.
70437         * sysdeps/x86_64/mul_1.S: Likewise.
70438         * sysdeps/x86_64/rshift.S: Likewise.
70439         * sysdeps/x86_64/sub_n.S: Likewise.
70440         * sysdeps/x86_64/submul_1.S: Likewise.
70442 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70444         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70445         Define __sched_param instead of SCHED_* and sched_param when
70446         <bits/sched.h> is included with __need_schedparam defined.
70447         * bits/sched.h [__need_schedparam]
70448         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70449         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70450         (__defined_schedparam): Define to 1.
70451         (__sched_param): New structure, identical to sched_param.
70452         (__need_schedparam): Undefine.
70454 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
70456         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70457         (epoll_create1): Declare.
70459         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70461 2010-08-31  Andreas Schwab  <schwab@redhat.com>
70463         [BZ #7066]
70464         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70465         shifting retval into place.
70467 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
70469         * nis/rpcsvc/nis.h: Update copyright notice.
70470         * nis/rpcsvc/nis.x: Likewise.
70471         * nis/rpcsvc/nis_callback.h: Likewise.
70472         * nis/rpcsvc/nis_callback.x: Likewise.
70473         * nis/rpcsvc/nis_object.x: Likewise.
70474         * nis/rpcsvc/nis_tags.h: Likewise.
70475         * nis/rpcsvc/yp.h: Likewise.
70476         * nis/rpcsvc/yp.x: Likewise.
70477         * nis/rpcsvc/ypupd.h: Likewise.
70478         * nis/yp_xdr.c: Likewise.
70479         * nis/ypupdate_xdr.c: Likewise.
70481         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
70482         mainly the body of pmap_getport.  Add parameters to specify timeouts.
70483         (pmap_getport): Use __libc_rpc_getport.
70484         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70485         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70486         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70488 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
70490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70491         fanotify_mark.
70493 2010-08-27  Roland McGrath  <roland@redhat.com>
70495         * sysdeps/i386/i686/multiarch/Makefile
70496         (CFLAGS-varshift.c): New variable.
70498 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
70500         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70501         * sysdeps/i386/i686/multiarch/varshift.c: New file.
70503         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70505         * sysdeps/x86_64/strlen.S: Minimal code improvement.
70507 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
70509         * sysdeps/x86_64/strlen.S: Unroll the loop.
70510         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70511         strlen-sse2 strlen-sse2-bsf.
70512         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70513         __strlen_no_bsf if bit_Slow_BSF is set.
70514         (__strlen_sse42): Removed.
70515         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
70516         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
70518 2010-08-25  Roland McGrath  <roland@redhat.com>
70520         * sysdeps/x86_64/multiarch/varshift.S: File removed.
70521         * sysdeps/x86_64/multiarch/varshift.c: New file.
70522         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
70523         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
70524         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
70525         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70527 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
70529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70530         strlen-sse2 strlen-sse2-bsf.
70531         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
70532         __strlen_sse2_bsf if bit_Slow_BSF is unset.
70533         (__strlen_sse2): Removed.
70534         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
70535         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
70536         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
70537         bit_Slow_BSF for Atom.
70538         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
70539         (index_Slow_BSF): Define.
70540         (HAS_SLOW_BSF): Define.
70542 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
70544         [BZ #10851]
70545         * resolv/res_init.c (__res_vinit): When no server address at all
70546         is given default to loopback.
70548 2010-08-24  Roland McGrath  <roland@redhat.com>
70550         * configure.in: Remove config-name.h generation.
70551         * configure: Regenerated.
70552         * config-name.in: File removed.
70553         * scripts/config-uname.sh: New file.
70554         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
70555         ($(objdir)config-name.h): New target.
70557         * sunrpc/rpc_parse.h: Avoid nested comment.
70559 2010-08-24  Richard Henderson  <rth@redhat.com>
70560             Ulrich Drepper  <drepper@redhat.com>
70561             H.J. Lu  <hongjiu.lu@intel.com>
70563         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
70564         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
70565         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
70566         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
70567         _mm_alignr_epi8 with _mm_loadu_si128.
70568         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
70569         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70570         (__m128i_shift_right): Removed.
70571         * sysdeps/i386/i686/multiarch/varshift.h: New file.
70572         * sysdeps/i386/i686/multiarch/varshift.S: New file.
70573         * sysdeps/x86_64/multiarch/varshift.h: New file.
70574         * sysdeps/x86_64/multiarch/varshift.S: New file.
70576 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
70578         * configure.in: Move assembler checks to before sysdep dir checking.
70580 2010-08-20  Petr Baudis  <pasky@suse.cz>
70582         * LICENSES: Sync the sunrpc license.
70584 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
70586         * sunrpc/auth_des.c: Update copyright notice once again.
70587         * sunrpc/auth_none.c: Likewise.
70588         * sunrpc/auth_unix.c: Likewise.
70589         * sunrpc/authdes_prot.c: Likewise.
70590         * sunrpc/authuxprot.c: Likewise.
70591         * sunrpc/bindrsvprt.c: Likewise.
70592         * sunrpc/clnt_gen.c: Likewise.
70593         * sunrpc/clnt_perr.c: Likewise.
70594         * sunrpc/clnt_raw.c: Likewise.
70595         * sunrpc/clnt_simp.c: Likewise.
70596         * sunrpc/clnt_tcp.c: Likewise.
70597         * sunrpc/clnt_udp.c: Likewise.
70598         * sunrpc/clnt_unix.c: Likewise.
70599         * sunrpc/des_crypt.c: Likewise.
70600         * sunrpc/des_soft.c: Likewise.
70601         * sunrpc/get_myaddr.c: Likewise.
70602         * sunrpc/getrpcport.c: Likewise.
70603         * sunrpc/key_call.c: Likewise.
70604         * sunrpc/key_prot.c: Likewise.
70605         * sunrpc/openchild.c: Likewise.
70606         * sunrpc/pm_getmaps.c: Likewise.
70607         * sunrpc/pm_getport.c: Likewise.
70608         * sunrpc/pmap_clnt.c: Likewise.
70609         * sunrpc/pmap_prot.c: Likewise.
70610         * sunrpc/pmap_prot2.c: Likewise.
70611         * sunrpc/pmap_rmt.c: Likewise.
70612         * sunrpc/rpc/auth.h: Likewise.
70613         * sunrpc/rpc/auth_unix.h: Likewise.
70614         * sunrpc/rpc/clnt.h: Likewise.
70615         * sunrpc/rpc/des_crypt.h: Likewise.
70616         * sunrpc/rpc/key_prot.h: Likewise.
70617         * sunrpc/rpc/netdb.h: Likewise.
70618         * sunrpc/rpc/pmap_clnt.h: Likewise.
70619         * sunrpc/rpc/pmap_prot.h: Likewise.
70620         * sunrpc/rpc/pmap_rmt.h: Likewise.
70621         * sunrpc/rpc/rpc.h: Likewise.
70622         * sunrpc/rpc/rpc_des.h: Likewise.
70623         * sunrpc/rpc/rpc_msg.h: Likewise.
70624         * sunrpc/rpc/svc.h: Likewise.
70625         * sunrpc/rpc/svc_auth.h: Likewise.
70626         * sunrpc/rpc/types.h: Likewise.
70627         * sunrpc/rpc/xdr.h: Likewise.
70628         * sunrpc/rpc_clntout.c: Likewise.
70629         * sunrpc/rpc_cmsg.c: Likewise.
70630         * sunrpc/rpc_common.c: Likewise.
70631         * sunrpc/rpc_cout.c: Likewise.
70632         * sunrpc/rpc_dtable.c: Likewise.
70633         * sunrpc/rpc_hout.c: Likewise.
70634         * sunrpc/rpc_main.c: Likewise.
70635         * sunrpc/rpc_parse.c: Likewise.
70636         * sunrpc/rpc_parse.h: Likewise.
70637         * sunrpc/rpc_prot.c: Likewise.
70638         * sunrpc/rpc_sample.c: Likewise.
70639         * sunrpc/rpc_scan.c: Likewise.
70640         * sunrpc/rpc_scan.h: Likewise.
70641         * sunrpc/rpc_svcout.c: Likewise.
70642         * sunrpc/rpc_tblout.c: Likewise.
70643         * sunrpc/rpc_util.c: Likewise.
70644         * sunrpc/rpc_util.h: Likewise.
70645         * sunrpc/rpcinfo.c: Likewise.
70646         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
70647         * sunrpc/rpcsvc/key_prot.x: Likewise.
70648         * sunrpc/rpcsvc/klm_prot.x: Likewise.
70649         * sunrpc/rpcsvc/mount.x: Likewise.
70650         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
70651         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
70652         * sunrpc/rpcsvc/rex.x: Likewise.
70653         * sunrpc/rpcsvc/rstat.x: Likewise.
70654         * sunrpc/rpcsvc/rusers.x: Likewise.
70655         * sunrpc/rpcsvc/sm_inter.x: Likewise.
70656         * sunrpc/rpcsvc/spray.x: Likewise.
70657         * sunrpc/rpcsvc/yppasswd.x: Likewise.
70658         * sunrpc/rtime.c: Likewise.
70659         * sunrpc/svc.c: Likewise.
70660         * sunrpc/svc_auth.c: Likewise.
70661         * sunrpc/svc_authux.c: Likewise.
70662         * sunrpc/svc_raw.c: Likewise.
70663         * sunrpc/svc_run.c: Likewise.
70664         * sunrpc/svc_simple.c: Likewise.
70665         * sunrpc/svc_tcp.c: Likewise.
70666         * sunrpc/svc_udp.c: Likewise.
70667         * sunrpc/svc_unix.c: Likewise.
70668         * sunrpc/svcauth_des.c: Likewise.
70669         * sunrpc/xcrypt.c: Likewise.
70670         * sunrpc/xdr.c: Likewise.
70671         * sunrpc/xdr_array.c: Likewise.
70672         * sunrpc/xdr_float.c: Likewise.
70673         * sunrpc/xdr_mem.c: Likewise.
70674         * sunrpc/xdr_rec.c: Likewise.
70675         * sunrpc/xdr_ref.c: Likewise.
70676         * sunrpc/xdr_sizeof.c: Likewise.
70677         * sunrpc/xdr_stdio.c: Likewise.
70679         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
70680         handling.
70682 2010-08-19  Andreas Schwab  <schwab@redhat.com>
70684         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
70686 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
70688         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
70689         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
70690         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
70691         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
70692         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
70693         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
70694         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
70695         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
70696         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
70697         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
70698         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
70699         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70700         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70701         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70703 2010-07-26  Anton Blanchard  <anton@samba.org>
70705         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70706         * malloc/arena.c (heap_trim): Likewise.
70708 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70710         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70711         here.  Not...
70712         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70713         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70715 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70717         * sysdeps/i386/elf/Makefile: New file.
70719 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70721         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70722         from fanotify_init.
70723         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70724         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70726 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70728         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70729         of strncasecmp_l.
70730         * sysdeps/multiarch/strcmp.S: Likewise.
70732 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70734         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70735         strncase_l-nonascii.
70736         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70737         Add strncase_l-ssse3.
70738         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70739         * sysdeps/x86_64/strcmp.S: Likewise.
70740         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70741         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70742         * sysdeps/x86_64/strncase.S: New file.
70743         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70744         * sysdeps/x86_64/strncase_l.S: New file.
70745         * string/Makefile (strop-tests): Add strncasecmp.
70746         * string/test-strncasecmp.c: New file.
70748         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70749         warning.
70751         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70752         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70754 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70756         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70758 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70760         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70761         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70762         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70764 2010-05-01  Alan Modra  <amodra@gmail.com>
70766         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70767         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70768         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70769         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70770         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70771         tidying.  Don't tail-call __sigjmp_save for static lib.
70772         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70773         save location.
70774         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70775         (CALL_MCOUNT): Add eh info, and nop after bl.
70776         (TAIL_CALL_SYSCALL_ERROR): New macro.
70777         (PSEUDO_RET): Use it.
70778         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70779         Correct save location of integer regs and cr.
70780         (_dl_profile_resolve): Correct cr save location.  Delete nops
70781         after bl when SHARED.  Reduce cfi size a little by better
70782         placement of cfi directives.
70783         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70784         make a stack frame.  Instead use parm save area as a temp.
70785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70786         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70788         Don't make a stack frame for parent, use parm save area.
70789         Increase child stack frame to 112 bytes.  Don't save unused reg,
70790         and adjust reg usage.  Set up cfi on error recovery and
70791         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70793         (__makecontext): Add dummy nop after jump to exit.
70794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70795         Use correct parm save area and cr save, reduce stack frame.
70796         Correct cfi for possible PSEUDO_RET frame setup.
70797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70798         Branch to local label emitted by PSEUDO_RET rather than
70799         __syscall_error.
70801 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70803         [BZ #11904]
70804         * locale/programs/locale.c (print_assignment): New function.
70805         (show_locale_vars): Use it.
70807 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70809         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70810         field.
70811         (struct statfs64): Likewise.
70812         (_STATFS_F_FLAGS): Define.
70813         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70814         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70815         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70816         (ST_VALID): Define locally.
70817         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70818         __statvfs_getflags, use the provided value.
70819         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70820         __ASSUME_STATFS_F_FLAGS.
70822         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70824         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70825         Add sys/fanotify.h.
70826         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70827         fanotify_mask for GLIBC_2.13.
70828         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70829         fanotify_init and fanotify_mark.
70830         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70831         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70833         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70834         Add prlimit.
70835         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70836         prlimit64 for GLIBC_2.13.
70837         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70838         prlimit64.
70839         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70840         syscall.
70841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70842         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70843         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70844         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70845         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70846         add prlimit alias.
70847         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70849         [BZ #11903]
70850         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70851         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70853         * nss/Makefile: Add rules to build and run tst-nss-test1.
70854         * shlib-versions: Add entry for libnss_test1.
70855         * nss/nss_test1.c: New file.
70856         * nss/tst-nss-test1.c: New file.
70858         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70859         (__nss_configure_lookup): Set appropriate entry in
70860         __nss_configure_lookup to true.
70861         * nss/nsswitch.h: Define enum with indeces of databases in
70862         databases and __nss_database_custom arrays.  Declare
70863         __nss_database_custom.
70864         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70865         to avoid using nscd when custom rules are installed.
70866         * nss/getXXbyYY_r.c: Likewise.
70867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70869         * nss/nss_files/files-parse.c: Whitespace fixes.
70871 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70873         [BZ #11883]
70874         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70875         * posix/fnmatch_loop.c: Likewise.
70877 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70879         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70880         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70881         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70882         * Versions.def [GLIBC_2.13]: Add.
70884 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70886         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70887         Also fail if tpwd after pwuid call is NULL.
70889 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70891         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70892         when converting to ms.
70894 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70896         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70897         EOPNOTSUPP errors with ENOTTY.
70898         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70899         EOPNOTSUPP errors with ENOTTY.
70901 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70903         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70904         Add strcasecmp_l-ssse3.
70905         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70906         strcasecmp.
70907         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70908         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70909         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70911 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70913         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70915         * string/Makefile (strop-tests): Add strcasecmp.
70916         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70917         strcasecmp_l-nonascii.
70918         (gen-as-const-headers): Add locale-defines.sym.
70919         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70920         * sysdeps/x86_64/strcasecmp.S: New file.
70921         * sysdeps/x86_64/strcasecmp_l.S: New file.
70922         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70923         * sysdeps/x86_64/locale-defines.sym: New file.
70924         * string/test-strcasecmp.c: New file.
70926         * string/test-strcasestr.c: Test both ends of the range of characters.
70927         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70929 2010-07-29  Roland McGrath  <roland@redhat.com>
70931         [BZ #11856]
70932         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70934 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70936         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70937         for ld.so.
70939 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70941         * manual/memory.texi (Malloc Tunable Parameters): Document
70942         M_PERTURB.
70944 2010-07-26  Roland McGrath  <roland@redhat.com>
70946         [BZ #11840]
70947         * configure.in (-fgnu89-inline check): Set and substitute
70948         gnu89_inline, not libc_cv_gnu89_inline.
70949         * configure: Regenerated.
70950         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70952 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70954         * string/test-strnlen.c: New file.
70955         * string/Makefile (strop-tests): Add strnlen.
70956         * string/tester.c (test_strnlen): Add a few more test cases.
70957         * string/tst-strlen.c: Better error reporting.
70959         * sysdeps/x86_64/strnlen.S: New file.
70961 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70963         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70964         lower-latency instructions.
70966 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70968         * string/test-strcasestr.c: New file.
70969         * string/test-strstr.c: New file.
70970         * string/Makefile (strop-tests): Add strstr and strcasestr.
70971         * string/str-two-way.h: Don't undefine MAX.
70972         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70974 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70976         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70977         strcasestr-nonascii.
70978         (CFLAGS-strcasestr-nonascii.c): Define.
70979         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70980         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70981         Remove unused attribute.
70983 2010-07-20  Roland McGrath  <roland@redhat.com>
70985         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70986         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70987         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70988         like LD_HWCAP_MASK can disable hwcaps.
70990 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70992         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70994 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70996         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70997         call in strcasestr.
70998         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70999         __strcasestr_sse42_nonascii.
71000         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71001         strcasestr-nonascii.c.
71002         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71004 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71006         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71007         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71008         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71009         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71011 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71013         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71014         fcntl.
71016 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71018         [BZ #11577]
71019         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71020         dl_signal_cerror.
71022 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71024         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71025         _PC_PIPE_BUF using F_GETPIPE_SZ.
71027 2010-07-05  Roland McGrath  <roland@redhat.com>
71029         * manual/arith.texi (Rounding Functions): Fix rint description
71030         implicit in round description.
71032 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71034         * elf/Makefile: Fix linking for a few tests to make recent linker
71035         happy.
71037 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71039         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71040         $(common-objpfx)libc_nonshared.a.
71042 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71044         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71045         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71046         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71047         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71048         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71049         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71050         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71051         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71066         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71067         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71068         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71069         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71070         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71071         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71072         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71073         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71074         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71075         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71076         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71077         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71093 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71095         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71096         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71097         * string/memmove.c (memmove): Renamed to ...
71098         (MEMMOVE): ...this.  Default to memmove.
71099         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71100         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71101         (END_CHK): Define.
71102         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71103         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71104         mempcpy-ssse3-back memmove-ssse3-back.
71105         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71106         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71107         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71108         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71109         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71110         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71111         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71112         * sysdeps/x86_64/multiarch/memmove.c: New file.
71113         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71114         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71115         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71116         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71117         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71118         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71119         Define.
71120         (index_Fast_Copy_Backward): Define.
71121         (HAS_ARCH_FEATURE): Define.
71122         (HAS_FAST_REP_STRING): Define.
71123         (HAS_FAST_COPY_BACKWARD): Define.
71125 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71127         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71128         Restore proper fallback handling.
71130 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71132         [BZ #11701]
71133         * posix/group_member.c (__group_member): Correct checking loop.
71135         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71136         OOM in getpwuid_r correctly.  Return error number when the caller
71137         should return, otherwise -1.
71138         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71139         call returning > 0 value.
71140         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71142 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71144         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71145         libc_nonshared.a from targets in modules-names.
71147 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71149         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71150         requires it.
71152 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
71154         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71155         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71156         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71157         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71159 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71161         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71163 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71165         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71166         and F_GETPIPE_SZ.
71167         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71168         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71170         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71171         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71172         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71174 2010-06-14  Roland McGrath  <roland@redhat.com>
71176         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71178 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71180         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71181         __REDIRECT followed by __THROW.
71182         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71183         * posix/getopt.h (getopt): Likewise.
71185 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71187         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71188         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71189         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71190         in AT_FLAGS.
71191         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71192         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71194 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71196         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71198 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71200         [BZ #11640]
71201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71202         Properly check family and model.
71204 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71206         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71208 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71210         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71212 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71214         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71215         symbol reference.
71217 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71219         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71220         symbol reference.
71222 2010-05-21  Andreas Schwab  <schwab@redhat.com>
71224         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71225         and internal_recvmmsg.
71226         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71227         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71228         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71229         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71231         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71232         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71233         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71235 2010-05-20  Andreas Schwab  <schwab@redhat.com>
71237         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71239 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
71241         POWER7 optimizations.
71242         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71243         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71245 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
71247         * version.h: Update for 2.13 development version.
71249 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
71251         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71252         exceptions.  Return 0.
71254 2010-05-07  Roland McGrath  <roland@redhat.com>
71256         * elf/ldconfig.c (main): Add a const.
71258 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
71260         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71261         (args_options): Add no-idn option.
71262         (ahosts_keys_int): Add idn_flags to ai_flags.
71263         (parse_option): Handle 'i' option to clear idn_flags.
71265         * malloc/malloc.c (_int_free): Possible race in the most recently
71266         added check.  Only act on the data if no current modification
71267         happened.
71269 See ChangeLog.17 for earlier changes.